CMS 3D CMS Logo

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  cms.PSet( discriminator=cms.InputTag("hpsPFTauDiscriminationByLooseIsolation"),
11  selectionCut=cms.double(0.5)
12  ),
13 
14  ),
15  cut = cms.string('et > 15. && abs(eta) < 2.5')
16 )
17 
18 TauSkimPFTauSkimmedBy1 = cms.EDFilter("CandViewCountFilter",
19  src = cms.InputTag('TauSkimPFTausSelected'),
20  minNumber = cms.uint32(1)
21 )
22 
23 TauSkimPFTauSkimmedBy2 = cms.EDFilter("CandViewCountFilter",
24  src = cms.InputTag('TauSkimPFTausSelected'),
25  minNumber = cms.uint32(2)
26 )
27 
28 
29 tauSkim1Sequence = cms.Sequence(
30  TauSkimPFTausSelected *
31  TauSkimPFTauSkimmedBy1
32  )
33 
34 tauSkim2Sequence = cms.Sequence(
35  TauSkimPFTausSelected *
36  TauSkimPFTauSkimmedBy2
37  )
38