CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PDWG_TauSkim_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
4 TauSkimPFTausSelected = cms.EDFilter("PFTauSelector",
5  src = cms.InputTag("hpsPFTauProducer"),
6  discriminators = cms.VPSet(
7  cms.PSet( discriminator=cms.InputTag("hpsPFTauDiscriminationByDecayModeFinding"),
8  selectionCut=cms.double(0.5)
9  )
10  ),
11  discriminatorContainers = cms.VPSet(
12  cms.PSet( discriminator=cms.InputTag("hpsPFTauBasicDiscriminators"),
13  rawValues=cms.vstring(),
14  selectionCuts=cms.vdouble(),
15  workingPoints=cms.vstring("ByLooseCombinedIsolationDBSumPtCorr3Hits")
16  )
17  ),
18  cut = cms.string('et > 15. && abs(eta) < 2.5')
19 )
20 
21 TauSkimPFTauSkimmedBy1 = cms.EDFilter("CandViewCountFilter",
22  src = cms.InputTag('TauSkimPFTausSelected'),
23  minNumber = cms.uint32(1)
24 )
25 
26 TauSkimPFTauSkimmedBy2 = cms.EDFilter("CandViewCountFilter",
27  src = cms.InputTag('TauSkimPFTausSelected'),
28  minNumber = cms.uint32(2)
29 )
30 
31 
32 tauSkim1Sequence = cms.Sequence(
33  TauSkimPFTausSelected *
34  TauSkimPFTauSkimmedBy1
35  )
36 
37 tauSkim2Sequence = cms.Sequence(
38  TauSkimPFTausSelected *
39  TauSkimPFTauSkimmedBy2
40  )
41