Public Member Functions | |
def | __init__ |
def | beginLoop |
def | checkMatch |
def | computeRandomCone |
def | declareHandles |
def | makePhotons |
def | matchPhotons |
def | printInfo |
def | process |
def | randomCone |
Public Attributes | |
etaCentral | |
Static Public Attributes | |
do_mc_match = True, | |
do_randomCone = False, | |
float | etaMax = 2.5 |
string | gammaID = "PhotonCutBasedIDLoose_CSA14" |
string | photons = 'slimmedPhotons' |
int | ptMin = 20 |
Definition at line 19 of file PhotonAnalyzer.py.
def objects.PhotonAnalyzer.PhotonAnalyzer.__init__ | ( | self, | |
cfg_ana, | |||
cfg_comp, | |||
looperName | |||
) |
Definition at line 22 of file PhotonAnalyzer.py.
def objects.PhotonAnalyzer.PhotonAnalyzer.beginLoop | ( | self, | |
setup | |||
) |
Definition at line 39 of file PhotonAnalyzer.py.
def objects.PhotonAnalyzer.PhotonAnalyzer.checkMatch | ( | self, | |
eta, | |||
phi, | |||
particles, | |||
deltar | |||
) |
Definition at line 170 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 182 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 26 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 47 of file PhotonAnalyzer.py.
References funct.abs(), objects.PhotonAnalyzer.PhotonAnalyzer.etaCentral, core.AutoHandle.AutoHandle.handles, core.Analyzer.Analyzer.handles, HTTP.RequestManager.handles, and python.multivaluedict.map().
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.process().
def objects.PhotonAnalyzer.PhotonAnalyzer.matchPhotons | ( | self, | |
event | |||
) |
Definition at line 108 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 241 of file PhotonAnalyzer.py.
References eta(), phi, and EnergyCorrector.pt.
def objects.PhotonAnalyzer.PhotonAnalyzer.process | ( | self, | |
event | |||
) |
Definition at line 258 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.__init__(), ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.anyOf(), ConfigBuilder.ConfigBuilder.completeInputCommand(), ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules.leave(), ConfigBuilder.ConfigBuilder.prepare(), ConfigBuilder.ConfigBuilder.prepare_ALCA(), ConfigBuilder.ConfigBuilder.prepare_DQM(), ConfigBuilder.ConfigBuilder.prepare_FASTSIM(), ConfigBuilder.ConfigBuilder.prepare_HARVESTING(), 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 207 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 282 of file PhotonAnalyzer.py.
|
static |
Definition at line 283 of file PhotonAnalyzer.py.
objects.PhotonAnalyzer.PhotonAnalyzer.etaCentral |
Definition at line 24 of file PhotonAnalyzer.py.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons().
|
static |
Definition at line 280 of file PhotonAnalyzer.py.
|
static |
Definition at line 281 of file PhotonAnalyzer.py.
|
static |
Definition at line 278 of file PhotonAnalyzer.py.
|
static |
Definition at line 279 of file PhotonAnalyzer.py.