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 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, analyzer.Analyzer.cfg_comp, and looper.Looper.cfg_comp.
def objects.LeptonAnalyzer.LeptonAnalyzer.attachIsoAnnulus04 | ( | self, | |
mu | |||
) |
Definition at line 480 of file LeptonAnalyzer.py.
References objects.LeptonAnalyzer.LeptonAnalyzer.IsolationComputer, SiStripPI.max, and SiStripPI.min.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
def objects.LeptonAnalyzer.LeptonAnalyzer.attachIsolationScan | ( | self, | |
mu | |||
) |
Definition at line 492 of file LeptonAnalyzer.py.
References funct.abs(), and objects.LeptonAnalyzer.LeptonAnalyzer.IsolationComputer.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
def objects.LeptonAnalyzer.LeptonAnalyzer.attachMiniIsolation | ( | self, | |
mu | |||
) |
Definition at line 435 of file LeptonAnalyzer.py.
References funct.abs(), analyzer.Analyzer.cfg_ana, objects.LeptonAnalyzer.LeptonAnalyzer.IsolationComputer, SiStripPI.max, SiStripPI.min, and objects.LeptonAnalyzer.LeptonAnalyzer.miniIsolationPUCorr.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
def objects.LeptonAnalyzer.LeptonAnalyzer.beginLoop | ( | self, | |
setup | |||
) |
Definition at line 136 of file LeptonAnalyzer.py.
References CSCSPEvent.counters(), cms::cuda::AtomicPairCounter::Atomic2.counters, NMaxPerLumi.counters, analyzer.Analyzer.counters, HistogramManager.counters, counter.Counters.counters, and cscdqm::ChamberCounterKeyType.counters.
def objects.LeptonAnalyzer.LeptonAnalyzer.declareHandles | ( | self | ) |
Definition at line 115 of file LeptonAnalyzer.py.
References analyzer.Analyzer.cfg_ana, objects.LeptonAnalyzer.LeptonAnalyzer.doIsolationScan, objects.LeptonAnalyzer.LeptonAnalyzer.doMatchToPhotons, objects.LeptonAnalyzer.LeptonAnalyzer.doMiniIsolation, core.AutoHandle.AutoHandle.handles, 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 546 of file LeptonAnalyzer.py.
References funct.abs(), objects.LeptonAnalyzer.LeptonAnalyzer.isFromB(), and FastTimerService_cff.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(), analyzer.Analyzer.cfg_ana, objects.LeptonAnalyzer.LeptonAnalyzer.electronEnergyCalibrator, objects.LeptonAnalyzer.LeptonAnalyzer.eleEffectiveArea, PVValHelper.eta, dqmMemoryStats.float, core.AutoHandle.AutoHandle.handles, 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 240 of file LeptonAnalyzer.py.
References funct.abs(), analyzer.Analyzer.cfg_ana, dqmMemoryStats.float, core.AutoHandle.AutoHandle.handles, 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 147 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, RPCDQMObject::DQMObjectItem.efficiency, dqmTnP::AbstractFitter.efficiency, DQMGenericClient.efficiency, CSCChamberSpecs.efficiency(), pat::PATObject< reco::MET >.efficiency(), pat::PATObject< ObjectType >.efficiency(), pat::PATObject< reco::GsfElectron >.efficiency(), pat::PATObject< reco::LeafCandidate >.efficiency(), pat::PATObject< reco::Muon >.efficiency(), Lepton< LeptonType >.efficiency(), pat::PATObject< reco::BaseTau >.efficiency(), pat::PATObject< reco::CompositeCandidate >.efficiency(), pat::PATObject< reco::RecoCandidate >.efficiency(), pat::PATObject< reco::PFCandidate >.efficiency(), pat::PATObject< reco::Jet >.efficiency(), pat::PATObject< LeptonType >.efficiency(), pat::PATObject< reco::Photon >.efficiency(), objects.LeptonAnalyzer.LeptonAnalyzer.eleIsoCut, core.AutoHandle.AutoHandle.handles, core.Analyzer.Analyzer.handles, HTTP.RequestManager.handles, objects.LeptonAnalyzer.LeptonAnalyzer.IsolationComputer, 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 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(), analyzer.Analyzer.cfg_ana, PbPb_ZMuSkimMuonDPG_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(), PbPb_ZMuSkimMuonDPG_cff.deltaR, HLT_2022v12_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 analyzer.Analyzer.cfg_ana, analyzer.Analyzer.cfg_comp, looper.Looper.cfg_comp, CSCSPEvent.counters(), cms::cuda::AtomicPairCounter::Atomic2.counters, NMaxPerLumi.counters, analyzer.Analyzer.counters, HistogramManager.counters, counter.Counters.counters, cscdqm::ChamberCounterKeyType.counters, 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.
Referenced by config.Analyzer.build_name(), and config.Service.build_name().
|
static |
Definition at line 55 of file LeptonAnalyzer.py.
|
static |
Definition at line 94 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
|
static |
Definition at line 99 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.declareHandles(), and objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
|
static |
Definition at line 108 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.declareHandles(), and objects.LeptonAnalyzer.LeptonAnalyzer.process().
|
static |
Definition at line 83 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.declareHandles(), and objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
|
static |
Definition at line 56 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeAllElectrons().
|
static |
Definition at line 622 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 80 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeAllElectrons().
|
static |
Definition at line 66 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
|
static |
Definition at line 90 of file LeptonAnalyzer.py.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.attachFootprintRemovedIsolation(), objects.LeptonAnalyzer.LeptonAnalyzer.attachIsoAnnulus04(), objects.LeptonAnalyzer.LeptonAnalyzer.attachIsolationScan(), objects.LeptonAnalyzer.LeptonAnalyzer.attachMiniIsolation(), objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons(), and objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons().
|
static |
Definition at line 85 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 86 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
|
static |
Definition at line 81 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeAllMuons().
|
static |
Definition at line 72 of file LeptonAnalyzer.py.
Referenced by objects.LeptonAnalyzer.LeptonAnalyzer.makeLeptons().
|
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.
|
static |
Definition at line 618 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().