38 return StatusCode::FAILURE;
47 return StatusCode::SUCCESS;
66 return StatusCode::SUCCESS;
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ServiceHandle< StoreGateSvc > & evtStore()
std::string m_truthParticleContainer
the truth particle container to use for the calculation
SysTruthWeightAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
ToolHandle< PMGTools::ISysTruthWeightTool > m_sysTruthWeightTool
the tool
StatusCode initialize() override
StatusCode execute() override
SysListHandle m_systematicsList
the systematics list we run
SysWriteDecorHandle< float > m_decoration
the decoration for the truth weights
SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event collection we run on
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Select isolated Photons, Electrons and Muons.
EventInfo_v1 EventInfo
Definition of the latest event info version.
TruthParticleContainer_v1 TruthParticleContainer
Declare the latest version of the truth particle container.