Skip to content

Commit

Permalink
we dont have to set the global tag for the educational samples, which…
Browse files Browse the repository at this point in the history
… simplifies running the code
  • Loading branch information
stwunsch committed Feb 27, 2020
1 parent 04963b5 commit 3d49fc4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions configs/data_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
process = cms.Process("AOD2NanoAOD")
process.load("Configuration.Geometry.GeometryIdeal_cff")
process.load("Configuration.StandardSequences.MagneticField_cff")
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
#process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')

process.load("FWCore.MessageLogger.MessageLogger_cfi")
process.MessageLogger.cerr.threshold = "WARNING"
Expand All @@ -30,7 +30,8 @@
"PoolSource", fileNames=cms.untracked.vstring(*files))

# Set global tag
process.GlobalTag.globaltag = "FT_R_53_V18::All"
# We don't have set the global tag for the educational samples. This simplifies running the code since we don't have to access the database.
#process.GlobalTag.globaltag = "FT_R_53_V18::All"

# Apply JSON file with lumi mask (needs to be done after the process.source definition)
goodJSON = "data/Cert_190456-208686_8TeV_22Jan2013ReReco_Collisions12_JSON.txt"
Expand Down
5 changes: 3 additions & 2 deletions configs/simulation_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
process = cms.Process("AOD2NanoAOD")
process.load("Configuration.Geometry.GeometryIdeal_cff")
process.load("Configuration.StandardSequences.MagneticField_cff")
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
#process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')

process.load("FWCore.MessageLogger.MessageLogger_cfi")
process.MessageLogger.cerr.threshold = "WARNING"
Expand All @@ -23,7 +23,8 @@
"PoolSource", fileNames=cms.untracked.vstring(*files))

# Set global tag
process.GlobalTag.globaltag = "START53_V27::All"
# We don't have set the global tag for the educational samples. This simplifies running the code since we don't have to access the database.
#process.GlobalTag.globaltag = "START53_V27::All"

# Number of events to be skipped (0 by default)
process.source.skipEvents = cms.untracked.uint32(0)
Expand Down

0 comments on commit 3d49fc4

Please sign in to comment.