Public Member Functions | |
def | __init__ |
def | attachIsoAnnulus04 |
def | attachIsolationScan |
def | attachMiniIsolation |
def | beginLoop |
def | declareHandles |
def | isFromB |
def | makeAllElectrons |
def | makeAllMuons |
def | makeLeptons |
def | matchAnyLeptons |
def | matchLeptons |
def | matchToPhotons |
def | process |
Public Attributes | |
doMatchToPhotons | |
eleEffectiveArea | |
Duplicate removal for fast sim (to be checked if still necessary in latest greatest 5.3.X releases) More... | |
miniIsolationPUCorr | |
miniIsolationVetoLeptons | |
inclusive leptons = all leptons that could be considered somewhere in the analysis, with minimal requirements (used e.g. More... | |
muEffectiveArea | |
muonScaleCorrector | |
Static Public Attributes | |
class_object = LeptonAnalyzer, | |
conf = cfg_ana.doElectronScaleCorrections | |
string | electrons = 'slimmedElectrons' |
string | muons = 'slimmedMuons' |
string | rhoElectron = 'fixedGridRhoFastjetAll' |
string | rhoMuon = 'fixedGridRhoFastjetAll' |
Definition at line 23 of file LeptonAnalyzer.py.
def objects.LeptonAnalyzer.LeptonAnalyzer.__init__ | ( | self, | |
cfg_ana, | |||
cfg_comp, | |||
looperName | |||
) |
Definition at line 26 of file LeptonAnalyzer.py.
References analyzer.Analyzer.cfg_ana.
def objects.LeptonAnalyzer.LeptonAnalyzer.attachIsoAnnulus04 | ( | self, | |
mu | |||
) |
Definition at line 480 of file LeptonAnalyzer.py.
References SiStripPI.max, and SiStripPI.min.
def objects.LeptonAnalyzer.LeptonAnalyzer.attachIsolationScan | ( | self, | |
mu | |||
) |
Definition at line 492 of file LeptonAnalyzer.py.
References funct.abs().
def objects.LeptonAnalyzer.LeptonAnalyzer.attachMiniIsolation | ( | self, | |
mu | |||
) |
Definition at line 435 of file LeptonAnalyzer.py.
References funct.abs(), SiStripPI.max, and SiStripPI.min.
def objects.LeptonAnalyzer.LeptonAnalyzer.beginLoop | ( | self, | |
setup | |||
) |
Definition at line 136 of file LeptonAnalyzer.py.
def objects.LeptonAnalyzer.LeptonAnalyzer.declareHandles | ( | self | ) |
Definition at line 115 of file LeptonAnalyzer.py.
References objects.LeptonAnalyzer.LeptonAnalyzer.doMatchToPhotons, core.AutoHandle.AutoHandle.handles, core.Analyzer.Analyzer.handles, and HTTP.RequestManager.handles.
def objects.LeptonAnalyzer.LeptonAnalyzer.isFromB | ( | self, | |
particle, | |||
bid = 5 , |
|||
done = {} |
|||
) |
Definition at line 546 of file LeptonAnalyzer.py.
References funct.abs(), objects.LeptonAnalyzer.LeptonAnalyzer.isFromB(), and sistrip::SpyUtilities.range().
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 320 of file LeptonAnalyzer.py.
References funct.abs(), core.AutoHandle.AutoHandle.handles, core.Analyzer.Analyzer.handles, and HTTP.RequestManager.handles.
def objects.LeptonAnalyzer.LeptonAnalyzer.makeAllMuons | ( | self, | |
event | |||
) |
make a list of all muons, and apply basic corrections to them
Definition at line 240 of file LeptonAnalyzer.py.
References core.AutoHandle.AutoHandle.handles, core.Analyzer.Analyzer.handles, HTTP.RequestManager.handles, and objects.LeptonAnalyzer.LeptonAnalyzer.muonScaleCorrector.
def objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons | ( | self, | |
event | |||
) |
Definition at line 147 of file LeptonAnalyzer.py.
References core.AutoHandle.AutoHandle.handles, core.Analyzer.Analyzer.handles, and HTTP.RequestManager.handles.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.process().
def objects.LeptonAnalyzer.LeptonAnalyzer.matchAnyLeptons | ( | self, | |
event | |||
) |
Definition at line 556 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 525 of file LeptonAnalyzer.py.
References funct.abs(), HLT_FULL_cff.deltaR, deltar.matchObjectCollection3(), SiStripPI.max, and SiStripPI.min.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.process().
def objects.LeptonAnalyzer.LeptonAnalyzer.matchToPhotons | ( | self, | |
event | |||
) |
Definition at line 580 of file LeptonAnalyzer.py.
References funct.abs(), HLT_FULL_cff.deltaR, HLT_FULL_cff.distance, deltar.matchObjectCollection3(), core.Analyzer.Analyzer.mchandles, and SiStripPI.min.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.process().
def objects.LeptonAnalyzer.LeptonAnalyzer.process | ( | self, | |
event | |||
) |
Definition at line 601 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 619 of file LeptonAnalyzer.py.
|
static |
Definition at line 55 of file LeptonAnalyzer.py.
objects.LeptonAnalyzer.LeptonAnalyzer.doMatchToPhotons |
Definition at line 131 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.declareHandles(), and objects.LeptonAnalyzer.LeptonAnalyzer.process().
|
static |
Definition at line 622 of file LeptonAnalyzer.py.
objects.LeptonAnalyzer.LeptonAnalyzer.eleEffectiveArea |
Duplicate removal for fast sim (to be checked if still necessary in latest greatest 5.3.X releases)
Definition at line 340 of file LeptonAnalyzer.py.
objects.LeptonAnalyzer.LeptonAnalyzer.miniIsolationPUCorr |
Definition at line 445 of file LeptonAnalyzer.py.
objects.LeptonAnalyzer.LeptonAnalyzer.miniIsolationVetoLeptons |
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 160 of file LeptonAnalyzer.py.
objects.LeptonAnalyzer.LeptonAnalyzer.muEffectiveArea |
Definition at line 262 of file LeptonAnalyzer.py.
|
static |
Definition at line 621 of file LeptonAnalyzer.py.
objects.LeptonAnalyzer.LeptonAnalyzer.muonScaleCorrector |
Definition at line 36 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeAllMuons().
|
static |
Definition at line 624 of file LeptonAnalyzer.py.
|
static |
Definition at line 623 of file LeptonAnalyzer.py.