|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef EGAMMAMVACALIB_EGAMMAMVASVC_H
8 #define EGAMMAMVACALIB_EGAMMAMVASVC_H
23 class egammaMVASvc :
public extends<asg::AsgService, IegammaMVASvc>
26 using extends::extends;
35 double& mvaE)
const override final;
40 double& mvaE)
const override final;
62 "ElectronTool",
"",
"Tool to handle MVA trees for electrons"};
66 "UnconvertedPhotonTool",
"",
"Tool to handle MVA trees for unconverted photons"};
70 "ConvertedPhotonTool",
"",
"Tool to handle MVA trees for converted photons"};
73 "MaxConvRadius", 800.0,
74 "The maximum conversion radius for a photon to be considered converted"};
77 "RemoveTRTConvBarrel", -1,
78 "Remove TRT converted photons in the barrel: no=0, yes=1, automatic=-1"};
81 "folder",
"",
"folder for weight files"};
virtual StatusCode initialize() override
Gaudi::Property< std::string > m_folder
Gaudi::Property< int > m_removeTRTConvBarrel
virtual ~egammaMVASvc() override
StatusCode resolve_flags()
Gaudi::Property< float > m_maxConvR
ToolHandle< IegammaMVACalibTool > m_mvaElectron
MVA tool for electron.
Description of a calorimeter cluster.
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode getEnergy(const xAOD::CaloCluster &cluster, const xAOD::Egamma &eg, double &mvaE) const override final
Compute the calibrated energy.
bool isConvCalib(const xAOD::Photon &ph) const
Decide if the photon is converted or not.
ToolHandle< IegammaMVACalibTool > m_mvaUnconvertedPhoton
MVA tool for unconverted photon.
StatusCode execute(xAOD::CaloCluster &cluster, const xAOD::Egamma &eg) const override final
Main execute.
ToolHandle< IegammaMVACalibTool > m_mvaConvertedPhoton
MVA tool for converted photon.