CMS 3D CMS Logo

ReconstructionCosmics_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 #
3 # luminosity
4 #
7 # no bunchspacing in cosmics
8 bunchSpacingProducer.overrideBunchSpacing= cms.bool(True)
9 bunchSpacingProducer.bunchSpacingOverride= cms.uint32(50)
10 
11 #
12 # tracker
13 #
19 
20 #
21 # calorimeters
22 #
25 #
26 # muons
27 #
30 
31 # primary vertex
33 
34 #
35 # jets and met
36 #
40 
41 #
42 
45 
46 # local reco
47 trackerCosmicsTask = cms.Task(offlineBeamSpot,trackerlocalrecoTask,MeasurementTrackerEvent,tracksP5Task)
48 trackerCosmics = cms.Sequence(trackerCosmicsTask)
49 caloCosmicsTask = cms.Task(calolocalrecoTaskCosmics,ecalClustersCosmicsTask)
50 caloCosmics = cms.Sequence(caloCosmicsTask)
51 caloCosmics_HcalNZSTask = cms.Task(calolocalrecoTaskCosmicsNZS,ecalClustersCosmicsTask)
52 caloCosmics_HcalNZS = cms.Sequence(caloCosmics_HcalNZSTask)
53 muonsLocalRecoCosmicsTask = cms.Task(muonlocalrecoTask,muonlocalrecoT0SegTask)
54 muonsLocalRecoCosmics = cms.Sequence(muonsLocalRecoCosmicsTask)
55 
56 localReconstructionCosmicsTask = cms.Task(bunchSpacingProducer,trackerCosmicsTask,caloCosmicsTask,muonsLocalRecoCosmicsTask,vertexrecoCosmicsTask,lumiProducer)
57 localReconstructionCosmics = cms.Sequence(localReconstructionCosmicsTask)
58 localReconstructionCosmics_HcalNZSTask = cms.Task(bunchSpacingProducer,trackerCosmicsTask,caloCosmics_HcalNZSTask,muonsLocalRecoCosmicsTask,vertexrecoCosmicsTask,lumiProducer)
59 localReconstructionCosmics_HcalNZS = cms.Sequence(localReconstructionCosmics_HcalNZSTask)
60 
61 
62 # global reco
63 muonsCosmicsTask = cms.Task(muonRecoGRTask)
64 jetsCosmicsTask = cms.Task(recoCaloTowersGRTask,recoJetsGRTask)
65 egammaCosmicsTask = cms.Task(egammarecoGlobal_cosmicsTask,egammarecoCosmics_woElectronsTask)
66 
67 
69 
70 
71 reconstructionCosmicsTask = cms.Task(localReconstructionCosmicsTask,
72  beamhaloTracksTask,
73  jetsCosmicsTask,
74  muonsCosmicsTask,
75  regionalCosmicTracksTask,
76  cosmicDCTracksSeqTask,
77  metrecoCosmicsTask,
78  egammaCosmicsTask,
79  logErrorHarvester)
80 reconstructionCosmics = cms.Sequence(reconstructionCosmicsTask)
81 #logErrorHarvester should only wait for items produced in the reconstructionCosmics sequence
82 _modulesInReconstruction = list()
83 reconstructionCosmics.visit(cms.ModuleNamesFromGlobalsVisitor(globals(),_modulesInReconstruction))
84 logErrorHarvester.includeModules = cms.untracked.vstring(set(_modulesInReconstruction))
85 
86 reconstructionCosmics_HcalNZSTask = cms.Task(localReconstructionCosmics_HcalNZSTask,
87  beamhaloTracksTask,
88  jetsCosmicsTask,
89  muonsCosmicsTask,
90  regionalCosmicTracksTask,
91  cosmicDCTracksSeqTask,
92  metrecoCosmicsTask,
93  egammaCosmicsTask,
94  logErrorHarvester)
95 reconstructionCosmics_HcalNZS = cms.Sequence(reconstructionCosmics_HcalNZSTask)
96 reconstructionCosmics_woTkBHMTask = cms.Task(localReconstructionCosmicsTask,
97  jetsCosmicsTask,
98  muonsCosmicsTask,
99  regionalCosmicTracksTask,
100  cosmicDCTracksSeqTask,
101  metrecoCosmicsTask,
102  egammaCosmicsTask)
103 reconstructionCosmics_woTkBHM = cms.Sequence(reconstructionCosmics_woTkBHMTask)
RecoEgammaCosmics_cff
egamma
bunchSpacingProducer_cfi
RecoEcalCosmics_cff
RecoCaloTowersGR_cff
RecoMuonCosmics_cff
RecoMET_Cosmics_cff
RecoLocalTracker_Cosmics_cff
lumiProducer_cff
RecoJetsGR_cff
RecoLocalMuonCosmics_cff
RecoLocalCalo_Cosmics_cff
RecoTrackerP5_cff
RecoTrackerBHM_cff
logErrorHarvester_cfi
BeamSpot_cff
MeasurementTrackerEventProducer_cfi
RecoVertexCosmicTracks_cff