CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/HLTriggerOffline/Tau/python/Validation/HLTTauReferences_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 TauMCProducer  = cms.EDProducer("HLTTauMCProducer",
00004                               genParticles  = cms.untracked.InputTag("genParticles"),
00005                               ptMinTau      = cms.untracked.double(15),
00006                               ptMinMuon     = cms.untracked.double(15),
00007                               ptMinElectron = cms.untracked.double(15),
00008                               BosonID       = cms.untracked.vint32(23,24,25,32,33,34,35,36,37),
00009                               EtaMax        = cms.untracked.double(2.5)
00010 )
00011 
00012 
00013 
00014 #Create LorentzVectors for offline objects
00015 TauRelvalRefProducer = cms.EDProducer("HLTTauRefProducer",
00016 
00017                                 PFTaus = cms.untracked.PSet(
00018                                    PFTauDiscriminators = cms.untracked.VInputTag(
00019                                                     cms.InputTag("hpsPFTauDiscriminationByDecayModeFinding"),
00020                                                     cms.InputTag("hpsPFTauDiscriminationByLooseIsolation")
00021                                    ),
00022                                    doPFTaus = cms.untracked.bool(True),
00023                                    ptMin = cms.untracked.double(15.0),
00024                                    PFTauProducer = cms.untracked.InputTag("hpsPFTauProducer")
00025                                    ),
00026                                 Electrons = cms.untracked.PSet(
00027                                    ElectronCollection = cms.untracked.InputTag("gsfElectrons"),
00028                                    doID = cms.untracked.bool(False),
00029                                    InnerConeDR = cms.untracked.double(0.02),
00030                                    MaxIsoVar = cms.untracked.double(0.02),
00031                                    doElectrons = cms.untracked.bool(True),
00032                                    TrackCollection = cms.untracked.InputTag("generalTracks"),
00033                                    OuterConeDR = cms.untracked.double(0.6),
00034                                    ptMin = cms.untracked.double(15.0),
00035                                    doTrackIso = cms.untracked.bool(True),
00036                                    ptMinTrack = cms.untracked.double(1.5),
00037                                    lipMinTrack = cms.untracked.double(0.2),
00038                                    IdCollection = cms.untracked.InputTag("elecIDext")
00039                                    ),
00040                                 Jets = cms.untracked.PSet(
00041                                   JetCollection = cms.untracked.InputTag("iterativeCone5CaloJets"),
00042                                   etMin = cms.untracked.double(10.0),
00043                                   doJets = cms.untracked.bool(True)
00044                                   ),
00045                                 Towers = cms.untracked.PSet(
00046                                         TowerCollection = cms.untracked.InputTag("towerMaker"),
00047                                         etMin = cms.untracked.double(10.0),
00048                                         doTowers = cms.untracked.bool(True),
00049                                         towerIsolation = cms.untracked.double(5.0)
00050                                 ),
00051                                 
00052                                 muons = cms.untracked.PSet(
00053                                        doMuons = cms.untracked.bool(True),
00054                                        MuonCollection = cms.untracked.InputTag("muons"),
00055                                        ptMin = cms.untracked.double(15.0)
00056                                 ),
00057                                 
00058                                 photons = cms.untracked.PSet(
00059                                           doPhotons = cms.untracked.bool(True),
00060                                           PhotonCollection = cms.untracked.InputTag("photons"),
00061                                           etMin = cms.untracked.double(10.0),
00062                                           ECALIso = cms.untracked.double(3.0)
00063                                           ),
00064                                 EtaMax = cms.untracked.double(2.5)
00065 )
00066 
00067 
00068 #Match PF Taus to MC
00069 TauRefCombiner = cms.EDProducer("HLTTauRefCombiner",
00070                                 InputCollections = cms.VInputTag(
00071                                         cms.InputTag("TauMCProducer","HadronicTauOneAndThreeProng"),
00072                                         cms.InputTag("TauRelvalRefProducer","PFTaus")
00073                                 ),
00074                                 MatchDeltaR = cms.double(0.15),
00075                                 OutputCollection = cms.string("")
00076 )                                
00077 
00078 
00079 
00080 
00081 hltTauRef = cms.Sequence(TauMCProducer*TauRelvalRefProducer*TauRefCombiner)
00082 
00083 
00084 
00085 
00086 
00087 
00088 
00089 
00090