20#include "GaudiKernel/ISvcLocator.h"
22#include "AthLinks/ElementLink.h"
23#include "GaudiKernel/Chrono.h"
40 ATH_MSG_INFO(
"Initializing the common selections in " << name());
44 ATH_MSG_INFO(
"The following augmentation tools will be applied....");
50 return StatusCode::SUCCESS;
66 if ( augmentationTool->addBranches(ctx).isFailure() ) {
68 return StatusCode::FAILURE;
72 return StatusCode::SUCCESS;
80 ATH_MSG_INFO(
"============================================================================");
81 ATH_MSG_INFO(
" The following CP tools were called by " << name() <<
" for the whole train:");
85 ATH_MSG_INFO(
"============================================================================");
87 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
defines an "iterator" over instances of a given type in StoreGateSvc
An STL vector of pointers that by default owns its pointed-to elements.
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode finalize() override
virtual StatusCode execute(const EventContext &ctx) const override
ServiceHandle< IChronoStatSvc > m_chronoSvc
CommonAugmentation(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
PublicToolHandleArray< IAugmentationTool > m_augmentationTools