Public Member Functions | |
def | __init__ |
def | attachFootprintRemovedIsolation |
def | beginLoop |
def | checkMatch |
def | computeRandomCone |
def | declareHandles |
def | makePhotons |
def | matchPhotons |
def | printInfo |
def | process |
def | randomCone |
Public Attributes | |
etaCentral | |
footprintRemovedIsolationPUCorr | |
IsolationComputer | |
Static Public Attributes | |
conversionSafe_eleVeto = False, | |
do_mc_match = True, | |
do_randomCone = False, | |
doFootprintRemovedIsolation = False, | |
float | etaMax = 2.5 |
string | footprintRemovedIsolationPUCorr = 'rhoArea' |
string | gamma_isoCorr = 'rhoArea' |
string | gammaID = "PhotonCutBasedIDLoose_CSA14" |
string | packedCandidates = 'packedPFCandidates' |
string | photons = 'slimmedPhotons' |
int | ptMin = 20 |
string | rhoPhoton = 'fixedGridRhoFastjetAll' |
Definition at line 21 of file PhotonAnalyzer.py.
def objects.PhotonAnalyzer.PhotonAnalyzer.__init__ | ( | self, | |
cfg_ana, | |||
cfg_comp, | |||
looperName | |||
) |
Definition at line 24 of file PhotonAnalyzer.py.
def objects.PhotonAnalyzer.PhotonAnalyzer.attachFootprintRemovedIsolation | ( | self, | |
gamma | |||
) |
Definition at line 286 of file PhotonAnalyzer.py.
References bookConverter.max.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons().
def objects.PhotonAnalyzer.PhotonAnalyzer.beginLoop | ( | self, | |
setup | |||
) |
Definition at line 49 of file PhotonAnalyzer.py.
def objects.PhotonAnalyzer.PhotonAnalyzer.checkMatch | ( | self, | |
eta, | |||
phi, | |||
particles, | |||
deltar | |||
) |
Definition at line 217 of file PhotonAnalyzer.py.
References deltaR().
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.computeRandomCone().
def objects.PhotonAnalyzer.PhotonAnalyzer.computeRandomCone | ( | self, | |
event, | |||
eta, | |||
phi, | |||
deltarmax, | |||
charged, | |||
jets, | |||
photons | |||
) |
Definition at line 229 of file PhotonAnalyzer.py.
References objects.PhotonAnalyzer.PhotonAnalyzer.checkMatch(), and deltaR().
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.randomCone().
def objects.PhotonAnalyzer.PhotonAnalyzer.declareHandles | ( | self | ) |
Definition at line 33 of file PhotonAnalyzer.py.
References 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 57 of file PhotonAnalyzer.py.
References funct.abs(), objects.PhotonAnalyzer.PhotonAnalyzer.attachFootprintRemovedIsolation(), objects.PhotonAnalyzer.PhotonAnalyzer.doFootprintRemovedIsolation, objects.PhotonAnalyzer.PhotonAnalyzer.etaCentral, core.AutoHandle.AutoHandle.handles, core.Analyzer.Analyzer.handles, HTTP.RequestManager.handles, python.multivaluedict.map(), and bookConverter.max.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.process().
def objects.PhotonAnalyzer.PhotonAnalyzer.matchPhotons | ( | self, | |
event | |||
) |
Definition at line 139 of file PhotonAnalyzer.py.
References funct.abs(), deltaR(), deltar.matchObjectCollection3(), core.Analyzer.Analyzer.mchandles, and benchmark_cfg.pdgId.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.process().
def objects.PhotonAnalyzer.PhotonAnalyzer.printInfo | ( | self, | |
event | |||
) |
Definition at line 298 of file PhotonAnalyzer.py.
References eta, and EnergyCorrector.pt.
def objects.PhotonAnalyzer.PhotonAnalyzer.process | ( | self, | |
event | |||
) |
Definition at line 315 of file PhotonAnalyzer.py.
References objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons(), objects.PhotonAnalyzer.PhotonAnalyzer.matchPhotons(), objects.PhotonAnalyzer.PhotonAnalyzer.randomCone(), and core.Analyzer.Analyzer.readCollections().
Referenced by ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.completeInputCommand(), ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules.leave(), 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().
def objects.PhotonAnalyzer.PhotonAnalyzer.randomCone | ( | self, | |
event | |||
) |
Definition at line 254 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 345 of file PhotonAnalyzer.py.
|
static |
Definition at line 346 of file PhotonAnalyzer.py.
|
static |
Definition at line 347 of file PhotonAnalyzer.py.
|
static |
Definition at line 342 of file PhotonAnalyzer.py.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons().
objects.PhotonAnalyzer.PhotonAnalyzer.etaCentral |
Definition at line 26 of file PhotonAnalyzer.py.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons().
|
static |
Definition at line 337 of file PhotonAnalyzer.py.
objects.PhotonAnalyzer.PhotonAnalyzer.footprintRemovedIsolationPUCorr |
Definition at line 30 of file PhotonAnalyzer.py.
|
static |
Definition at line 344 of file PhotonAnalyzer.py.
|
static |
Definition at line 340 of file PhotonAnalyzer.py.
|
static |
Definition at line 338 of file PhotonAnalyzer.py.
objects.PhotonAnalyzer.PhotonAnalyzer.IsolationComputer |
Definition at line 31 of file PhotonAnalyzer.py.
|
static |
Definition at line 343 of file PhotonAnalyzer.py.
|
static |
Definition at line 335 of file PhotonAnalyzer.py.
|
static |
Definition at line 336 of file PhotonAnalyzer.py.
|
static |
Definition at line 339 of file PhotonAnalyzer.py.