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

01136                                      :
01137     print "-------------------------------------------------------"
01138     print " Error: the option 'outputModule' is not supported"
01139     print "        anymore by:"
01140     print "                   ", obj._label
01141     print "        please use 'outputModules' now and specify the"
01142     print "        names of all needed OutModules in there"
01143     print "        (default: ['out'])"
01144     print "-------------------------------------------------------"
01145     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