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 639 of file jetTools.py.

641  print "-------------------------------------------------------"
642  print " Error: the option 'outputModule' is not supported"
643  print " anymore by:"
644  print " ", obj._label
645  print " please use 'outputModules' now and specify the"
646  print " names of all needed OutModules in there"
647  print " (default: ['out'])"
648  print "-------------------------------------------------------"
649  raise KeyError, "unsupported option 'outputModule' used in '"+obj._label+"'"
def depricatedOptionOutputModule
Definition: jetTools.py:639
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  jetAlgo.doPVCorrection = True
23  jetAlgo.srcPVs = cms.InputTag("goodOfflinePrimaryVertices")
24  return jetAlgo
def jetAlgo
Definition: jetTools.py:6