1 |
bendavid |
1.1 |
import FWCore.ParameterSet.Config as cms
|
2 |
|
|
|
3 |
paus |
1.5 |
process = cms.Process('FILEFI')
|
4 |
bendavid |
1.1 |
|
5 |
|
|
# import of standard configurations
|
6 |
|
|
process.load('Configuration/StandardSequences/Services_cff')
|
7 |
|
|
process.load('FWCore/MessageService/MessageLogger_cfi')
|
8 |
|
|
process.load('Configuration/StandardSequences/MixingNoPileUp_cff')
|
9 |
|
|
process.load('Configuration/StandardSequences/GeometryIdeal_cff')
|
10 |
|
|
process.load('Configuration/StandardSequences/MagneticField_38T_cff')
|
11 |
|
|
process.load('Configuration/StandardSequences/Digi_cff')
|
12 |
|
|
process.load('Configuration/StandardSequences/SimL1Emulator_cff')
|
13 |
|
|
process.load('Configuration/StandardSequences/DigiToRaw_cff')
|
14 |
|
|
process.load('Configuration/StandardSequences/RawToDigi_cff')
|
15 |
|
|
process.load('Configuration/StandardSequences/L1Reco_cff')
|
16 |
|
|
process.load('Configuration/StandardSequences/Reconstruction_cff')
|
17 |
|
|
process.load('Configuration/StandardSequences/EndOfProcess_cff')
|
18 |
|
|
process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
|
19 |
|
|
process.load('Configuration/EventContent/EventContent_cff')
|
20 |
|
|
|
21 |
|
|
process.configurationMetadata = cms.untracked.PSet(
|
22 |
paus |
1.8 |
version = cms.untracked.string('Mit_029'),
|
23 |
paus |
1.5 |
annotation = cms.untracked.string('redigiReRecoNoPixels'),
|
24 |
|
|
name = cms.untracked.string('BambuProduction')
|
25 |
bendavid |
1.1 |
)
|
26 |
|
|
process.options = cms.untracked.PSet(
|
27 |
paus |
1.5 |
Rethrow = cms.untracked.vstring('ProductNotFound'),
|
28 |
|
|
fileMode = cms.untracked.string('NOMERGE'),
|
29 |
bendavid |
1.1 |
)
|
30 |
paus |
1.5 |
|
31 |
bendavid |
1.1 |
# Input source
|
32 |
|
|
process.source = cms.Source("PoolSource",
|
33 |
paus |
1.5 |
fileNames = cms.untracked.vstring('file:/build/bendavid/RAW/MinBias900GeV334Startup/FA1C6DA5-0FD7-DE11-A2BC-00304867901A.root')
|
34 |
bendavid |
1.1 |
)
|
35 |
paus |
1.5 |
process.source.inputCommands = cms.untracked.vstring("keep *",
|
36 |
|
|
"drop *_MEtoEDMConverter_*_*",
|
37 |
|
|
"drop L1GlobalTriggerObjectMapRecord_hltL1GtObjectMap__HLT")
|
38 |
bendavid |
1.1 |
|
39 |
|
|
# Other statements
|
40 |
paus |
1.8 |
process.GlobalTag.globaltag = 'GR_P_V40::All'
|
41 |
bendavid |
1.1 |
|
42 |
|
|
#remove pixel detector at digi level
|
43 |
|
|
process.DigiToRaw.remove(process.siPixelRawData)
|
44 |
|
|
|
45 |
|
|
process.add_(cms.Service("ObjectService"))
|
46 |
|
|
|
47 |
|
|
process.load("MitProd.BAMBUSequences.BambuFillRECOSIM_cfi")
|
48 |
|
|
|
49 |
|
|
process.MitTreeFiller.TreeWriter.fileName = 'XX-MITDATASET-XX'
|
50 |
|
|
|
51 |
bendavid |
1.2 |
#loosen conversion producer pre-selection
|
52 |
|
|
process.mvfTrackerConversions.rhoMin = 0.1
|
53 |
|
|
|
54 |
bendavid |
1.1 |
#hack pixelLess tracking back (present in special startup MC samples)
|
55 |
|
|
process.MitTreeFiller.PixelLessTracks.active = True
|
56 |
|
|
|
57 |
|
|
# Path and EndPath definitions
|
58 |
paus |
1.5 |
process.digitisation_step = cms.Path(process.pdigi)
|
59 |
|
|
process.L1simulation_step = cms.Path(process.SimL1Emulator)
|
60 |
|
|
process.digi2raw_step = cms.Path(process.DigiToRaw)
|
61 |
|
|
process.raw2digi_step = cms.Path(process.RawToDigi)
|
62 |
|
|
process.L1Reco_step = cms.Path(process.L1Reco)
|
63 |
bendavid |
1.1 |
process.reconstruction_step = cms.Path(process.reconstruction_withPixellessTk)
|
64 |
paus |
1.5 |
process.bambu_step = cms.Path(process.BambuFillRECOSIM)
|
65 |
bendavid |
1.1 |
|
66 |
|
|
# Schedule definition
|
67 |
paus |
1.5 |
process.schedule = cms.Schedule(process.digitisation_step,
|
68 |
|
|
process.L1simulation_step,
|
69 |
|
|
process.digi2raw_step,
|
70 |
|
|
process.raw2digi_step,
|
71 |
|
|
process.L1Reco_step,
|
72 |
|
|
process.reconstruction_step,
|
73 |
|
|
process.bambu_step)
|