CMS 3D CMS Logo

PFTauPrimaryVertexProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from RecoTauTag.RecoTau.PFRecoTauQualityCuts_cfi import PFTauQualityCuts
3 PFTauPrimaryVertexProducer = cms.EDProducer("PFTauPrimaryVertexProducer",
4  PFTauTag = cms.InputTag("hpsPFTauProducer"),
5  ElectronTag = cms.InputTag("MyElectrons"),
6  MuonTag = cms.InputTag("MyMuons"),
7  PVTag = cms.InputTag("offlinePrimaryVertices"),
8  beamSpot = cms.InputTag("offlineBeamSpot"),
9  #Algorithm: 0 - use tau-jet vertex, 1 - use vertex[0]
10  Algorithm = cms.int32(0),
11  qualityCuts = PFTauQualityCuts,
12  useBeamSpot = cms.bool(True),
13  RemoveMuonTracks = cms.bool(False),
14  RemoveElectronTracks = cms.bool(False),
15  useSelectedTaus = cms.bool(False),
16  discriminators = cms.VPSet(cms.PSet(discriminator = cms.InputTag('hpsPFTauDiscriminationByDecayModeFinding'),
17  selectionCut = cms.double(0.5))),
18  cut = cms.string("pt > 18.0 & abs(eta)<2.3")
19  )
20 
PFRecoTauQualityCuts_cfi