CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ReconstructionCosmics_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 #
3 # luminosity
4 #
6 # no bunchspacing in cosmics
7 bunchSpacingProducer.overrideBunchSpacing= cms.bool(True)
8 bunchSpacingProducer.bunchSpacingOverride= cms.uint32(50)
9 
10 #
11 # tracker
12 #
18 
19 #
20 # calorimeters
21 #
24 #
25 # muons
26 #
29 
30 # primary vertex
32 
33 #
34 # jets and met
35 #
39 
40 #
41 ## egamma
42 #
44 
45 # local reco
46 trackerCosmicsTask = cms.Task(offlineBeamSpot,trackerlocalrecoTask,MeasurementTrackerEvent,tracksP5Task)
47 trackerCosmics = cms.Sequence(trackerCosmicsTask)
48 caloCosmicsTask = cms.Task(calolocalrecoTaskCosmics,ecalClustersCosmicsTask)
49 caloCosmics = cms.Sequence(caloCosmicsTask)
50 caloCosmics_HcalNZSTask = cms.Task(calolocalrecoTaskCosmicsNZS,ecalClustersCosmicsTask)
51 caloCosmics_HcalNZS = cms.Sequence(caloCosmics_HcalNZSTask)
52 muonsLocalRecoCosmicsTask = cms.Task(muonlocalrecoTask,muonlocalrecoT0SegTask)
53 muonsLocalRecoCosmics = cms.Sequence(muonsLocalRecoCosmicsTask)
54 
55 localReconstructionCosmicsTask = cms.Task(bunchSpacingProducer,trackerCosmicsTask,caloCosmicsTask,muonsLocalRecoCosmicsTask,vertexrecoCosmicsTask)
56 localReconstructionCosmics = cms.Sequence(localReconstructionCosmicsTask)
57 localReconstructionCosmics_HcalNZSTask = cms.Task(bunchSpacingProducer,trackerCosmicsTask,caloCosmics_HcalNZSTask,muonsLocalRecoCosmicsTask,vertexrecoCosmicsTask)
58 localReconstructionCosmics_HcalNZS = cms.Sequence(localReconstructionCosmics_HcalNZSTask)
59 
60 
61 # global reco
62 muonsCosmicsTask = cms.Task(muonRecoGRTask)
63 jetsCosmicsTask = cms.Task(recoCaloTowersGRTask,recoJetsGRTask)
64 egammaCosmicsTask = cms.Task(egammarecoGlobal_cosmicsTask,egammarecoCosmics_woElectronsTask)
65 
66 
68 
69 
70 reconstructionCosmicsTask = cms.Task(localReconstructionCosmicsTask,
71  beamhaloTracksTask,
72  jetsCosmicsTask,
73  muonsCosmicsTask,
74  regionalCosmicTracksTask,
75  cosmicDCTracksSeqTask,
76  metrecoCosmicsTask,
77  egammaCosmicsTask,
78  logErrorHarvester)
79 reconstructionCosmics = cms.Sequence(reconstructionCosmicsTask)
80 #logErrorHarvester should only wait for items produced in the reconstructionCosmics sequence
81 _modulesInReconstruction = list()
82 reconstructionCosmics.visit(cms.ModuleNamesFromGlobalsVisitor(globals(),_modulesInReconstruction))
83 logErrorHarvester.includeModules = cms.untracked.vstring(sorted(set(_modulesInReconstruction)))
84 
85 reconstructionCosmics_HcalNZSTask = cms.Task(localReconstructionCosmics_HcalNZSTask,
86  beamhaloTracksTask,
87  jetsCosmicsTask,
88  muonsCosmicsTask,
89  regionalCosmicTracksTask,
90  cosmicDCTracksSeqTask,
91  metrecoCosmicsTask,
92  egammaCosmicsTask,
93  logErrorHarvester)
94 reconstructionCosmics_HcalNZS = cms.Sequence(reconstructionCosmics_HcalNZSTask)
95 reconstructionCosmics_woTkBHMTask = cms.Task(localReconstructionCosmicsTask,
96  jetsCosmicsTask,
97  muonsCosmicsTask,
98  regionalCosmicTracksTask,
99  cosmicDCTracksSeqTask,
100  metrecoCosmicsTask,
101  egammaCosmicsTask)
102 reconstructionCosmics_woTkBHM = cms.Sequence(reconstructionCosmics_woTkBHMTask)