Public Member Functions | |
def | __init__ (self, cfg_ana, cfg_comp, looperName) |
def | attachFootprintRemovedIsolation (self, gamma) |
def | beginLoop (self, setup) |
def | checkMatch (self, eta, phi, particles, deltar) |
def | computeRandomCone (self, event, eta, phi, deltarmax, charged, jets, photons) |
def | declareHandles (self) |
def | makePhotons (self, event) |
def | matchPhotons (self, event) |
def | printInfo (self, event) |
def | process (self, event) |
def | randomCone (self, event) |
Public Attributes | |
etaCentral | |
IsolationComputer | |
Definition at line 23 of file PhotonAnalyzer.py.
def objects.PhotonAnalyzer.PhotonAnalyzer.__init__ | ( | self, | |
cfg_ana, | |||
cfg_comp, | |||
looperName | |||
) |
Definition at line 26 of file PhotonAnalyzer.py.
def objects.PhotonAnalyzer.PhotonAnalyzer.attachFootprintRemovedIsolation | ( | self, | |
gamma | |||
) |
Definition at line 301 of file PhotonAnalyzer.py.
References analyzer.Analyzer.cfg_ana, objects.PhotonAnalyzer.PhotonAnalyzer.IsolationComputer, objects.LeptonAnalyzer.LeptonAnalyzer.IsolationComputer, SiStripPI.max, and str.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons().
def objects.PhotonAnalyzer.PhotonAnalyzer.beginLoop | ( | self, | |
setup | |||
) |
Definition at line 59 of file PhotonAnalyzer.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.PhotonAnalyzer.PhotonAnalyzer.checkMatch | ( | self, | |
eta, | |||
phi, | |||
particles, | |||
deltar | |||
) |
Definition at line 232 of file PhotonAnalyzer.py.
References PbPb_ZMuSkimMuonDPG_cff.deltaR.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.computeRandomCone().
def objects.PhotonAnalyzer.PhotonAnalyzer.computeRandomCone | ( | self, | |
event, | |||
eta, | |||
phi, | |||
deltarmax, | |||
charged, | |||
jets, | |||
photons | |||
) |
Definition at line 244 of file PhotonAnalyzer.py.
References objects.PhotonAnalyzer.PhotonAnalyzer.checkMatch(), and PbPb_ZMuSkimMuonDPG_cff.deltaR.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.randomCone().
def objects.PhotonAnalyzer.PhotonAnalyzer.declareHandles | ( | self | ) |
Definition at line 43 of file PhotonAnalyzer.py.
References analyzer.Analyzer.cfg_ana, core.AutoHandle.AutoHandle.handles, core.Analyzer.Analyzer.handles, HTTP.RequestManager.handles, and core.Analyzer.Analyzer.mchandles.
def objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons | ( | self, | |
event | |||
) |
Definition at line 67 of file PhotonAnalyzer.py.
References funct.abs(), objects.PhotonAnalyzer.PhotonAnalyzer.attachFootprintRemovedIsolation(), analyzer.Analyzer.cfg_ana, CSCSPEvent.counters(), cms::cuda::AtomicPairCounter::Atomic2.counters, NMaxPerLumi.counters, analyzer.Analyzer.counters, HistogramManager.counters, counter.Counters.counters, cscdqm::ChamberCounterKeyType.counters, objects.PhotonAnalyzer.PhotonAnalyzer.doFootprintRemovedIsolation, objects.PhotonAnalyzer.PhotonAnalyzer.etaCentral, nano_mu_digi_cff.float, core.AutoHandle.AutoHandle.handles, core.Analyzer.Analyzer.handles, HTTP.RequestManager.handles, objects.PhotonAnalyzer.PhotonAnalyzer.IsolationComputer, objects.LeptonAnalyzer.LeptonAnalyzer.IsolationComputer, genParticles_cff.map, SiStripPI.max, and objects.PhotonAnalyzer.PhotonAnalyzer.photonEnergyCalibrator.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.process().
def objects.PhotonAnalyzer.PhotonAnalyzer.matchPhotons | ( | self, | |
event | |||
) |
Definition at line 154 of file PhotonAnalyzer.py.
References funct.abs(), PbPb_ZMuSkimMuonDPG_cff.deltaR, deltar.matchObjectCollection3(), core.Analyzer.Analyzer.mchandles, and EgammaValidation_cff.pdgId.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.process().
def objects.PhotonAnalyzer.PhotonAnalyzer.printInfo | ( | self, | |
event | |||
) |
Definition at line 313 of file PhotonAnalyzer.py.
References photons_cff.chargedHadronIso, PVValHelper.eta, HLT_2024v10_cff.full5x5_sigmaIetaIeta, EgHLTOffHistBins_cfi.mass, gedPhotonSequence_cff.neutralHadronIso, gedPhotonSequence_cff.photonIso, print(), and DiDispStaMuonMonitor_cfi.pt.
def objects.PhotonAnalyzer.PhotonAnalyzer.process | ( | self, | |
event | |||
) |
Definition at line 330 of file PhotonAnalyzer.py.
References analyzer.Analyzer.cfg_ana, analyzer.Analyzer.cfg_comp, looper.Looper.cfg_comp, objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons(), objects.PhotonAnalyzer.PhotonAnalyzer.matchPhotons(), objects.PhotonAnalyzer.PhotonAnalyzer.randomCone(), and core.Analyzer.Analyzer.readCollections().
def objects.PhotonAnalyzer.PhotonAnalyzer.randomCone | ( | self, | |
event | |||
) |
Definition at line 269 of file PhotonAnalyzer.py.
References funct.abs(), objects.PhotonAnalyzer.PhotonAnalyzer.computeRandomCone(), core.AutoHandle.AutoHandle.handles, core.Analyzer.Analyzer.handles, and HTTP.RequestManager.handles.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.process().
|
static |
Definition at line 349 of file PhotonAnalyzer.py.
Referenced by config.Analyzer.build_name(), and config.Service.build_name().
|
static |
Definition at line 36 of file PhotonAnalyzer.py.
|
static |
Definition at line 362 of file PhotonAnalyzer.py.
|
static |
Definition at line 363 of file PhotonAnalyzer.py.
|
static |
Definition at line 364 of file PhotonAnalyzer.py.
|
static |
Definition at line 359 of file PhotonAnalyzer.py.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons().
|
static |
Definition at line 354 of file PhotonAnalyzer.py.
objects.PhotonAnalyzer.PhotonAnalyzer.etaCentral |
Definition at line 28 of file PhotonAnalyzer.py.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons().
|
static |
Definition at line 352 of file PhotonAnalyzer.py.
|
static |
Definition at line 361 of file PhotonAnalyzer.py.
|
static |
Definition at line 357 of file PhotonAnalyzer.py.
|
static |
Definition at line 355 of file PhotonAnalyzer.py.
objects.PhotonAnalyzer.PhotonAnalyzer.IsolationComputer |
Definition at line 33 of file PhotonAnalyzer.py.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.attachFootprintRemovedIsolation(), and objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons().
|
static |
Definition at line 360 of file PhotonAnalyzer.py.
|
static |
Definition at line 37 of file PhotonAnalyzer.py.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons().
|
static |
Definition at line 350 of file PhotonAnalyzer.py.
|
static |
Definition at line 351 of file PhotonAnalyzer.py.
|
static |
Definition at line 356 of file PhotonAnalyzer.py.