 |
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;
66 "ElectronTool",
"",
"Tool to handle MVA trees for electrons"};
70 "FwdElectronTool",
"",
"Tool to handle MVA trees for forward electrons"};
74 "UnconvertedPhotonTool",
"",
"Tool to handle MVA trees for unconverted photons"};
78 "ConvertedPhotonTool",
"",
"Tool to handle MVA trees for converted photons"};
81 "MaxConvRadius", 800.0,
82 "The maximum conversion radius for a photon to be considered converted"};
85 "RemoveTRTConvBarrel", -1,
86 "Remove TRT converted photons in the barrel: no=0, yes=1, automatic=-1"};
89 "folder",
"",
"folder for weight files"};
virtual StatusCode initialize() override
Gaudi::Property< std::string > m_folder
Gaudi::Property< int > m_removeTRTConvBarrel
StatusCode getEnergy(const xAOD::CaloCluster &cluster, const xAOD::Egamma &eg, double &mvaE, const egammaMVACalib::GlobalEventInfo &gei=egammaMVACalib::GlobalEventInfo()) const override final
Compute the calibrated energy.
ToolHandle< IegammaMVACalibTool > m_mvaFwdElectron
MVA tool for forward electron.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
virtual ~egammaMVASvc() override
bool const RAWDATA *ch2 const
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.
Principal data class for CaloCell clusters.
bool isConvCalib(const xAOD::Photon &ph) const
Decide if the photon is converted or not.
A structure holding some global event information.
StatusCode execute(xAOD::CaloCluster &cluster, const xAOD::Egamma &eg, const egammaMVACalib::GlobalEventInfo &gei=egammaMVACalib::GlobalEventInfo()) const override final
Main execute.
ToolHandle< IegammaMVACalibTool > m_mvaUnconvertedPhoton
MVA tool for unconverted photon.
ToolHandle< IegammaMVACalibTool > m_mvaConvertedPhoton
MVA tool for converted photon.