Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:45

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 
0004 import CondCore.DBCommon.CondDBSetup_cfi
0005 import TrackingTools.TransientTrack.TransientTrackBuilder_cfi
0006 
0007 import L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff
0008 
0009 #import HLTrigger.HLTfilters.hltLevel1GTSeed_cfi as trig
0010 #TauSkimTrigger = trig.hltLevel1GTSeed.clone()
0011 #TauSkimTrigger.L1TechTriggerSeeding = cms.bool(True)
0012 #TauSkimTrigger.L1SeedsLogicalExpression = cms.string('(0 AND (40 OR 41) AND NOT (36 OR 37 OR 38 OR 39))')
0013 
0014 #TauSkimScraping = cms.EDFilter("FilterOutScraping",
0015 #       applyfilter = cms.untracked.bool(True),
0016 #       debugOn = cms.untracked.bool(False),
0017 #       numtrack = cms.untracked.uint32(10),
0018 #       thresh = cms.untracked.double(0.25)
0019 #)
0020 
0021 TauSkimPFTausSelected = cms.EDFilter("PFTauSelector",
0022    src = cms.InputTag("hpsPFTauProducer"),
0023    discriminators = cms.VPSet(
0024       cms.PSet( discriminator=cms.InputTag("hpsPFTauDiscriminationByDecayModeFinding"),
0025          selectionCut=cms.double(0.5)           
0026       )
0027    ),
0028    discriminatorContainers = cms.VPSet(
0029       cms.PSet( discriminator=cms.InputTag("hpsPFTauBasicDiscriminators"),
0030          rawValues=cms.vstring(),
0031          selectionCuts=cms.vdouble(),
0032          workingPoints=cms.vstring("ByLooseCombinedIsolationDBSumPtCorr3Hits")
0033       )
0034    ),
0035    cut = cms.string('et > 15. && abs(eta) < 2.5') 
0036 )
0037 
0038 TauSkimPFTauSkimmed = cms.EDFilter("CandViewCountFilter",
0039  src = cms.InputTag('TauSkimPFTausSelected'),
0040  minNumber = cms.uint32(2)
0041 )
0042 
0043 tauSkimSequence = cms.Sequence(
0044 #   TauSkimTrigger *
0045 #   TauSkimScraping *
0046    TauSkimPFTausSelected *
0047    TauSkimPFTauSkimmed
0048    )
0049