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  TrackCollectionTag = cms.InputTag("generalTracks"),
10  #Algorithm: 0 - use tau-jet vertex, 1 - use vertex[0]
11  Algorithm = cms.int32(0),
12  qualityCuts = PFTauQualityCuts,
13  useBeamSpot = cms.bool(True),
14  RemoveMuonTracks = cms.bool(False),
15  RemoveElectronTracks = cms.bool(False),
16  useSelectedTaus = cms.bool(False),
17  discriminators = cms.VPSet(cms.PSet(discriminator = cms.InputTag('hpsPFTauDiscriminationByDecayModeFinding'),selectionCut = cms.double(0.5))),
18  cut = cms.string("pt > 18.0 & abs(eta)<2.3")
19  )
20