CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
OpenHLT_Tau_cff.py
Go to the documentation of this file.
1 
2 import FWCore.ParameterSet.Config as cms
3 
4 from HLTrigger.HLTanalyzers.HLT_FULL_cff import hltEcalRawToRecHitFacility,hltEcalRegionalJetsFEDs,hltEcalRegionalJetsRecHit,HLTDoLocalHcalSequence,hltTowerMakerForJets,hltCaloTowersTau1Regional,hltIconeTau1Regional,hltCaloTowersTau2Regional,hltIconeTau2Regional,hltCaloTowersTau3Regional,hltIconeTau3Regional,hltCaloTowersTau4Regional,hltIconeTau4Regional,hltCaloTowersCentral1Regional,hltIconeCentral1Regional,hltCaloTowersCentral2Regional,hltIconeCentral2Regional,hltCaloTowersCentral3Regional,hltIconeCentral3Regional,hltCaloTowersCentral4Regional,hltIconeCentral4Regional,HLTDoLocalStripSequence,hltPFTausTightIso
5 
6 hltTauL1SeedFilter = cms.EDFilter( "HLTLevel1GTSeed",
7  L1TechTriggerSeeding = cms.bool( False ),
8  L1SeedsLogicalExpression = cms.string( "L1_SingleTauJet10 OR L1_SingleJet15" ),
9  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" ),
10  L1GtObjectMapTag = cms.InputTag( "hltL1GtObjectMap" ),
11  L1CollectionsTag = cms.InputTag( "hltL1extraParticles" ),
12  L1MuonCollectionTag = cms.InputTag( "hltL1extraParticles" )
13 )
14 hltCaloTowersCentral1 = cms.EDProducer("CaloTowerCreatorForTauHLT",
15  towers = cms.InputTag("hltTowerMakerForAll"),
16  TauId = cms.int32(0),
17  TauTrigger = cms.InputTag("hltL1extraParticles","Central"),
18  minimumE = cms.double(0.8),
19  UseTowersInCone = cms.double(0.8),
20  minimumEt = cms.double(0.5)
21 )
22 hltCaloTowersCentral2 = cms.EDProducer("CaloTowerCreatorForTauHLT",
23  towers = cms.InputTag("hltTowerMakerForAll"),
24  TauId = cms.int32(1),
25  TauTrigger = cms.InputTag("hltL1extraParticles","Central"),
26  minimumE = cms.double(0.8),
27  UseTowersInCone = cms.double(0.8),
28  minimumEt = cms.double(0.5)
29 )
30 hltCaloTowersCentral3 = cms.EDProducer("CaloTowerCreatorForTauHLT",
31  towers = cms.InputTag("hltTowerMakerForAll"),
32  TauId = cms.int32(2),
33  TauTrigger = cms.InputTag("hltL1extraParticles","Central"),
34  minimumE = cms.double(0.8),
35  UseTowersInCone = cms.double(0.8),
36  minimumEt = cms.double(0.5)
37 )
38 hltCaloTowersCentral4 = cms.EDProducer("CaloTowerCreatorForTauHLT",
39  towers = cms.InputTag("hltTowerMakerForAll"),
40  TauId = cms.int32(3),
41  TauTrigger = cms.InputTag("hltL1extraParticles","Central"),
42  minimumE = cms.double(0.8),
43  UseTowersInCone = cms.double(0.8),
44  minimumEt = cms.double(0.5)
45 )
46 hltIcone2Tau1 = cms.EDProducer( "IterativeConeJetProducer",
47  seedThreshold = cms.double( 1.0 ),
48  coneRadius = cms.double( 0.2 ),
49  verbose = cms.untracked.bool( False ),
50  jetType = cms.untracked.string( "CaloJet" ),
51  src = cms.InputTag( "hltCaloTowersTau1" ),
52  jetPtMin = cms.double( 0.0 ),
53  inputEMin = cms.double( 0.0 ),
54  inputEtMin = cms.double( 0.5 ),
55  debugLevel = cms.untracked.int32( 0 ),
56  alias = cms.untracked.string( "IC5CaloJet" ),
57  correctInputToSignalVertex = cms.bool( False ),
58  pvCollection = cms.InputTag( "offlinePrimaryVertices" )
59 )
60 hltIcone2Tau2 = cms.EDProducer( "IterativeConeJetProducer",
61  seedThreshold = cms.double( 1.0 ),
62  coneRadius = cms.double( 0.2 ),
63  verbose = cms.untracked.bool( False ),
64  jetType = cms.untracked.string( "CaloJet" ),
65  src = cms.InputTag( "hltCaloTowersTau2" ),
66  jetPtMin = cms.double( 0.0 ),
67  inputEMin = cms.double( 0.0 ),
68  inputEtMin = cms.double( 0.5 ),
69  debugLevel = cms.untracked.int32( 0 ),
70  alias = cms.untracked.string( "IC5CaloJet" ),
71  correctInputToSignalVertex = cms.bool( False ),
72  pvCollection = cms.InputTag( "offlinePrimaryVertices" )
73 )
74 hltIcone2Tau3 = cms.EDProducer( "IterativeConeJetProducer",
75  seedThreshold = cms.double( 1.0 ),
76  coneRadius = cms.double( 0.2 ),
77  verbose = cms.untracked.bool( False ),
78  jetType = cms.untracked.string( "CaloJet" ),
79  src = cms.InputTag( "hltCaloTowersTau3" ),
80  jetPtMin = cms.double( 0.0 ),
81  inputEMin = cms.double( 0.0 ),
82  inputEtMin = cms.double( 0.5 ),
83  debugLevel = cms.untracked.int32( 0 ),
84  alias = cms.untracked.string( "IC5CaloJet" ),
85  correctInputToSignalVertex = cms.bool( False ),
86  pvCollection = cms.InputTag( "offlinePrimaryVertices" )
87 )
88 hltIcone2Tau4 = cms.EDProducer( "IterativeConeJetProducer",
89  seedThreshold = cms.double( 1.0 ),
90  coneRadius = cms.double( 0.2 ),
91  verbose = cms.untracked.bool( False ),
92  jetType = cms.untracked.string( "CaloJet" ),
93  src = cms.InputTag( "hltCaloTowersTau4" ),
94  jetPtMin = cms.double( 0.0 ),
95  inputEMin = cms.double( 0.0 ),
96  inputEtMin = cms.double( 0.5 ),
97  debugLevel = cms.untracked.int32( 0 ),
98  alias = cms.untracked.string( "IC5CaloJet" ),
99  correctInputToSignalVertex = cms.bool( False ),
100  pvCollection = cms.InputTag( "offlinePrimaryVertices" )
101 )
102 hltIcone2Central1 = cms.EDProducer( "IterativeConeJetProducer",
103  seedThreshold = cms.double( 1.0 ),
104  coneRadius = cms.double( 0.2 ),
105  verbose = cms.untracked.bool( False ),
106  jetType = cms.untracked.string( "CaloJet" ),
107  src = cms.InputTag( "hltCaloTowersCentral1" ),
108  jetPtMin = cms.double( 0.0 ),
109  inputEMin = cms.double( 0.0 ),
110  inputEtMin = cms.double( 0.5 ),
111  debugLevel = cms.untracked.int32( 0 ),
112  alias = cms.untracked.string( "IC5CaloJet" ),
113  correctInputToSignalVertex = cms.bool( False ),
114  pvCollection = cms.InputTag( "offlinePrimaryVertices" )
115 )
116 hltIcone2Central2 = cms.EDProducer( "IterativeConeJetProducer",
117  seedThreshold = cms.double( 1.0 ),
118  coneRadius = cms.double( 0.2 ),
119  verbose = cms.untracked.bool( False ),
120  jetType = cms.untracked.string( "CaloJet" ),
121  src = cms.InputTag( "hltCaloTowersCentral2" ),
122  jetPtMin = cms.double( 0.0 ),
123  inputEMin = cms.double( 0.0 ),
124  inputEtMin = cms.double( 0.5 ),
125  debugLevel = cms.untracked.int32( 0 ),
126  alias = cms.untracked.string( "IC5CaloJet" ),
127  correctInputToSignalVertex = cms.bool( False ),
128  pvCollection = cms.InputTag( "offlinePrimaryVertices" )
129 )
130 hltIcone2Central3 = cms.EDProducer( "IterativeConeJetProducer",
131  seedThreshold = cms.double( 1.0 ),
132  coneRadius = cms.double( 0.2 ),
133  verbose = cms.untracked.bool( False ),
134  jetType = cms.untracked.string( "CaloJet" ),
135  src = cms.InputTag( "hltCaloTowersCentral3" ),
136  jetPtMin = cms.double( 0.0 ),
137  inputEMin = cms.double( 0.0 ),
138  inputEtMin = cms.double( 0.5 ),
139  debugLevel = cms.untracked.int32( 0 ),
140  alias = cms.untracked.string( "IC5CaloJet" ),
141  correctInputToSignalVertex = cms.bool( False ),
142  pvCollection = cms.InputTag( "offlinePrimaryVertices" )
143 )
144 hltIcone2Central4 = cms.EDProducer( "IterativeConeJetProducer",
145  seedThreshold = cms.double( 1.0 ),
146  coneRadius = cms.double( 0.2 ),
147  verbose = cms.untracked.bool( False ),
148  jetType = cms.untracked.string( "CaloJet" ),
149  src = cms.InputTag( "hltCaloTowersCentral4" ),
150  jetPtMin = cms.double( 0.0 ),
151  inputEMin = cms.double( 0.0 ),
152  inputEtMin = cms.double( 0.5 ),
153  debugLevel = cms.untracked.int32( 0 ),
154  alias = cms.untracked.string( "IC5CaloJet" ),
155  correctInputToSignalVertex = cms.bool( False ),
156  pvCollection = cms.InputTag( "offlinePrimaryVertices" )
157 )
158 openhltL2TauJets = cms.EDProducer( "L2TauJetsMerger",
159  EtMin = cms.double( 1.0 ),
160  JetSrc = cms.VInputTag( 'hltIconeTau1Regional','hltIconeTau2Regional','hltIconeTau3Regional','hltIconeTau4Regional','hltIconeCentral1Regional','hltIconeCentral2Regional','hltIconeCentral3Regional','hltIconeCentral4Regional' )
161 )
162 openhltL2TauIsolationProducer = cms.EDProducer( "L2TauNarrowConeIsolationProducer",
163  L2TauJetCollection = cms.InputTag( "openhltL2TauJets" ),
164  EBRecHits = cms.InputTag( 'hltEcalRecHitAll','EcalRecHitsEB' ),
165  EERecHits = cms.InputTag( 'hltEcalRecHitAll','EcalRecHitsEE' ),
166  CaloTowers = cms.InputTag('hltTowerMakerForAll'),
167 crystalThresholdEE = cms.double( 0.45 ),
168  crystalThresholdEB = cms.double( 0.15 ),
169  towerThreshold = cms.double(1.0 ),
170  associationRadius = cms.double(0.5 ),
171 
172  ECALIsolation = cms.PSet(
173  runAlgorithm = cms.bool( True ),
174  innerCone = cms.double( 0.15 ),
175  outerCone = cms.double( 0.5 )
176  ),
177  ECALClustering = cms.PSet(
178  runAlgorithm = cms.bool( True ),
179  clusterRadius = cms.double( 0.08 )
180  ),
181  TowerIsolation = cms.PSet(
182  runAlgorithm = cms.bool( True ),
183  innerCone = cms.double( 0.2 ),
184  outerCone = cms.double( 0.5 )
185  )
186 )
187 
188 openhltL25TauPixelSeeds = cms.EDProducer( "SeedGeneratorFromRegionHitsEDProducer",
189  ClusterCheckPSet = cms.PSet(
190  MaxNumberOfCosmicClusters = cms.uint32( 50000 ),
191  ClusterCollectionLabel = cms.InputTag( "hltSiStripClusters" ),
192  doClusterCheck = cms.bool( False )
193  ),
194  RegionFactoryPSet = cms.PSet(
195  ComponentName = cms.string( "TauRegionalPixelSeedGenerator" ),
196  RegionPSet = cms.PSet(
197  deltaPhiRegion = cms.double( 0.5 ),
198  deltaEtaRegion = cms.double( 0.5 ),
199  ptMin = cms.double( 0.9 ),
200  originZPos = cms.double( 0.0 ),
201  originRadius = cms.double( 0.2 ),
202  originHalfLength = cms.double( 0.2 ),
203  precise = cms.bool( True ),
204  JetSrc = cms.InputTag( 'openhltL2TauJets' ),
205  vertexSrc = cms.InputTag( "hltPixelVertices" )
206  )
207  ),
208  OrderedHitsFactoryPSet = cms.PSet(
209  ComponentName = cms.string( "StandardHitPairGenerator" ),
210  SeedingLayers = cms.string( "hltESPPixelLayerPairs" ),
211  maxElement = cms.uint32( 0 )
212  ),
213  SeedComparitorPSet = cms.PSet( ComponentName = cms.string( "none" ) ),
214  SeedCreatorPSet = cms.PSet(
215  ComponentName = cms.string( "SeedFromConsecutiveHitsCreator" ),
216  propagator = cms.string( "PropagatorWithMaterial" )
217  ),
218  TTRHBuilder = cms.string( "hltESPTTRHBWithTrackAngle" )
219 )
220 openhltL25TauCkfTrackCandidates = cms.EDProducer( "CkfTrackCandidateMaker",
221  src = cms.InputTag( "openhltL25TauPixelSeeds" ),
222  TrajectoryBuilder = cms.string( "hltESPTrajectoryBuilderL3" ),
223  TrajectoryCleaner = cms.string( "hltESPTrajectoryCleanerBySharedHits" ),
224  NavigationSchool = cms.string( "SimpleNavigationSchool" ),
225  RedundantSeedCleaner = cms.string( "CachingSeedCleanerBySharedInput" ),
226  useHitsSplitting = cms.bool( False ),
227  doSeedingRegionRebuilding = cms.bool( False ),
228  TransientInitialStateEstimatorParameters = cms.PSet(
229  propagatorAlongTISE = cms.string( "PropagatorWithMaterial" ),
230  propagatorOppositeTISE = cms.string( "PropagatorWithMaterialOpposite" ),
231  numberMeasurementsForFit = cms.int32(4)
232  ),
233  cleanTrajectoryAfterInOut = cms.bool( False ),
234  maxNSeeds = cms.uint32( 100000 )
235 )
236 openhltL25TauCtfWithMaterialTracks = cms.EDProducer( "TrackProducer",
237  TrajectoryInEvent = cms.bool( True ),
238  useHitsSplitting = cms.bool( False ),
239  clusterRemovalInfo = cms.InputTag( "" ),
240  alias = cms.untracked.string( "ctfWithMaterialTracks" ),
241  Fitter = cms.string( "hltESPFittingSmootherRK" ),
242  Propagator = cms.string( "hltESPRungeKuttaTrackerPropagator" ),
243  src = cms.InputTag( "openhltL25TauCkfTrackCandidates" ),
244  beamSpot = cms.InputTag( "hltOfflineBeamSpot" ),
245  TTRHBuilder = cms.string( "hltESPTTRHBWithTrackAngle" ),
246  AlgorithmName = cms.string( "undefAlgorithm" ),
247  NavigationSchool = cms.string( "" )
248 )
249 openhltL25TauJetTracksAssociator = cms.EDProducer( "JetTracksAssociatorAtVertex",
250  jets = cms.InputTag( 'openhltL2TauJets' ),
251  tracks = cms.InputTag( "openhltL25TauCtfWithMaterialTracks" ),
252  coneSize = cms.double( 0.5 )
253 )
254 openhltL25TauConeIsolation = cms.EDProducer( "ConeIsolation",
255  JetTrackSrc = cms.InputTag( "openhltL25TauJetTracksAssociator" ),
256  vertexSrc = cms.InputTag( "hltPixelVertices" ),
257  useVertex = cms.bool( True ),
258  useBeamSpot = cms.bool( True ),
259  BeamSpotProducer = cms.InputTag( "hltOfflineBeamSpot" ),
260  MinimumNumberOfPixelHits = cms.int32( 2 ),
261  MinimumNumberOfHits = cms.int32( 5 ),
262  MaximumTransverseImpactParameter = cms.double( 300.0 ),
263  MinimumTransverseMomentum = cms.double( 1.0 ),
264  MaximumChiSquared = cms.double( 100.0 ),
265  DeltaZetTrackVertex = cms.double( 0.2 ),
266  MatchingCone = cms.double( 0.2 ),
267  SignalCone = cms.double( 0.15 ),
268  IsolationCone = cms.double( 0.5 ),
269  MinimumTransverseMomentumInIsolationRing = cms.double( 1.5 ),
270  MinimumTransverseMomentumLeadingTrack = cms.double( 5.0 ),
271  MaximumNumberOfTracksIsolationRing = cms.int32( 1 ),
272  UseFixedSizeCone = cms.bool( True ),
273  VariableConeParameter = cms.double( 3.5 ),
274  VariableMaxCone = cms.double( 0.17 ),
275  VariableMinCone = cms.double( 0.05 )
276 )
277 TauOpenHLT = cms.EDProducer("HLTTauProducer",
278  L25TrackIsoJets = cms.InputTag("openhltL25TauConeIsolation"),
279  L3TrackIsoJets = cms.InputTag("openhltL25TauConeIsolation"),
280  SignalCone = cms.double(0.15),
281  MatchingCone = cms.double(0.2),
282  MinPtTracks = cms.double(1.),
283  L2EcalIsoJets = cms.InputTag("openhltL2TauIsolationProducer"),
284  IsolationCone = cms.double(0.5)
285 )
286 
287 OpenHLTDoCaloSequence = cms.Sequence( hltEcalRawToRecHitFacility + hltEcalRegionalJetsFEDs + hltEcalRegionalJetsRecHit + HLTDoLocalHcalSequence + hltTowerMakerForJets)
288 OpenHLTCaloTausCreatorSequence = cms.Sequence( OpenHLTDoCaloSequence + hltCaloTowersTau1Regional + hltIconeTau1Regional + hltCaloTowersTau2Regional + hltIconeTau2Regional + hltCaloTowersTau3Regional + hltIconeTau3Regional + hltCaloTowersTau4Regional + hltIconeTau4Regional + hltCaloTowersCentral1Regional + hltIconeCentral1Regional + hltCaloTowersCentral2Regional + hltIconeCentral2Regional + hltCaloTowersCentral3Regional + hltIconeCentral3Regional + hltCaloTowersCentral4Regional + hltIconeCentral4Regional )
289 OpenHLTL25TauTrackReconstructionSequence = cms.Sequence( HLTDoLocalStripSequence + openhltL25TauPixelSeeds + openhltL25TauCkfTrackCandidates + openhltL25TauCtfWithMaterialTracks )
290 OpenHLTL25TauTrackIsolation = cms.Sequence( openhltL25TauJetTracksAssociator + openhltL25TauConeIsolation )
291 
292 
293 
294 #Particle Flow
295 
296 #hltPFTausTightCone = hltPFTaus.clone()
297 #hltPFTausTightCone.TrackerSignalConeSizeFormula = cms.string( "0.15" )
298 #hltPFTausTightCone.ECALSignalConeSizeFormula = cms.string( "0.15" )
299 
300 #HLTPFTauSequence+= hltPFTausTightCone
301 
302 
303 pfAllMuons = cms.EDFilter("PdgIdPFCandidateSelector",
304  src = cms.InputTag("hltParticleFlow"),
305  pdgId = cms.vint32( -13, 13)
306 )
307