CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFRecoTauChargedHadronQualityPlugins_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 '''
4 
5 Configuration for ChargedHadron producer plugins.
6 
7 Author: Chriastian Veelken, LLR
8 
9 
10 '''
11 
12 isChargedPFCandidate = cms.PSet(
13  name = cms.string('ChargedPFCandidate'),
14  plugin = cms.string('PFRecoTauChargedHadronStringQuality'),
15  selection = cms.string("algoIs('kChargedPFCandidate')"),
16  selectionPassFunction = cms.string("-pt"), # CV: give preference to highest Pt candidate
17  selectionFailValue = cms.double(1.e+3)
18 )
19 
20 isTrack = isChargedPFCandidate.clone(
21  selection = cms.string("algoIs('kTrack')")
22 )
23 
24 isPFNeutralHadron = isChargedPFCandidate.clone(
25  selection = cms.string("algoIs('kPFNeutralHadron')")
26 )