test
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  howToUseMeasurementTracker = cms.string("Never"),
207  )
208  ),
209  OrderedHitsFactoryPSet = cms.PSet(
210  ComponentName = cms.string( "StandardHitPairGenerator" ),
211  SeedingLayers = cms.string( "hltESPPixelLayerPairs" ),
212  maxElement = cms.uint32( 0 )
213  ),
214  SeedComparitorPSet = cms.PSet( ComponentName = cms.string( "none" ) ),
215  SeedCreatorPSet = cms.PSet(
216  ComponentName = cms.string( "SeedFromConsecutiveHitsCreator" ),
217  propagator = cms.string( "PropagatorWithMaterial" )
218  ),
219  TTRHBuilder = cms.string( "hltESPTTRHBWithTrackAngle" )
220 )
221 openhltL25TauCkfTrackCandidates = cms.EDProducer( "CkfTrackCandidateMaker",
222  src = cms.InputTag( "openhltL25TauPixelSeeds" ),
223  TrajectoryBuilder = cms.string( "hltESPTrajectoryBuilderL3" ),
224  TrajectoryCleaner = cms.string( "hltESPTrajectoryCleanerBySharedHits" ),
225  NavigationSchool = cms.string( "SimpleNavigationSchool" ),
226  RedundantSeedCleaner = cms.string( "CachingSeedCleanerBySharedInput" ),
227  useHitsSplitting = cms.bool( False ),
228  doSeedingRegionRebuilding = cms.bool( False ),
229  TransientInitialStateEstimatorParameters = cms.PSet(
230  propagatorAlongTISE = cms.string( "PropagatorWithMaterial" ),
231  propagatorOppositeTISE = cms.string( "PropagatorWithMaterialOpposite" ),
232  numberMeasurementsForFit = cms.int32(4)
233  ),
234  cleanTrajectoryAfterInOut = cms.bool( False ),
235  maxNSeeds = cms.uint32( 100000 )
236 )
237 openhltL25TauCtfWithMaterialTracks = cms.EDProducer( "TrackProducer",
238  TrajectoryInEvent = cms.bool( True ),
239  useHitsSplitting = cms.bool( False ),
240  clusterRemovalInfo = cms.InputTag( "" ),
241  alias = cms.untracked.string( "ctfWithMaterialTracks" ),
242  Fitter = cms.string( "hltESPFittingSmootherRK" ),
243  Propagator = cms.string( "hltESPRungeKuttaTrackerPropagator" ),
244  src = cms.InputTag( "openhltL25TauCkfTrackCandidates" ),
245  beamSpot = cms.InputTag( "hltOfflineBeamSpot" ),
246  TTRHBuilder = cms.string( "hltESPTTRHBWithTrackAngle" ),
247  AlgorithmName = cms.string( "undefAlgorithm" ),
248  NavigationSchool = cms.string( "" )
249 )
250 openhltL25TauJetTracksAssociator = cms.EDProducer( "JetTracksAssociatorAtVertex",
251  jets = cms.InputTag( 'openhltL2TauJets' ),
252  tracks = cms.InputTag( "openhltL25TauCtfWithMaterialTracks" ),
253  coneSize = cms.double( 0.5 )
254 )
255 openhltL25TauConeIsolation = cms.EDProducer( "ConeIsolation",
256  JetTrackSrc = cms.InputTag( "openhltL25TauJetTracksAssociator" ),
257  vertexSrc = cms.InputTag( "hltPixelVertices" ),
258  useVertex = cms.bool( True ),
259  useBeamSpot = cms.bool( True ),
260  BeamSpotProducer = cms.InputTag( "hltOfflineBeamSpot" ),
261  MinimumNumberOfPixelHits = cms.int32( 2 ),
262  MinimumNumberOfHits = cms.int32( 5 ),
263  MaximumTransverseImpactParameter = cms.double( 300.0 ),
264  MinimumTransverseMomentum = cms.double( 1.0 ),
265  MaximumChiSquared = cms.double( 100.0 ),
266  DeltaZetTrackVertex = cms.double( 0.2 ),
267  MatchingCone = cms.double( 0.2 ),
268  SignalCone = cms.double( 0.15 ),
269  IsolationCone = cms.double( 0.5 ),
270  MinimumTransverseMomentumInIsolationRing = cms.double( 1.5 ),
271  MinimumTransverseMomentumLeadingTrack = cms.double( 5.0 ),
272  MaximumNumberOfTracksIsolationRing = cms.int32( 1 ),
273  UseFixedSizeCone = cms.bool( True ),
274  VariableConeParameter = cms.double( 3.5 ),
275  VariableMaxCone = cms.double( 0.17 ),
276  VariableMinCone = cms.double( 0.05 )
277 )
278 TauOpenHLT = cms.EDProducer("HLTTauProducer",
279  L25TrackIsoJets = cms.InputTag("openhltL25TauConeIsolation"),
280  L3TrackIsoJets = cms.InputTag("openhltL25TauConeIsolation"),
281  SignalCone = cms.double(0.15),
282  MatchingCone = cms.double(0.2),
283  MinPtTracks = cms.double(1.),
284  L2EcalIsoJets = cms.InputTag("openhltL2TauIsolationProducer"),
285  IsolationCone = cms.double(0.5)
286 )
287 
288 OpenHLTDoCaloSequence = cms.Sequence( hltEcalRawToRecHitFacility + hltEcalRegionalJetsFEDs + hltEcalRegionalJetsRecHit + HLTDoLocalHcalSequence + hltTowerMakerForJets)
289 OpenHLTCaloTausCreatorSequence = cms.Sequence( OpenHLTDoCaloSequence + hltCaloTowersTau1Regional + hltIconeTau1Regional + hltCaloTowersTau2Regional + hltIconeTau2Regional + hltCaloTowersTau3Regional + hltIconeTau3Regional + hltCaloTowersTau4Regional + hltIconeTau4Regional + hltCaloTowersCentral1Regional + hltIconeCentral1Regional + hltCaloTowersCentral2Regional + hltIconeCentral2Regional + hltCaloTowersCentral3Regional + hltIconeCentral3Regional + hltCaloTowersCentral4Regional + hltIconeCentral4Regional )
290 OpenHLTL25TauTrackReconstructionSequence = cms.Sequence( HLTDoLocalStripSequence + openhltL25TauPixelSeeds + openhltL25TauCkfTrackCandidates + openhltL25TauCtfWithMaterialTracks )
291 OpenHLTL25TauTrackIsolation = cms.Sequence( openhltL25TauJetTracksAssociator + openhltL25TauConeIsolation )
292 
293 
294 
295 #Particle Flow
296 
297 #hltPFTausTightCone = hltPFTaus.clone()
298 #hltPFTausTightCone.TrackerSignalConeSizeFormula = cms.string( "0.15" )
299 #hltPFTausTightCone.ECALSignalConeSizeFormula = cms.string( "0.15" )
300 
301 #HLTPFTauSequence+= hltPFTausTightCone
302 
303 
304 pfAllMuons = cms.EDFilter("PdgIdPFCandidateSelector",
305  src = cms.InputTag("hltParticleFlow"),
306  pdgId = cms.vint32( -13, 13)
307 )
308