CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Reconstruction_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
12 siPixelClusterShapeCachePreSplitting = siPixelClusterShapeCache.clone(
13  src = 'siPixelClustersPreSplitting'
14  )
15 
16 # Global reco
21 # Higher level objects
25 
26 
30 #
31 # please understand that division global,highlevel is completely fake !
32 #
33 #local reconstruction
36 #
37 # new tau configuration
38 #
40 # Also BeamSpot
42 
44 
45 localreco = cms.Sequence(trackerlocalreco+muonlocalreco+calolocalreco+castorreco)
46 localreco_HcalNZS = cms.Sequence(trackerlocalreco+muonlocalreco+calolocalrecoNZS+castorreco)
47 
48 #
49 # temporarily switching off recoGenJets; since this are MC and wil be moved to a proper sequence
50 #
51 
54 
55 globalreco = cms.Sequence(offlineBeamSpot*
56  MeasurementTrackerEventPreSplitting* # unclear where to put this
57  siPixelClusterShapeCachePreSplitting* # unclear where to put this
58  standalonemuontracking*
59  trackingGlobalReco*
60  vertexreco*
61  hcalGlobalRecoSequence*
62  particleFlowCluster*
63  ecalClusters*
64  caloTowersRec*
65  egammaGlobalReco*
66  jetGlobalReco*
67  muonGlobalReco*
68  pfTrackingGlobalReco*
69  muoncosmicreco*
70  CastorFullReco)
71 
72 globalreco_plusPL= cms.Sequence(globalreco*ctfTracksPixelLess)
73 
74 
75 reducedRecHits = cms.Sequence ( reducedEcalRecHitsSequence * reducedHcalRecHitsSequence )
76 
77 highlevelreco = cms.Sequence(egammaHighLevelRecoPrePF*
78  particleFlowReco*
79  egammaHighLevelRecoPostPF*
80  muoncosmichighlevelreco*
81  muonshighlevelreco *
82  particleFlowLinks*
83  jetHighLevelReco*
84  metrecoPlusHCALNoise*
85  btagging*
86  recoPFMET*
87  PFTau*
88  reducedRecHits
89  )
90 
91 
93 
94 # "Export" Section
95 reconstruction = cms.Sequence(bunchSpacingProducer*localreco*globalreco*highlevelreco*logErrorHarvester)
96 
97 #need a fully expanded sequence copy
98 modulesToRemove = list() # copy does not work well
99 noTrackingAndDependent = list()
100 noTrackingAndDependent.append(siPixelClustersPreSplitting)
101 noTrackingAndDependent.append(siStripZeroSuppression)
102 noTrackingAndDependent.append(siStripClusters)
103 noTrackingAndDependent.append(initialStepSeedLayersPreSplitting)
104 noTrackingAndDependent.append(initialStepSeedsPreSplitting)
105 noTrackingAndDependent.append(initialStepTrackCandidatesPreSplitting)
106 noTrackingAndDependent.append(initialStepTracksPreSplitting)
107 noTrackingAndDependent.append(firstStepPrimaryVerticesPreSplitting)
108 noTrackingAndDependent.append(initialStepTrackRefsForJetsPreSplitting)
109 noTrackingAndDependent.append(caloTowerForTrkPreSplitting)
110 noTrackingAndDependent.append(ak4CaloJetsForTrkPreSplitting)
111 noTrackingAndDependent.append(jetsForCoreTrackingPreSplitting)
112 noTrackingAndDependent.append(siPixelClusterShapeCachePreSplitting)
113 noTrackingAndDependent.append(siPixelClusters)
114 noTrackingAndDependent.append(clusterSummaryProducer)
115 noTrackingAndDependent.append(siPixelRecHitsPreSplitting)
116 noTrackingAndDependent.append(MeasurementTrackerEventPreSplitting)
117 modulesToRemove.append(dt1DRecHits)
118 modulesToRemove.append(dt1DCosmicRecHits)
119 modulesToRemove.append(csc2DRecHits)
120 modulesToRemove.append(rpcRecHits)
121 #modulesToRemove.append(ecalGlobalUncalibRecHit)
122 modulesToRemove.append(ecalMultiFitUncalibRecHit)
123 modulesToRemove.append(ecalDetIdToBeRecovered)
124 modulesToRemove.append(ecalRecHit)
125 modulesToRemove.append(ecalCompactTrigPrim)
126 modulesToRemove.append(ecalTPSkim)
127 modulesToRemove.append(ecalPreshowerRecHit)
128 modulesToRemove.append(selectDigi)
129 modulesToRemove.append(hbheprereco)
130 modulesToRemove.append(hbhereco)
131 modulesToRemove.append(hfreco)
132 modulesToRemove.append(horeco)
133 modulesToRemove.append(hcalnoise)
134 modulesToRemove.append(zdcreco)
135 modulesToRemove.append(castorreco)
136 ##it's OK according to Ronny modulesToRemove.append(CSCHaloData)#needs digis
137 reconstruction_fromRECO = reconstruction.copyAndExclude(modulesToRemove+noTrackingAndDependent)
138 noTrackingAndDependent.append(siPixelRecHitsPreSplitting)
139 noTrackingAndDependent.append(siStripMatchedRecHits)
140 noTrackingAndDependent.append(pixelTracks)
141 noTrackingAndDependent.append(ckftracks)
142 reconstruction_fromRECO_noTrackingTest = reconstruction.copyAndExclude(modulesToRemove+noTrackingAndDependent)
143 ##requires generalTracks trajectories
144 noTrackingAndDependent.append(trackerDrivenElectronSeeds)
145 noTrackingAndDependent.append(ecalDrivenElectronSeeds)
146 noTrackingAndDependent.append(uncleanedOnlyElectronSeeds)
147 noTrackingAndDependent.append(uncleanedOnlyElectronCkfTrackCandidates)
148 noTrackingAndDependent.append(uncleanedOnlyElectronGsfTracks)
149 noTrackingAndDependent.append(uncleanedOnlyGeneralConversionTrackProducer)
150 noTrackingAndDependent.append(uncleanedOnlyGsfConversionTrackProducer)
151 noTrackingAndDependent.append(uncleanedOnlyPfTrackElec)
152 noTrackingAndDependent.append(uncleanedOnlyGsfElectronCores)
153 noTrackingAndDependent.append(uncleanedOnlyPfTrack)
154 noTrackingAndDependent.append(uncleanedOnlyGeneralInOutOutInConversionTrackMerger)#can live with
155 noTrackingAndDependent.append(uncleanedOnlyGsfGeneralInOutOutInConversionTrackMerger)#can live with
156 noTrackingAndDependent.append(uncleanedOnlyAllConversions)
157 noTrackingAndDependent.append(uncleanedOnlyGsfElectrons)#can live with
158 noTrackingAndDependent.append(electronMergedSeeds)
159 noTrackingAndDependent.append(electronCkfTrackCandidates)
160 noTrackingAndDependent.append(electronGsfTracks)
161 noTrackingAndDependent.append(generalConversionTrackProducer)
162 noTrackingAndDependent.append(generalInOutOutInConversionTrackMerger)
163 noTrackingAndDependent.append(gsfGeneralInOutOutInConversionTrackMerger)
164 noTrackingAndDependent.append(ecalDrivenGsfElectrons)
165 noTrackingAndDependent.append(gsfConversionTrackProducer)
166 noTrackingAndDependent.append(allConversions)
167 noTrackingAndDependent.append(gsfElectrons)
168 reconstruction_fromRECO_noTracking = reconstruction.copyAndExclude(modulesToRemove+noTrackingAndDependent)
169 reconstruction_noTracking = reconstruction.copyAndExclude(noTrackingAndDependent)
170 
171 
172 #sequences with additional stuff
173 reconstruction_withPixellessTk = cms.Sequence(localreco *globalreco_plusPL*highlevelreco*logErrorHarvester)
174 reconstruction_HcalNZS = cms.Sequence(localreco_HcalNZS*globalreco *highlevelreco*logErrorHarvester)
175 
176 #sequences without some stuffs
177 #
178 reconstruction_woCosmicMuons = cms.Sequence(localreco*globalreco*highlevelreco*logErrorHarvester)
179 
180 
181 # define a standard candle. please note I am picking up individual
182 # modules instead of sequences
183 #
184 reconstruction_standard_candle = cms.Sequence(localreco*globalreco*vertexreco*recoJetAssociations*btagging*electronSequence*photonSequence)
185 
186 
for Tracker muon re-reco
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run