Public Member Functions | |
def | __init__ (self, cfg_ana, cfg_comp, looperName) |
def | attachIsoAnnulus04 (self, mu) |
def | attachIsolationScan (self, mu) |
def | attachMiniIsolation (self, mu) |
def | beginLoop (self, setup) |
def | declareHandles (self) |
def | isFromB (self, particle, bid=5, done={}) |
def | makeAllElectrons (self, event) |
def | makeAllMuons (self, event) |
def | makeLeptons (self, event) |
def | matchAnyLeptons (self, event) |
def | matchLeptons (self, event) |
def | matchToPhotons (self, event) |
def | process (self, event) |
Public Attributes | |
muonScaleCorrector | |
Static Public Attributes | |
class_object | |
conf | |
doIsoAnnulus | |
doIsolationScan | |
doMatchToPhotons | |
doMiniIsolation | |
electronEnergyCalibrator | |
electrons | |
eleEffectiveArea | |
Duplicate removal for fast sim (to be checked if still necessary in latest greatest 5.3.X releases) More... | |
eleIsoCut | |
IsolationComputer | |
miniIsolationPUCorr | |
miniIsolationVetoLeptons | |
inclusive leptons = all leptons that could be considered somewhere in the analysis, with minimal requirements (used e.g. More... | |
muEffectiveArea | |
muIsoCut | |
muons | |
rhoElectron | |
rhoMuon | |
verbose | |
Definition at line 22 of file LeptonAnalyzer.py.
def objects.LeptonAnalyzer.LeptonAnalyzer.__init__ | ( | self, | |
cfg_ana, | |||
cfg_comp, | |||
looperName | |||
) |
Definition at line 25 of file LeptonAnalyzer.py.
References analyzer.Analyzer.cfg_ana.
def objects.LeptonAnalyzer.LeptonAnalyzer.attachIsoAnnulus04 | ( | self, | |
mu | |||
) |
Definition at line 479 of file LeptonAnalyzer.py.
References SiStripPI.max, and min().
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
def objects.LeptonAnalyzer.LeptonAnalyzer.attachIsolationScan | ( | self, | |
mu | |||
) |
Definition at line 491 of file LeptonAnalyzer.py.
References funct.abs().
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
def objects.LeptonAnalyzer.LeptonAnalyzer.attachMiniIsolation | ( | self, | |
mu | |||
) |
Definition at line 434 of file LeptonAnalyzer.py.
References funct.abs(), SiStripPI.max, min(), and objects.LeptonAnalyzer.LeptonAnalyzer.miniIsolationPUCorr.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
def objects.LeptonAnalyzer.LeptonAnalyzer.beginLoop | ( | self, | |
setup | |||
) |
Definition at line 135 of file LeptonAnalyzer.py.
def objects.LeptonAnalyzer.LeptonAnalyzer.declareHandles | ( | self | ) |
Definition at line 114 of file LeptonAnalyzer.py.
References objects.LeptonAnalyzer.LeptonAnalyzer.doIsolationScan, objects.LeptonAnalyzer.LeptonAnalyzer.doMatchToPhotons, objects.LeptonAnalyzer.LeptonAnalyzer.doMiniIsolation, core.Analyzer.Analyzer.handles, HTTP.RequestManager.handles, and core.Analyzer.Analyzer.mchandles.
def objects.LeptonAnalyzer.LeptonAnalyzer.isFromB | ( | self, | |
particle, | |||
bid = 5 , |
|||
done = {} |
|||
) |
Definition at line 545 of file LeptonAnalyzer.py.
References funct.abs(), and objects.LeptonAnalyzer.LeptonAnalyzer.isFromB().
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.isFromB(), and objects.LeptonAnalyzer.LeptonAnalyzer.matchAnyLeptons().
def objects.LeptonAnalyzer.LeptonAnalyzer.makeAllElectrons | ( | self, | |
event | |||
) |
make a list of all electrons, and apply basic corrections to them
Definition at line 319 of file LeptonAnalyzer.py.
References funct.abs(), objects.LeptonAnalyzer.LeptonAnalyzer.eleEffectiveArea, PVValHelper.eta, objects.autophobj.float, core.Analyzer.Analyzer.handles, HTTP.RequestManager.handles, genParticles_cff.map, SiStripPI.max, and str.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
def objects.LeptonAnalyzer.LeptonAnalyzer.makeAllMuons | ( | self, | |
event | |||
) |
make a list of all muons, and apply basic corrections to them
Definition at line 239 of file LeptonAnalyzer.py.
References funct.abs(), analyzer.Analyzer.cfg_ana, objects.autophobj.float, core.Analyzer.Analyzer.handles, HTTP.RequestManager.handles, genParticles_cff.map, SiStripPI.max, objects.LeptonAnalyzer.LeptonAnalyzer.muEffectiveArea, objects.LeptonAnalyzer.LeptonAnalyzer.muonScaleCorrector, and str.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
def objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons | ( | self, | |
event | |||
) |
Definition at line 146 of file LeptonAnalyzer.py.
References funct.abs(), objects.LeptonAnalyzer.LeptonAnalyzer.attachIsoAnnulus04(), objects.LeptonAnalyzer.LeptonAnalyzer.attachIsolationScan(), objects.LeptonAnalyzer.LeptonAnalyzer.attachMiniIsolation(), deltar.bestMatch(), analyzer.Analyzer.cfg_ana, objects.IsoTrackAnalyzer.IsoTrackAnalyzer.doIsoAnnulus, objects.LeptonAnalyzer.LeptonAnalyzer.doIsoAnnulus, objects.LeptonAnalyzer.LeptonAnalyzer.doIsolationScan, objects.LeptonAnalyzer.LeptonAnalyzer.doMiniIsolation, objects.LeptonAnalyzer.LeptonAnalyzer.eleIsoCut, core.Analyzer.Analyzer.handles, HTTP.RequestManager.handles, objects.LeptonAnalyzer.LeptonAnalyzer.makeAllElectrons(), objects.LeptonAnalyzer.LeptonAnalyzer.makeAllMuons(), objects.LeptonAnalyzer.LeptonAnalyzer.miniIsolationVetoLeptons, and objects.LeptonAnalyzer.LeptonAnalyzer.muIsoCut.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.process().
def objects.LeptonAnalyzer.LeptonAnalyzer.matchAnyLeptons | ( | self, | |
event | |||
) |
Definition at line 555 of file LeptonAnalyzer.py.
References funct.abs(), objects.LeptonAnalyzer.LeptonAnalyzer.isFromB(), genutils.isPromptLepton(), and deltar.matchObjectCollection3().
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.process().
def objects.LeptonAnalyzer.LeptonAnalyzer.matchLeptons | ( | self, | |
event | |||
) |
Definition at line 524 of file LeptonAnalyzer.py.
References funct.abs(), deltaR(), deltar.matchObjectCollection3(), SiStripPI.max, and min().
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.process().
def objects.LeptonAnalyzer.LeptonAnalyzer.matchToPhotons | ( | self, | |
event | |||
) |
Definition at line 579 of file LeptonAnalyzer.py.
References funct.abs(), deltaR(), SoftLeptonByDistance_cfi.distance, deltar.matchObjectCollection3(), core.Analyzer.Analyzer.mchandles, and min().
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.process().
def objects.LeptonAnalyzer.LeptonAnalyzer.process | ( | self, | |
event | |||
) |
Definition at line 600 of file LeptonAnalyzer.py.
References objects.LeptonAnalyzer.LeptonAnalyzer.doMatchToPhotons, objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons(), objects.LeptonAnalyzer.LeptonAnalyzer.matchAnyLeptons(), objects.LeptonAnalyzer.LeptonAnalyzer.matchLeptons(), objects.LeptonAnalyzer.LeptonAnalyzer.matchToPhotons(), and core.Analyzer.Analyzer.readCollections().
|
static |
Definition at line 618 of file LeptonAnalyzer.py.
|
static |
Definition at line 54 of file LeptonAnalyzer.py.
|
static |
Definition at line 93 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
|
static |
Definition at line 98 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.declareHandles(), and objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
|
static |
Definition at line 107 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.declareHandles(), and objects.LeptonAnalyzer.LeptonAnalyzer.process().
|
static |
Definition at line 82 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.declareHandles(), and objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
|
static |
Definition at line 55 of file LeptonAnalyzer.py.
|
static |
Definition at line 621 of file LeptonAnalyzer.py.
|
static |
Duplicate removal for fast sim (to be checked if still necessary in latest greatest 5.3.X releases)
Definition at line 79 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeAllElectrons().
|
static |
Definition at line 65 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
|
static |
Definition at line 89 of file LeptonAnalyzer.py.
|
static |
Definition at line 84 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.attachMiniIsolation().
|
static |
inclusive leptons = all leptons that could be considered somewhere in the analysis, with minimal requirements (used e.g.
to match to MC) selected leptons = subset of inclusive leptons passing some basic id definition and pt requirement other leptons = subset of inclusive leptons failing some basic id definition and pt requirement
Definition at line 85 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
|
static |
Definition at line 80 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeAllMuons().
|
static |
Definition at line 71 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
|
static |
Definition at line 620 of file LeptonAnalyzer.py.
objects.LeptonAnalyzer.LeptonAnalyzer.muonScaleCorrector |
Definition at line 35 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeAllMuons().
|
static |
Definition at line 623 of file LeptonAnalyzer.py.
|
static |
Definition at line 622 of file LeptonAnalyzer.py.
|
static |
Definition at line 617 of file LeptonAnalyzer.py.
Referenced by python.diff_provenance.difference.list_diff(), python.diffProv.difference.list_diff(), python.diff_provenance.difference.module_diff(), python.diffProv.difference.module_diff(), python.diff_provenance.difference.onefilemodules(), python.diffProv.difference.onefilemodules(), and objects.VertexAnalyzer.VertexAnalyzer.process().