CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions | Variables
jetTools Namespace Reference

Classes

class  AddJetCollection
 
class  AddJetID
 
class  RunBTagging
 
class  SetTagInfos
 
class  SwitchJetCollection
 
class  SwitchJetCorrLevels
 

Functions

def depricatedOptionOutputModule
 
def jetAlgo
 

Variables

list _allowedBTagDiscriminators
 
list _allowedBTagInfos
 
list _defaultBTagDiscriminators
 
list _defaultBTagInfos
 

Function Documentation

def jetTools.depricatedOptionOutputModule (   obj)

Definition at line 1411 of file jetTools.py.

Referenced by jetTools.AddJetCollection.__call__(), and jetTools.SwitchJetCollection.__call__().

1413  print "-------------------------------------------------------"
1414  print " Error: the option 'outputModule' is not supported"
1415  print " anymore by:"
1416  print " ", obj._label
1417  print " please use 'outputModules' now and specify the"
1418  print " names of all needed OutModules in there"
1419  print " (default: ['out'])"
1420  print "-------------------------------------------------------"
1421  raise KeyError, "unsupported option 'outputModule' used in '"+obj._label+"'"
def depricatedOptionOutputModule
Definition: jetTools.py:1411
def jetTools.jetAlgo (   algo)

Definition at line 6 of file jetTools.py.

6 
7 def jetAlgo( algo ):
8 
9  # print 'PF2PAT: selecting jet algorithm ', algo
10 
11  if algo == 'IC5':
12 #allPfJets = RecoJets.JetProducers.ic5PFJets_cfi.iterativeCone5PFJets.clone()
13  jetAlgo = RecoJets.JetProducers.ic5PFJets_cfi.iterativeCone5PFJets.clone()
14  elif algo == 'AK5':
15  jetAlgo = RecoJets.JetProducers.ak5PFJets_cfi.ak5PFJets.clone()
16  elif algo == 'AK7':
17  jetAlgo = RecoJets.JetProducers.ak5PFJets_cfi.ak5PFJets.clone()
18  jetAlgo.rParam = cms.double(0.7)
19  jetAlgo.doAreaFastjet = cms.bool(False)
20 
21  jetAlgo.src = 'pfNoElectron'
22  return jetAlgo
def jetAlgo
Definition: jetTools.py:6

Variable Documentation

list jetTools._allowedBTagDiscriminators

Definition at line 81 of file jetTools.py.

list jetTools._allowedBTagInfos
Initial value:
1 = ['impactParameterTagInfos'
2  ,'secondaryVertexTagInfos'
3  ,'secondaryVertexNegativeTagInfos'
4  ,'softMuonTagInfos'
5  ,'softPFMuonsTagInfos'
6  ,'softPFElectronsTagInfos'
7  ,'inclusiveSecondaryVertexFinderTagInfos'
8  ,'inclusiveSecondaryVertexFinderFilteredTagInfos'
9  ]

Definition at line 15 of file jetTools.py.

list jetTools._defaultBTagDiscriminators

Definition at line 24 of file jetTools.py.

list jetTools._defaultBTagInfos
Initial value:
1 = ['impactParameterTagInfos'
2  ,'secondaryVertexTagInfos'
3  #,'secondaryVertexNegativeTagInfos'
4  #,'softMuonTagInfos'
5  #,'softPFMuonsTagInfos'
6  #,'softPFElectronsTagInfos'
7  #,'inclusiveSecondaryVertexFinderTagInfos'
8  #,'inclusiveSecondaryVertexFinderFilteredTagInfos'
9  ]

Definition at line 6 of file jetTools.py.