Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:21:04

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 TauMCProducer  = cms.EDProducer("HLTTauMCProducer",
0004                               GenParticles  = cms.untracked.InputTag("genParticles"),
0005                   GenMET        = cms.untracked.InputTag("genMetTrue"),
0006                               ptMinTau      = cms.untracked.double(15),
0007                               ptMinMuon     = cms.untracked.double(15),
0008                               ptMinElectron = cms.untracked.double(15),
0009                               BosonID       = cms.untracked.vint32(23,24,25,32,33,34,35,36,37),
0010                               EtaMin        = cms.untracked.double(-2.5),
0011                               EtaMax        = cms.untracked.double(2.5),
0012                               PhiMin        = cms.untracked.double(-3.15),
0013                               PhiMax        = cms.untracked.double(3.15)
0014 )
0015 
0016 
0017 
0018 #Create LorentzVectors for offline objects
0019 TauRelvalRefProducer = cms.EDProducer("HLTTauRefProducer",
0020 
0021                                 PFTaus = cms.untracked.PSet(
0022                                    PFTauDiscriminators = cms.untracked.VInputTag(
0023                                                     cms.InputTag("hpsPFTauDiscriminationByDecayModeFinding")
0024                                    ),
0025                                    PFTauDiscriminatorContainers = cms.untracked.VInputTag(
0026                                                     cms.InputTag("hpsPFTauBasicDiscriminators")
0027                                    ),
0028                                    PFTauDiscriminatorContainerWPs =  cms.untracked.vstring("ByLooseCombinedIsolationDBSumPtCorr3Hits"),
0029                                    doPFTaus = cms.untracked.bool(True),
0030                                    ptMin = cms.untracked.double(15.0),
0031                                    etaMin = cms.untracked.double(-2.5),
0032                                    etaMax = cms.untracked.double(2.5),
0033                                    phiMin = cms.untracked.double(-3.15),
0034                                    phiMax = cms.untracked.double(3.15),
0035                                    PFTauProducer = cms.untracked.InputTag("hpsPFTauProducer")
0036                                    ),
0037                                 Electrons = cms.untracked.PSet(
0038                                    ElectronCollection = cms.untracked.InputTag("gsfElectrons"),
0039                                    doID = cms.untracked.bool(False),
0040                                    InnerConeDR = cms.untracked.double(0.02),
0041                                    MaxIsoVar = cms.untracked.double(0.02),
0042                                    doElectrons = cms.untracked.bool(True),
0043                                    TrackCollection = cms.untracked.InputTag("generalTracks"),
0044                                    OuterConeDR = cms.untracked.double(0.6),
0045                                    ptMin = cms.untracked.double(15.0),
0046                                    doTrackIso = cms.untracked.bool(True),
0047                                    ptMinTrack = cms.untracked.double(1.5),
0048                                    lipMinTrack = cms.untracked.double(0.2),
0049                                    IdCollection = cms.untracked.InputTag("elecIDext")
0050                                    ),
0051                                 Jets = cms.untracked.PSet(
0052                                   JetCollection = cms.untracked.InputTag("iterativeCone5CaloJets"),
0053                                   etMin = cms.untracked.double(10.0),
0054                                   doJets = cms.untracked.bool(True)
0055                                   ),
0056                                 Towers = cms.untracked.PSet(
0057                                         TowerCollection = cms.untracked.InputTag("towerMaker"),
0058                                         etMin = cms.untracked.double(10.0),
0059                                         doTowers = cms.untracked.bool(True),
0060                                         towerIsolation = cms.untracked.double(5.0)
0061                                 ),
0062                                 Muons = cms.untracked.PSet(
0063                                        doMuons = cms.untracked.bool(True),
0064                                        MuonCollection = cms.untracked.InputTag("muons"),
0065                                        ptMin = cms.untracked.double(15.0)
0066                                 ),
0067                                 Photons = cms.untracked.PSet(
0068                                           doPhotons = cms.untracked.bool(True),
0069                                           PhotonCollection = cms.untracked.InputTag("photons"),
0070                                           etMin = cms.untracked.double(10.0),
0071                                           ECALIso = cms.untracked.double(3.0)
0072                                           ),
0073                                 MET = cms.untracked.PSet(
0074                                           doMET = cms.untracked.bool(True),
0075                                           METCollection = cms.untracked.InputTag("caloMet"),
0076                                           ptMin = cms.untracked.double(15.0)
0077                                 ),
0078                                 EtaMin = cms.untracked.double(-2.5),
0079                                 EtaMax = cms.untracked.double(2.5),
0080                                 PhiMin = cms.untracked.double(-3.15),
0081                                 PhiMax = cms.untracked.double(3.15)
0082 )
0083 
0084 
0085 #Match PF Taus to MC
0086 TauRefCombiner = cms.EDProducer("HLTTauRefCombiner",
0087                                 InputCollections = cms.VInputTag(
0088                                         cms.InputTag("TauMCProducer","HadronicTauOneAndThreeProng"),
0089                                         cms.InputTag("TauRelvalRefProducer","PFTaus")
0090                                 ),
0091                                 MatchDeltaR = cms.double(0.15),
0092                                 OutputCollection = cms.string("")
0093 )                                
0094 
0095 
0096 
0097 
0098 hltTauRef = cms.Sequence(TauMCProducer*TauRelvalRefProducer*TauRefCombiner)