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 21 of file LeptonAnalyzer.py.
def objects.LeptonAnalyzer.LeptonAnalyzer.__init__ | ( | self, | |
cfg_ana, | |||
cfg_comp, | |||
looperName | |||
) |
Definition at line 24 of file LeptonAnalyzer.py.
References analyzer.Analyzer.cfg_ana.
def objects.LeptonAnalyzer.LeptonAnalyzer.attachIsoAnnulus04 | ( | self, | |
mu | |||
) |
Definition at line 478 of file LeptonAnalyzer.py.
References hpstanc_transforms.max, and min().
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
def objects.LeptonAnalyzer.LeptonAnalyzer.attachIsolationScan | ( | self, | |
mu | |||
) |
Definition at line 490 of file LeptonAnalyzer.py.
References funct.abs().
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
def objects.LeptonAnalyzer.LeptonAnalyzer.attachMiniIsolation | ( | self, | |
mu | |||
) |
Definition at line 433 of file LeptonAnalyzer.py.
References funct.abs(), hpstanc_transforms.max, min(), and objects.LeptonAnalyzer.LeptonAnalyzer.miniIsolationPUCorr.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
def objects.LeptonAnalyzer.LeptonAnalyzer.beginLoop | ( | self, | |
setup | |||
) |
Definition at line 134 of file LeptonAnalyzer.py.
def objects.LeptonAnalyzer.LeptonAnalyzer.declareHandles | ( | self | ) |
Definition at line 113 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 544 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 318 of file LeptonAnalyzer.py.
References funct.abs(), objects.LeptonAnalyzer.LeptonAnalyzer.eleEffectiveArea, stringResolutionProvider_cfi.eta, objects.autophobj.float, core.Analyzer.Analyzer.handles, HTTP.RequestManager.handles, genParticles_cff.map, hpstanc_transforms.max, and harvestTrackValidationPlots.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 238 of file LeptonAnalyzer.py.
References funct.abs(), analyzer.Analyzer.cfg_ana, objects.autophobj.float, core.Analyzer.Analyzer.handles, HTTP.RequestManager.handles, genParticles_cff.map, hpstanc_transforms.max, objects.LeptonAnalyzer.LeptonAnalyzer.muEffectiveArea, objects.LeptonAnalyzer.LeptonAnalyzer.muonScaleCorrector, and harvestTrackValidationPlots.str.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
def objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons | ( | self, | |
event | |||
) |
Definition at line 145 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 554 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 523 of file LeptonAnalyzer.py.
References funct.abs(), deltaR(), deltar.matchObjectCollection3(), hpstanc_transforms.max, and min().
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.process().
def objects.LeptonAnalyzer.LeptonAnalyzer.matchToPhotons | ( | self, | |
event | |||
) |
Definition at line 578 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 599 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().
Referenced by ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.completeInputCommand(), ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules.leave(), ConfigBuilder.ConfigBuilder.prepare(), ConfigBuilder.ConfigBuilder.prepare_ALCA(), ConfigBuilder.ConfigBuilder.prepare_DQM(), 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().
|
static |
Definition at line 617 of file LeptonAnalyzer.py.
|
static |
Definition at line 53 of file LeptonAnalyzer.py.
|
static |
Definition at line 92 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
|
static |
Definition at line 97 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.declareHandles(), and objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
|
static |
Definition at line 106 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.declareHandles(), and objects.LeptonAnalyzer.LeptonAnalyzer.process().
|
static |
Definition at line 81 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.declareHandles(), and objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
|
static |
Definition at line 54 of file LeptonAnalyzer.py.
|
static |
Definition at line 620 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 78 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeAllElectrons().
|
static |
Definition at line 64 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
|
static |
Definition at line 88 of file LeptonAnalyzer.py.
|
static |
Definition at line 83 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 84 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
|
static |
Definition at line 79 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeAllMuons().
|
static |
Definition at line 70 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
|
static |
Definition at line 619 of file LeptonAnalyzer.py.
objects.LeptonAnalyzer.LeptonAnalyzer.muonScaleCorrector |
Definition at line 34 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeAllMuons().
|
static |
Definition at line 622 of file LeptonAnalyzer.py.
|
static |
Definition at line 621 of file LeptonAnalyzer.py.
|
static |
Definition at line 616 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().