Skip to content

Commit

Permalink
simplified test configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna committed Nov 16, 2015
1 parent 598c431 commit 3d7ab64
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 31 deletions.
15 changes: 2 additions & 13 deletions HeavyIonsAnalysis/EventAnalysis/test/hiEvtAnalyzer_data_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

process.source = cms.Source("PoolSource",
duplicateCheckMode = cms.untracked.string("noDuplicateCheck"),
fileNames = cms.untracked.vstring('root://xrootd.unl.edu//store/user/tuos/HIAOD2015/round3/June01/MB/HIMinBiasUPC/MB_AOD_DATA750pre5_round3v01/150601_201116/0000/step2_RAW2DIGI_L1Reco_MB_AOD_1.root'),
fileNames = cms.untracked.vstring('file:test.root'),
)

process.maxEvents = cms.untracked.PSet(
Expand All @@ -20,20 +20,9 @@
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
from Configuration.AlCa.GlobalTag import GlobalTag

process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run1_data', '')
process.GlobalTag.snapshotTime = cms.string("9999-12-31 23:59:59.000")
process.GlobalTag.toGet.extend([
cms.PSet(record = cms.string("HeavyIonRcd"),
tag = cms.string("CentralityTable_HFtowers200_Glauber2010A_eff99_run1v750x01_offline"),
connect = cms.string("frontier://FrontierProd/CMS_CONDITIONS"),
label = cms.untracked.string("HFtowers")
),
])
process.GlobalTag = GlobalTag(process.GlobalTag, '75X_dataRun2_v6', '')

process.load("RecoHI.HiCentralityAlgos.CentralityBin_cfi")
process.centralityBin.Centrality = cms.InputTag("hiCentrality")
process.centralityBin.centralityVariable = cms.string("HFtowers")
process.centralityBin.nonDefaultGlauberModel = cms.string("")

process.TFileService = cms.Service("TFileService",
fileName=cms.string("eventtree_filtered_data.root"))
Expand Down
24 changes: 6 additions & 18 deletions HeavyIonsAnalysis/EventAnalysis/test/hiEvtAnalyzer_mc_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

process.source = cms.Source("PoolSource",
duplicateCheckMode = cms.untracked.string("noDuplicateCheck"),
fileNames = cms.untracked.vstring('root://xrootd.unl.edu//store/user/tuos/HIAOD2015/round3/June01/HydjetMBRECO/Hydjet_Quenched_MinBias_5020GeV/HydjetMB_RECO_750pre5_round3v01/150618_204846/0000/step2_RAW2DIGI_L1Reco_MB_RECOSIM_1.root'),
fileNames = cms.untracked.vstring('root://xrootd.unl.edu//store/user/twang/Hydjet_Quenched_MinBias_5020GeV_750/Hydjet_Quenched_MinBias_5020GeV_750_HiFall15_step3_20151110/8279ae7c7b9873cb2e7129d3c6d86a22/step3_RAW2DIGI_L1Reco_RECO_1000_1_Qj2.root'),
)

process.maxEvents = cms.untracked.PSet(
Expand All @@ -20,26 +20,14 @@
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
from Configuration.AlCa.GlobalTag import GlobalTag

process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc_hi', '')
process.GlobalTag.snapshotTime = cms.string("9999-12-31 23:59:59.000")
process.GlobalTag.toGet.extend([
cms.PSet(record = cms.string("HeavyIonRcd"),
tag = cms.string("CentralityTable_HFtowers200_HydjetDrum5_v750x02_mc"),
connect = cms.string("frontier://FrontierProd/CMS_CONDITIONS"),
label = cms.untracked.string("HFtowersHydjetDrum5")
),
])

process.load("RecoHI.HiCentralityAlgos.CentralityBin_cfi")
process.centralityBin.Centrality = cms.InputTag("hiCentrality")
process.centralityBin.centralityVariable = cms.string("HFtowers")
process.centralityBin.nonDefaultGlauberModel = cms.string("HydjetDrum5")
process.GlobalTag = GlobalTag(process.GlobalTag, '75X_mcRun2_HeavyIon_v8', '')

process.load("RecoHI.HiCentralityAlgos.CentralityBin_cfi")

process.TFileService = cms.Service("TFileService",
fileName=cms.string("eventtree_mc.root"))

process.load('GeneratorInterface.HiGenCommon.HeavyIon_cff') #because of this it only runs on RECO now

process.load('HeavyIonsAnalysis.EventAnalysis.hievtanalyzer_mc_cfi')
process.hiEvtAnalyzer.doMC = cms.bool(False) # because heavyIon gen event is not yet in AOD

process.p = cms.Path(process.heavyIon * process.centralityBin * process.hiEvtAnalyzer)
process.p = cms.Path(process.centralityBin * process.hiEvtAnalyzer)

0 comments on commit 3d7ab64

Please sign in to comment.