5 |
|
# 2 -> IDEAL |
6 |
|
# 3 -> SAGITTA |
7 |
|
# 4 -> TWIST |
8 |
< |
IPHC_GEOM=4 |
8 |
> |
IPHC_GEOM=1 |
9 |
|
|
10 |
|
process = cms.Process("Demo") |
11 |
|
process.load("FWCore.MessageService.MessageLogger_cfi") |
12 |
|
process.MessageLogger.cerr.FwkReport.reportEvery = 50 |
13 |
|
|
14 |
|
#name of the output file containing the tree |
15 |
< |
process.TFileService = cms.Service("TFileService", fileName = cms.string("twist.root") ) |
15 |
> |
if IPHC_GEOM==1: |
16 |
> |
IPHC_FILENAME="startup.root" |
17 |
> |
elif IPHC_GEOM==2: |
18 |
> |
IPHC_FILENAME="ideal.root" |
19 |
> |
elif IPHC_GEOM==3: |
20 |
> |
IPHC_FILENAME="sagitta.root" |
21 |
> |
elif IPHC_GEOM==4: |
22 |
> |
IPHC_FILENAME="twist.root" |
23 |
> |
else: |
24 |
> |
IPHC_FILENAME="unknown.root" |
25 |
> |
process.TFileService = cms.Service("TFileService", fileName = cms.string(IPHC_FILENAME)) |
26 |
|
|
27 |
|
process.load( "RecoTracker.Configuration.RecoTracker_cff" ) |
28 |
|
process.load( "Configuration.StandardSequences.Services_cff" ) |