 |
ATLAS Offline Software
|
Go to the documentation of this file.
24 : AnaAlgorithm(
name, pSvcLocator), m_sysTruthWeightTool(
"PMGTools::PMGHFProductionFractionTool", this)
38 return StatusCode::FAILURE;
47 return StatusCode::SUCCESS;
66 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
void set(const SG::AuxElement &object, const T &value, const CP::SystematicSet &sys) const
set the object decoration for the given systematic
StatusCode execute() override
StatusCode addSystematics(const CP::SystematicSet &recommended, const CP::SystematicSet &affecting)
register a set of affecting variables for the current algorithm (usually obtained from an CP::ISystem...
SysWriteDecorHandle< float > m_decoration
the decoration for the truth weights
const std::vector< CP::SystematicSet > & systematicsVector() const
the list of systematics to loop over
Select isolated Photons, Electrons and Muons.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
::StatusCode initialize()
intialize this property
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(SysListHandle &sysListHandle, const ISysHandleBase &objectHandle)
initialize this handle
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
std::string m_truthParticleContainer
the truth particle container to use for the calculation
SysTruthWeightAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
virtual bool empty() const noexcept override
whether we have a name configured
Class describing the basic event information.
ToolHandle< PMGTools::ISysTruthWeightTool > m_sysTruthWeightTool
the tool
StatusCode initialize() override
SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event collection we run on
SysListHandle m_systematicsList
the systematics list we run