CMS 3D CMS Logo

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

Classes

class  AddJetCollection
 
class  AddJetID
 
class  SetTagInfos
 
class  SwitchJetCollection
 

Functions

def depricatedOptionOutputModule
 
def jetAlgo
 

Function Documentation

def jetTools.depricatedOptionOutputModule (   obj)

Definition at line 630 of file jetTools.py.

632  print "-------------------------------------------------------"
633  print " Error: the option 'outputModule' is not supported"
634  print " anymore by:"
635  print " ", obj._label
636  print " please use 'outputModules' now and specify the"
637  print " names of all needed OutModules in there"
638  print " (default: ['out'])"
639  print "-------------------------------------------------------"
640  raise KeyError, "unsupported option 'outputModule' used in '"+obj._label+"'"
def depricatedOptionOutputModule
Definition: jetTools.py:630
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 = 'pfNoElectronJME'
22  return jetAlgo
def jetAlgo
Definition: jetTools.py:6