33 (
const std::string&
type,
34 const std::string& name,
35 const IInterface* parent)
39 declareProperty (
"Classifier",
m_classifier,
"Classifier tool instance.");
42 "If true, fill in variables for the origin and type "
43 " of a photon for background electrons from conversions.");
56 return StatusCode::SUCCESS;
66 "MC particle type, from classifier tool.") );
68 "MC particle origin, from classifier tool.") );
72 "Type of photon for background electron "
73 "from conversions, from classifier tool") );
75 "Origin of photon for background electron "
76 "from conversions, from classifier tool.") );
79 return StatusCode::SUCCESS;
127 return StatusCode::SUCCESS;
Helpers for checking error return status codes and reporting errors.
#define CHECK(...)
Evaluate an expression and check for errors.
std::pair< std::vector< unsigned int >, bool > res
virtual StatusCode addVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)
Block filler tool for noisy FEB information.
const xAOD::TruthParticle * getBkgElectronMother(const xAOD::Electron *el, const bool allTheWayBack=true)
Helper wrapper function for calling the function above extracting the truth from a reco electron.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Egamma_v1 Egamma
Definition of the current "egamma version".
TruthParticle_v1 TruthParticle
Typedef to implementation.
Photon_v1 Photon
Definition of the current "egamma version".
Electron_v1 Electron
Definition of the current "egamma version".