\(\gamma\)¶
-
class
PhotonSelector: public xAH::Algorithm¶ Public Functions
-
PhotonSelector()¶
-
~PhotonSelector()¶
-
EL::StatusCode
setupJob(EL::Job &job)¶
-
EL::StatusCode
fileExecute()¶
-
EL::StatusCode
histInitialize()¶
-
EL::StatusCode
changeInput(bool firstFile)¶
-
EL::StatusCode
initialize()¶
-
EL::StatusCode
execute()¶
-
EL::StatusCode
postExecute()¶
-
EL::StatusCode
finalize()¶
-
EL::StatusCode
histFinalize()¶
-
bool
executeSelection(const xAOD::PhotonContainer *inPhotons, float mcEvtWeight, bool countPass, ConstDataVector<xAOD::PhotonContainer> *selectedPhotons)¶
-
bool
passCuts(const xAOD::Photon *photon)¶
Public Members
-
bool
m_useCutFlow= true¶
-
std::string
m_inContainerName= ""¶ configuration variables input container name
-
std::string
m_outContainerName= ""¶ output container name
-
std::string
m_inputAlgoSystNames= ""¶ output auxiliary container name
-
std::string
m_outputAlgoSystNames= "PhotonSelector_Syst"¶
-
bool
m_decorateSelectedObjects= true¶ decorate selected objects - default “passSel”
-
bool
m_createSelectedContainer= true¶ fill using SG::VIEW_ELEMENTS to be light weight
-
int
m_nToProcess= -1¶ look at n objects
-
int
m_pass_min= -1¶ minimum number of objects passing cuts
-
int
m_pass_max= -1¶ maximum number of objects passing cuts
-
float
m_pT_max= 1e8¶ require pT < pt_max
-
float
m_pT_min= 1e8¶ require pT > pt_min
-
float
m_eta_max= 1e8¶ require |eta| < eta_max
-
bool
m_vetoCrack= true¶ require |eta| outside crack region
-
bool
m_doAuthorCut= true¶
-
bool
m_doOQCut= true¶
-
bool
m_readOQFromDerivation= false¶ read object quality from derivation, rather than calculating it on the fly
-
std::string
m_photonIdCut= "None"¶ Name of ID variable to cut
-
std::string
m_MinIsoWPCut= ""¶ reject objects which do not pass this isolation cut - default = “” (no cut)
-
std::string
m_IsoWPList= "FixedCutTightCaloOnly,FixedCutTight,FixedCutLoose"¶ decorate objects with ‘isIsolated_*’ flag for each WP in this input list - default = all current ASG WPs
Private Members
-
std::string
m_outAuxContainerName¶
-
int
m_numEvent¶
-
int
m_numObject¶
-
int
m_numEventPass¶
-
int
m_weightNumEventPass¶
-
int
m_numObjectPass¶
-
TH1D *
m_cutflowHist= nullptr¶
-
TH1D *
m_cutflowHistW= nullptr¶
-
int
m_cutflow_bin¶
-
TH1D *
m_ph_cutflowHist_1= nullptr¶
-
int
m_ph_cutflow_all¶
-
int
m_ph_cutflow_OQ_cut¶
-
int
m_ph_cutflow_PID_cut¶
-
int
m_ph_cutflow_ptmax_cut¶
-
int
m_ph_cutflow_ptmin_cut¶
-
int
m_ph_cutflow_eta_cut¶
-
int
m_ph_cutflow_iso_cut¶
-
std::vector<std::string>
m_IsoKeys¶
-
CP::IsolationSelectionTool *
m_IsolationSelectionTool= nullptr¶
-