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 | |
conf = cfg_ana.doPhotonScaleCorrections | |
conversionSafe_eleVeto = False, | |
do_mc_match = True, | |
do_randomCone = False, | |
doFootprintRemovedIsolation = False, | |
doPhotonScaleCorrections = 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 22 of file PhotonAnalyzer.py.
def objects.PhotonAnalyzer.PhotonAnalyzer.__init__ | ( | self, | |
cfg_ana, | |||
cfg_comp, | |||
looperName | |||
) |
Definition at line 25 of file PhotonAnalyzer.py.
def objects.PhotonAnalyzer.PhotonAnalyzer.attachFootprintRemovedIsolation | ( | self, | |
gamma | |||
) |
Definition at line 300 of file PhotonAnalyzer.py.
References bookConverter.max.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons().
def objects.PhotonAnalyzer.PhotonAnalyzer.beginLoop | ( | self, | |
setup | |||
) |
Definition at line 58 of file PhotonAnalyzer.py.
def objects.PhotonAnalyzer.PhotonAnalyzer.checkMatch | ( | self, | |
eta, | |||
phi, | |||
particles, | |||
deltar | |||
) |
Definition at line 231 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 243 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 42 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 66 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, and bookConverter.max.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.process().
def objects.PhotonAnalyzer.PhotonAnalyzer.matchPhotons | ( | self, | |
event | |||
) |
Definition at line 153 of file PhotonAnalyzer.py.
References funct.abs(), deltaR(), deltar.matchObjectCollection3(), core.Analyzer.Analyzer.mchandles, and SingleMuPt40Fwdv2_cfi_GEN_SIM.pdgId.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.process().
def objects.PhotonAnalyzer.PhotonAnalyzer.printInfo | ( | self, | |
event | |||
) |
Definition at line 312 of file PhotonAnalyzer.py.
References eta, ResonanceBuilder.mass, and EnergyCorrector.pt.
def objects.PhotonAnalyzer.PhotonAnalyzer.process | ( | self, | |
event | |||
) |
Definition at line 329 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 268 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 35 of file PhotonAnalyzer.py.
|
static |
Definition at line 361 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 358 of file PhotonAnalyzer.py.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons().
|
static |
Definition at line 353 of file PhotonAnalyzer.py.
objects.PhotonAnalyzer.PhotonAnalyzer.etaCentral |
Definition at line 27 of file PhotonAnalyzer.py.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons().
|
static |
Definition at line 351 of file PhotonAnalyzer.py.
objects.PhotonAnalyzer.PhotonAnalyzer.footprintRemovedIsolationPUCorr |
Definition at line 31 of file PhotonAnalyzer.py.
|
static |
Definition at line 360 of file PhotonAnalyzer.py.
|
static |
Definition at line 356 of file PhotonAnalyzer.py.
|
static |
Definition at line 354 of file PhotonAnalyzer.py.
objects.PhotonAnalyzer.PhotonAnalyzer.IsolationComputer |
Definition at line 32 of file PhotonAnalyzer.py.
|
static |
Definition at line 359 of file PhotonAnalyzer.py.
|
static |
Definition at line 349 of file PhotonAnalyzer.py.
|
static |
Definition at line 350 of file PhotonAnalyzer.py.
|
static |
Definition at line 355 of file PhotonAnalyzer.py.