Public Member Functions | |
def | __init__ (self, cfg_ana, cfg_comp, looperName) |
def | beginLoop (self, setup) |
def | declareHandles (self) |
def | makeBPartons (self, event) |
def | process (self, event) |
Public Attributes | |
bquarkPtCut | |
status2Only | |
Makes: event.genallbquarks, event.genallcquarks: list of all b and c quarks (without doublecounting of b->b and c->c chains). if status2Only == True, only status 2 ones are included. event.allBPartons all status 2 b-quarks, sorted by pt decreasingly event.bPartons: status 2 b-quarks passing a pt cut bquarkPtCut (default: 15) Requires: event.genParticles
Definition at line 4 of file GenHeavyFlavourAnalyzer.py.
def gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.__init__ | ( | self, | |
cfg_ana, | |||
cfg_comp, | |||
looperName | |||
) |
Definition at line 19 of file GenHeavyFlavourAnalyzer.py.
def gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.beginLoop | ( | self, | |
setup | |||
) |
Definition at line 27 of file GenHeavyFlavourAnalyzer.py.
def gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.declareHandles | ( | self | ) |
Definition at line 24 of file GenHeavyFlavourAnalyzer.py.
def gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.makeBPartons | ( | self, | |
event | |||
) |
Definition at line 30 of file GenHeavyFlavourAnalyzer.py.
References funct.abs(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.bquarkPtCut, and PbPb_ZMuSkimMuonDPG_cff.deltaR.
Referenced by gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process().
def gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process | ( | self, | |
event | |||
) |
Definition at line 42 of file GenHeavyFlavourAnalyzer.py.
References funct.abs(), analyzer.Analyzer.cfg_comp, looper.Looper.cfg_comp, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.makeBPartons(), EgammaValidation_cff.pdgId, core.Analyzer.Analyzer.readCollections(), and gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.status2Only.
gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.bquarkPtCut |
Definition at line 22 of file GenHeavyFlavourAnalyzer.py.
Referenced by gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.makeBPartons().
gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.status2Only |
Definition at line 21 of file GenHeavyFlavourAnalyzer.py.
Referenced by gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process().