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 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 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.
def objects.PhotonAnalyzer.PhotonAnalyzer.checkMatch | ( | self, | |
eta, | |||
phi, | |||
particles, | |||
deltar | |||
) |
Definition at line 232 of file PhotonAnalyzer.py.
References HLT_FULL_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 HLT_FULL_cff.deltaR.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.randomCone().
def objects.PhotonAnalyzer.PhotonAnalyzer.declareHandles | ( | self | ) |
Definition at line 43 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 67 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 SiStripPI.max.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.process().
def objects.PhotonAnalyzer.PhotonAnalyzer.matchPhotons | ( | self, | |
event | |||
) |
Definition at line 154 of file PhotonAnalyzer.py.
References funct.abs(), HLT_FULL_cff.deltaR, deltar.matchObjectCollection3(), and core.Analyzer.Analyzer.mchandles.
Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.process().
def objects.PhotonAnalyzer.PhotonAnalyzer.printInfo | ( | self, | |
event | |||
) |
Definition at line 313 of file PhotonAnalyzer.py.
References PVValHelper.eta, ResonanceBuilder.mass, print(), and DiDispStaMuonMonitor_cfi.pt.
def objects.PhotonAnalyzer.PhotonAnalyzer.process | ( | self, | |
event | |||
) |
Definition at line 330 of file PhotonAnalyzer.py.
References 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 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.
objects.PhotonAnalyzer.PhotonAnalyzer.footprintRemovedIsolationPUCorr |
Definition at line 32 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.
|
static |
Definition at line 360 of file PhotonAnalyzer.py.
|
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.