Public Member Functions | |
def | __init__ |
def | beginLoop |
def | declareHandles |
def | makeBPartons |
def | process |
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 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(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.makeBPartons(), benchmark_cfg.pdgId, core.Analyzer.Analyzer.readCollections(), and gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.status2Only.
Referenced by ConfigBuilder.ConfigBuilder.__init__(), ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.anyOf(), ConfigBuilder.ConfigBuilder.completeInputCommand(), ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules.leave(), ConfigBuilder.ConfigBuilder.prepare(), ConfigBuilder.ConfigBuilder.prepare_ALCA(), ConfigBuilder.ConfigBuilder.prepare_DQM(), ConfigBuilder.ConfigBuilder.prepare_FASTSIM(), ConfigBuilder.ConfigBuilder.prepare_HARVESTING(), ConfigBuilder.ConfigBuilder.prepare_HLT(), ConfigBuilder.ConfigBuilder.prepare_LHE(), ConfigBuilder.ConfigBuilder.prepare_PATFILTER(), ConfigBuilder.ConfigBuilder.prepare_VALIDATION(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder.renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder.scheduleSequence().
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().