CMS 3D CMS Logo

Classes | Functions

jetTools Namespace Reference

Classes

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

Functions

def depricatedOptionOutputModule
def jetAlgo

Function Documentation

def jetTools::depricatedOptionOutputModule (   obj)

Definition at line 1147 of file jetTools.py.

01148                                      :
01149     print "-------------------------------------------------------"
01150     print " Error: the option 'outputModule' is not supported"
01151     print "        anymore by:"
01152     print "                   ", obj._label
01153     print "        please use 'outputModules' now and specify the"
01154     print "        names of all needed OutModules in there"
01155     print "        (default: ['out'])"
01156     print "-------------------------------------------------------"
01157     raise KeyError, "unsupported option 'outputModule' used in '"+obj._label+"'"
def jetTools::jetAlgo (   algo)

Definition at line 6 of file jetTools.py.

00007                    :
00008     
00009     # print 'PF2PAT: selecting jet algorithm ', algo
00010     
00011     if algo == 'IC5':
00012 #allPfJets = RecoJets.JetProducers.ic5PFJets_cfi.iterativeCone5PFJets.clone()
00013         jetAlgo = RecoJets.JetProducers.ic5PFJets_cfi.iterativeCone5PFJets.clone()
00014     elif algo == 'AK5':
00015         jetAlgo = RecoJets.JetProducers.ak5PFJets_cfi.ak5PFJets.clone()
00016     elif algo == 'AK7':
00017         jetAlgo = RecoJets.JetProducers.ak5PFJets_cfi.ak5PFJets.clone()    
00018         jetAlgo.rParam = cms.double(0.7)
00019         jetAlgo.doAreaFastjet = cms.bool(False)
00020         
00021     jetAlgo.src = 'pfNoElectron'
00022     return jetAlgo