CMS 3D CMS Logo

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

00576                                      :
00577     print "-------------------------------------------------------"
00578     print " Error: the option 'outputModule' is not supported"
00579     print "        anymore by:"
00580     print "                   ", obj._label
00581     print "        please use 'outputModules' now and specify the"
00582     print "        names of all needed OutModules in there"
00583     print "        (default: ['out'])"
00584     print "-------------------------------------------------------"
00585     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 = 'pfNoElectronJME'
00022     return jetAlgo