ATLAS Offline Software
|
Photon selection for top analyses. More...
#include <Photon.h>
Public Member Functions | |
Photon (double ptcut, double etamax, IsolationBase *isolation) | |
Class to help select good photons. More... | |
Photon (double ptcut, double etamax, const std::string &tightID, const std::string &looseID, IsolationBase *isolation) | |
Class to help select good photons. More... | |
bool | passSelection (const xAOD::Photon &ph) const override |
The cuts to select good photons for your analysis should be implemented in here. More... | |
bool | passSelectionLoose (const xAOD::Photon &ph) const override |
The loose selection. More... | |
void | print (std::ostream &) const override |
Print some useful information about the photon selection. More... | |
Private Member Functions | |
bool | passSelectionNoIsolation (const xAOD::Photon &ph, const std::string &photon_selection) const |
Do all the cuts except for the isolation. More... | |
std::string | getConfigFile (int operatingPoint) |
Private Attributes | |
double | m_ptcut |
double | m_etamax |
std::string | m_photon_selection |
std::string | m_loose_photon_selection |
std::unique_ptr< top::IsolationBase > | m_isolation |
asg::AnaToolHandle< IAsgDeadHVCellRemovalTool > | m_deadHVTool |
Photon selection for top analyses.
For Release 21 specific cleaning
Definition at line 23 of file PhysicsAnalysis/TopPhys/xAOD/TopObjectSelectionTools/TopObjectSelectionTools/Photon.h.
Photon::Photon | ( | double | ptcut, |
double | etamax, | ||
IsolationBase * | isolation | ||
) |
Class to help select good photons.
ptcut | The minimum pT cut to apply to the photons. |
etamax | The maximum eta cut |
isolation | nullptr for un-isolated, or a new "isolation object" to apply isolation cuts |
Definition at line 17 of file PhysicsAnalysis/TopPhys/xAOD/TopObjectSelectionTools/Root/Photon.cxx.
Photon::Photon | ( | double | ptcut, |
double | etamax, | ||
const std::string & | tightID, | ||
const std::string & | looseID, | ||
IsolationBase * | isolation | ||
) |
Class to help select good photons.
ptcut | The minimum pT cut to apply to the photons. |
etamax | The maximum eta cut |
tightID | The ID level used to select tight photons. |
looseID | The ID level used to select loose photons. |
isolation | nullptr for un-isolated, or a new "isolation object" to apply isolation cuts |
Definition at line 25 of file PhysicsAnalysis/TopPhys/xAOD/TopObjectSelectionTools/Root/Photon.cxx.
|
private |
|
overridevirtual |
The cuts to select good photons for your analysis should be implemented in here.
ph | The photon to cut on (all photons in the event are passed to the tool) |
Implements top::PhotonSelectionBase.
Definition at line 47 of file PhysicsAnalysis/TopPhys/xAOD/TopObjectSelectionTools/Root/Photon.cxx.
|
overridevirtual |
The loose selection.
ph |
Implements top::PhotonSelectionBase.
Definition at line 55 of file PhysicsAnalysis/TopPhys/xAOD/TopObjectSelectionTools/Root/Photon.cxx.
|
private |
Do all the cuts except for the isolation.
ph | The photon in question |
Definition at line 63 of file PhysicsAnalysis/TopPhys/xAOD/TopObjectSelectionTools/Root/Photon.cxx.
|
overridevirtual |
Print some useful information about the photon selection.
Usually this goes to the log file, so you know what you ran with.
Where | the print-out should go, e.g. msg stream. |
Implements top::PhotonSelectionBase.
Definition at line 103 of file PhysicsAnalysis/TopPhys/xAOD/TopObjectSelectionTools/Root/Photon.cxx.
|
private |
Definition at line 107 of file PhysicsAnalysis/TopPhys/xAOD/TopObjectSelectionTools/TopObjectSelectionTools/Photon.h.
|
private |
Definition at line 92 of file PhysicsAnalysis/TopPhys/xAOD/TopObjectSelectionTools/TopObjectSelectionTools/Photon.h.
|
private |
Definition at line 103 of file PhysicsAnalysis/TopPhys/xAOD/TopObjectSelectionTools/TopObjectSelectionTools/Photon.h.
|
private |
Definition at line 95 of file PhysicsAnalysis/TopPhys/xAOD/TopObjectSelectionTools/TopObjectSelectionTools/Photon.h.
|
private |
Definition at line 94 of file PhysicsAnalysis/TopPhys/xAOD/TopObjectSelectionTools/TopObjectSelectionTools/Photon.h.
|
private |
Definition at line 89 of file PhysicsAnalysis/TopPhys/xAOD/TopObjectSelectionTools/TopObjectSelectionTools/Photon.h.