CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/HLTrigger/HLTanalyzers/python/OpenHLT_Tau_cff.py

Go to the documentation of this file.
00001 
00002 import FWCore.ParameterSet.Config as cms
00003 
00004 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
00005 
00006 hltTauL1SeedFilter = cms.EDFilter( "HLTLevel1GTSeed",
00007     L1TechTriggerSeeding = cms.bool( False ),
00008     L1SeedsLogicalExpression = cms.string( "L1_SingleTauJet10 OR L1_SingleJet15" ),
00009     L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" ),
00010     L1GtObjectMapTag = cms.InputTag( "hltL1GtObjectMap" ),
00011     L1CollectionsTag = cms.InputTag( "hltL1extraParticles" ),
00012     L1MuonCollectionTag = cms.InputTag( "hltL1extraParticles" )
00013 )
00014 hltCaloTowersCentral1 = cms.EDProducer("CaloTowerCreatorForTauHLT",
00015     towers = cms.InputTag("hltTowerMakerForAll"),
00016     TauId = cms.int32(0),
00017     TauTrigger = cms.InputTag("hltL1extraParticles","Central"),
00018     minimumE = cms.double(0.8),
00019     UseTowersInCone = cms.double(0.8),
00020     minimumEt = cms.double(0.5)
00021 )
00022 hltCaloTowersCentral2 = cms.EDProducer("CaloTowerCreatorForTauHLT",
00023     towers = cms.InputTag("hltTowerMakerForAll"),
00024     TauId = cms.int32(1),
00025     TauTrigger = cms.InputTag("hltL1extraParticles","Central"),
00026     minimumE = cms.double(0.8),
00027     UseTowersInCone = cms.double(0.8),
00028     minimumEt = cms.double(0.5)
00029 )
00030 hltCaloTowersCentral3 = cms.EDProducer("CaloTowerCreatorForTauHLT",
00031     towers = cms.InputTag("hltTowerMakerForAll"),
00032     TauId = cms.int32(2),
00033     TauTrigger = cms.InputTag("hltL1extraParticles","Central"),
00034     minimumE = cms.double(0.8),
00035     UseTowersInCone = cms.double(0.8),
00036     minimumEt = cms.double(0.5)
00037 )
00038 hltCaloTowersCentral4 = cms.EDProducer("CaloTowerCreatorForTauHLT",
00039     towers = cms.InputTag("hltTowerMakerForAll"),
00040     TauId = cms.int32(3),
00041     TauTrigger = cms.InputTag("hltL1extraParticles","Central"),
00042     minimumE = cms.double(0.8),
00043     UseTowersInCone = cms.double(0.8),
00044     minimumEt = cms.double(0.5)
00045 )
00046 hltIcone2Tau1 = cms.EDProducer( "IterativeConeJetProducer",
00047     seedThreshold = cms.double( 1.0 ),
00048     coneRadius = cms.double( 0.2 ),
00049     verbose = cms.untracked.bool( False ),
00050     jetType = cms.untracked.string( "CaloJet" ),
00051     src = cms.InputTag( "hltCaloTowersTau1" ),
00052     jetPtMin = cms.double( 0.0 ),
00053     inputEMin = cms.double( 0.0 ),
00054     inputEtMin = cms.double( 0.5 ),
00055     debugLevel = cms.untracked.int32( 0 ),
00056     alias = cms.untracked.string( "IC5CaloJet" ),
00057     correctInputToSignalVertex = cms.bool( False ),
00058     pvCollection = cms.InputTag( "offlinePrimaryVertices" )
00059 )
00060 hltIcone2Tau2 = cms.EDProducer( "IterativeConeJetProducer",
00061     seedThreshold = cms.double( 1.0 ),
00062     coneRadius = cms.double( 0.2 ),
00063     verbose = cms.untracked.bool( False ),
00064     jetType = cms.untracked.string( "CaloJet" ),
00065     src = cms.InputTag( "hltCaloTowersTau2" ),
00066     jetPtMin = cms.double( 0.0 ),
00067     inputEMin = cms.double( 0.0 ),
00068     inputEtMin = cms.double( 0.5 ),
00069     debugLevel = cms.untracked.int32( 0 ),
00070     alias = cms.untracked.string( "IC5CaloJet" ),
00071     correctInputToSignalVertex = cms.bool( False ),
00072     pvCollection = cms.InputTag( "offlinePrimaryVertices" )
00073 )
00074 hltIcone2Tau3 = cms.EDProducer( "IterativeConeJetProducer",
00075     seedThreshold = cms.double( 1.0 ),
00076     coneRadius = cms.double( 0.2 ),
00077     verbose = cms.untracked.bool( False ),
00078     jetType = cms.untracked.string( "CaloJet" ),
00079     src = cms.InputTag( "hltCaloTowersTau3" ),
00080     jetPtMin = cms.double( 0.0 ),
00081     inputEMin = cms.double( 0.0 ),
00082     inputEtMin = cms.double( 0.5 ),
00083     debugLevel = cms.untracked.int32( 0 ),
00084     alias = cms.untracked.string( "IC5CaloJet" ),
00085     correctInputToSignalVertex = cms.bool( False ),
00086     pvCollection = cms.InputTag( "offlinePrimaryVertices" )
00087 )
00088 hltIcone2Tau4 = cms.EDProducer( "IterativeConeJetProducer",
00089     seedThreshold = cms.double( 1.0 ),
00090     coneRadius = cms.double( 0.2 ),
00091     verbose = cms.untracked.bool( False ),
00092     jetType = cms.untracked.string( "CaloJet" ),
00093     src = cms.InputTag( "hltCaloTowersTau4" ),
00094     jetPtMin = cms.double( 0.0 ),
00095     inputEMin = cms.double( 0.0 ),
00096     inputEtMin = cms.double( 0.5 ),
00097     debugLevel = cms.untracked.int32( 0 ),
00098     alias = cms.untracked.string( "IC5CaloJet" ),
00099     correctInputToSignalVertex = cms.bool( False ),
00100     pvCollection = cms.InputTag( "offlinePrimaryVertices" )
00101 )
00102 hltIcone2Central1 = cms.EDProducer( "IterativeConeJetProducer",
00103     seedThreshold = cms.double( 1.0 ),
00104     coneRadius = cms.double( 0.2 ),
00105     verbose = cms.untracked.bool( False ),
00106     jetType = cms.untracked.string( "CaloJet" ),
00107     src = cms.InputTag( "hltCaloTowersCentral1" ),
00108     jetPtMin = cms.double( 0.0 ),
00109     inputEMin = cms.double( 0.0 ),
00110     inputEtMin = cms.double( 0.5 ),
00111     debugLevel = cms.untracked.int32( 0 ),
00112     alias = cms.untracked.string( "IC5CaloJet" ),
00113     correctInputToSignalVertex = cms.bool( False ),
00114     pvCollection = cms.InputTag( "offlinePrimaryVertices" )
00115 )
00116 hltIcone2Central2 = cms.EDProducer( "IterativeConeJetProducer",
00117     seedThreshold = cms.double( 1.0 ),
00118     coneRadius = cms.double( 0.2 ),
00119     verbose = cms.untracked.bool( False ),
00120     jetType = cms.untracked.string( "CaloJet" ),
00121     src = cms.InputTag( "hltCaloTowersCentral2" ),
00122     jetPtMin = cms.double( 0.0 ),
00123     inputEMin = cms.double( 0.0 ),
00124     inputEtMin = cms.double( 0.5 ),
00125     debugLevel = cms.untracked.int32( 0 ),
00126     alias = cms.untracked.string( "IC5CaloJet" ),
00127     correctInputToSignalVertex = cms.bool( False ),
00128     pvCollection = cms.InputTag( "offlinePrimaryVertices" )
00129 )
00130 hltIcone2Central3 = cms.EDProducer( "IterativeConeJetProducer",
00131     seedThreshold = cms.double( 1.0 ),
00132     coneRadius = cms.double( 0.2 ),
00133     verbose = cms.untracked.bool( False ),
00134     jetType = cms.untracked.string( "CaloJet" ),
00135     src = cms.InputTag( "hltCaloTowersCentral3" ),
00136     jetPtMin = cms.double( 0.0 ),
00137     inputEMin = cms.double( 0.0 ),
00138     inputEtMin = cms.double( 0.5 ),
00139     debugLevel = cms.untracked.int32( 0 ),
00140     alias = cms.untracked.string( "IC5CaloJet" ),
00141     correctInputToSignalVertex = cms.bool( False ),
00142     pvCollection = cms.InputTag( "offlinePrimaryVertices" )
00143 )
00144 hltIcone2Central4 = cms.EDProducer( "IterativeConeJetProducer",
00145     seedThreshold = cms.double( 1.0 ),
00146     coneRadius = cms.double( 0.2 ),
00147     verbose = cms.untracked.bool( False ),
00148     jetType = cms.untracked.string( "CaloJet" ),
00149     src = cms.InputTag( "hltCaloTowersCentral4" ),
00150     jetPtMin = cms.double( 0.0 ),
00151     inputEMin = cms.double( 0.0 ),
00152     inputEtMin = cms.double( 0.5 ),
00153     debugLevel = cms.untracked.int32( 0 ),
00154     alias = cms.untracked.string( "IC5CaloJet" ),
00155     correctInputToSignalVertex = cms.bool( False ),
00156     pvCollection = cms.InputTag( "offlinePrimaryVertices" )
00157 )
00158 openhltL2TauJets = cms.EDProducer( "L2TauJetsMerger",
00159     EtMin = cms.double( 1.0 ),
00160     JetSrc = cms.VInputTag( 'hltIconeTau1Regional','hltIconeTau2Regional','hltIconeTau3Regional','hltIconeTau4Regional','hltIconeCentral1Regional','hltIconeCentral2Regional','hltIconeCentral3Regional','hltIconeCentral4Regional' )
00161 )
00162 openhltL2TauIsolationProducer = cms.EDProducer( "L2TauNarrowConeIsolationProducer",
00163     L2TauJetCollection = cms.InputTag( "openhltL2TauJets" ),
00164     EBRecHits = cms.InputTag( 'hltEcalRecHitAll','EcalRecHitsEB' ),
00165     EERecHits = cms.InputTag( 'hltEcalRecHitAll','EcalRecHitsEE' ),
00166                                             CaloTowers = cms.InputTag('hltTowerMakerForAll'),                                       
00167 crystalThresholdEE = cms.double( 0.45 ),
00168     crystalThresholdEB = cms.double( 0.15 ),
00169     towerThreshold = cms.double(1.0 ),
00170     associationRadius = cms.double(0.5 ),
00171 
00172     ECALIsolation = cms.PSet( 
00173       runAlgorithm = cms.bool( True ),
00174       innerCone = cms.double( 0.15 ),
00175       outerCone = cms.double( 0.5 )
00176     ),
00177     ECALClustering = cms.PSet( 
00178       runAlgorithm = cms.bool( True ),
00179       clusterRadius = cms.double( 0.08 )
00180     ),
00181      TowerIsolation = cms.PSet( 
00182      runAlgorithm = cms.bool( True ),
00183       innerCone = cms.double( 0.2 ),
00184       outerCone = cms.double( 0.5 )
00185     )
00186 )
00187 
00188 openhltL25TauPixelSeeds = cms.EDProducer( "SeedGeneratorFromRegionHitsEDProducer",
00189                                           ClusterCheckPSet = cms.PSet(
00190     MaxNumberOfCosmicClusters = cms.uint32( 50000 ),
00191     ClusterCollectionLabel = cms.InputTag( "hltSiStripClusters" ),
00192     doClusterCheck = cms.bool( False )
00193     ),
00194     RegionFactoryPSet = cms.PSet( 
00195       ComponentName = cms.string( "TauRegionalPixelSeedGenerator" ),
00196       RegionPSet = cms.PSet( 
00197         deltaPhiRegion = cms.double( 0.5 ),
00198         deltaEtaRegion = cms.double( 0.5 ),
00199         ptMin = cms.double( 0.9 ),
00200         originZPos = cms.double( 0.0 ),
00201         originRadius = cms.double( 0.2 ),
00202         originHalfLength = cms.double( 0.2 ),
00203         precise = cms.bool( True ),
00204         JetSrc = cms.InputTag( 'openhltL2TauJets' ),
00205         vertexSrc = cms.InputTag( "hltPixelVertices" )
00206       )
00207     ),
00208     OrderedHitsFactoryPSet = cms.PSet( 
00209       ComponentName = cms.string( "StandardHitPairGenerator" ),
00210       SeedingLayers = cms.string( "hltESPPixelLayerPairs" ),
00211       maxElement = cms.uint32( 0 )      
00212     ),
00213     SeedComparitorPSet = cms.PSet(  ComponentName = cms.string( "none" ) ),
00214     SeedCreatorPSet = cms.PSet( 
00215       ComponentName = cms.string( "SeedFromConsecutiveHitsCreator" ),
00216       propagator = cms.string( "PropagatorWithMaterial" )
00217     ),
00218     TTRHBuilder = cms.string( "hltESPTTRHBWithTrackAngle" )
00219 )
00220 openhltL25TauCkfTrackCandidates = cms.EDProducer( "CkfTrackCandidateMaker",
00221     src = cms.InputTag( "openhltL25TauPixelSeeds" ),
00222     TrajectoryBuilder = cms.string( "hltESPTrajectoryBuilderL3" ),
00223     TrajectoryCleaner = cms.string( "hltESPTrajectoryCleanerBySharedHits" ),
00224     NavigationSchool = cms.string( "SimpleNavigationSchool" ),
00225     RedundantSeedCleaner = cms.string( "CachingSeedCleanerBySharedInput" ),
00226     useHitsSplitting = cms.bool( False ),
00227     doSeedingRegionRebuilding = cms.bool( False ),
00228     TransientInitialStateEstimatorParameters = cms.PSet( 
00229       propagatorAlongTISE = cms.string( "PropagatorWithMaterial" ),
00230       propagatorOppositeTISE = cms.string( "PropagatorWithMaterialOpposite" ),
00231       numberMeasurementsForFit = cms.int32(4)
00232     ),
00233     cleanTrajectoryAfterInOut = cms.bool( False ),
00234     maxNSeeds = cms.uint32( 100000 )
00235 )
00236 openhltL25TauCtfWithMaterialTracks = cms.EDProducer( "TrackProducer",
00237     TrajectoryInEvent = cms.bool( True ),
00238     useHitsSplitting = cms.bool( False ),
00239     clusterRemovalInfo = cms.InputTag( "" ),
00240     alias = cms.untracked.string( "ctfWithMaterialTracks" ),
00241     Fitter = cms.string( "hltESPFittingSmootherRK" ),
00242     Propagator = cms.string( "hltESPRungeKuttaTrackerPropagator" ),
00243     src = cms.InputTag( "openhltL25TauCkfTrackCandidates" ),
00244     beamSpot = cms.InputTag( "hltOfflineBeamSpot" ),
00245     TTRHBuilder = cms.string( "hltESPTTRHBWithTrackAngle" ),
00246     AlgorithmName = cms.string( "undefAlgorithm" ),
00247     NavigationSchool = cms.string( "" )
00248 )
00249 openhltL25TauJetTracksAssociator = cms.EDProducer( "JetTracksAssociatorAtVertex",
00250     jets = cms.InputTag( 'openhltL2TauJets' ),
00251     tracks = cms.InputTag( "openhltL25TauCtfWithMaterialTracks" ),
00252     coneSize = cms.double( 0.5 )
00253 )
00254 openhltL25TauConeIsolation = cms.EDProducer( "ConeIsolation",
00255     JetTrackSrc = cms.InputTag( "openhltL25TauJetTracksAssociator" ),
00256     vertexSrc = cms.InputTag( "hltPixelVertices" ),
00257     useVertex = cms.bool( True ),
00258     useBeamSpot = cms.bool( True ),
00259     BeamSpotProducer = cms.InputTag( "hltOfflineBeamSpot" ),
00260     MinimumNumberOfPixelHits = cms.int32( 2 ),
00261     MinimumNumberOfHits = cms.int32( 5 ),
00262     MaximumTransverseImpactParameter = cms.double( 300.0 ),
00263     MinimumTransverseMomentum = cms.double( 1.0 ),
00264     MaximumChiSquared = cms.double( 100.0 ),
00265     DeltaZetTrackVertex = cms.double( 0.2 ),
00266     MatchingCone = cms.double( 0.2 ),
00267     SignalCone = cms.double( 0.15 ),
00268     IsolationCone = cms.double( 0.5 ),
00269     MinimumTransverseMomentumInIsolationRing = cms.double( 1.5 ),
00270     MinimumTransverseMomentumLeadingTrack = cms.double( 5.0 ),
00271     MaximumNumberOfTracksIsolationRing = cms.int32( 1 ),
00272     UseFixedSizeCone = cms.bool( True ),
00273     VariableConeParameter = cms.double( 3.5 ),
00274     VariableMaxCone = cms.double( 0.17 ),
00275     VariableMinCone = cms.double( 0.05 )
00276 )
00277 TauOpenHLT = cms.EDProducer("HLTTauProducer",
00278     L25TrackIsoJets = cms.InputTag("openhltL25TauConeIsolation"),
00279     L3TrackIsoJets = cms.InputTag("openhltL25TauConeIsolation"),
00280     SignalCone = cms.double(0.15),
00281     MatchingCone = cms.double(0.2),
00282     MinPtTracks = cms.double(1.),
00283     L2EcalIsoJets = cms.InputTag("openhltL2TauIsolationProducer"),
00284     IsolationCone = cms.double(0.5)
00285 )
00286 
00287 OpenHLTDoCaloSequence = cms.Sequence( hltEcalRawToRecHitFacility + hltEcalRegionalJetsFEDs + hltEcalRegionalJetsRecHit + HLTDoLocalHcalSequence + hltTowerMakerForJets)
00288 OpenHLTCaloTausCreatorSequence = cms.Sequence( OpenHLTDoCaloSequence + hltCaloTowersTau1Regional + hltIconeTau1Regional + hltCaloTowersTau2Regional + hltIconeTau2Regional + hltCaloTowersTau3Regional + hltIconeTau3Regional + hltCaloTowersTau4Regional + hltIconeTau4Regional + hltCaloTowersCentral1Regional + hltIconeCentral1Regional + hltCaloTowersCentral2Regional + hltIconeCentral2Regional + hltCaloTowersCentral3Regional + hltIconeCentral3Regional + hltCaloTowersCentral4Regional + hltIconeCentral4Regional )
00289 OpenHLTL25TauTrackReconstructionSequence = cms.Sequence( HLTDoLocalStripSequence + openhltL25TauPixelSeeds + openhltL25TauCkfTrackCandidates + openhltL25TauCtfWithMaterialTracks )
00290 OpenHLTL25TauTrackIsolation = cms.Sequence( openhltL25TauJetTracksAssociator + openhltL25TauConeIsolation )
00291 
00292 
00293 
00294 #Particle Flow
00295 
00296 #hltPFTausTightCone = hltPFTaus.clone()
00297 #hltPFTausTightCone.TrackerSignalConeSizeFormula = cms.string( "0.15" )
00298 #hltPFTausTightCone.ECALSignalConeSizeFormula = cms.string( "0.15" )
00299 
00300 #HLTPFTauSequence+= hltPFTausTightCone
00301 
00302 
00303 pfAllMuons = cms.EDFilter("PdgIdPFCandidateSelector",
00304     src = cms.InputTag("hltParticleFlow"),
00305     pdgId = cms.vint32( -13, 13)
00306 )
00307