20 #include "GaudiKernel/ISvcLocator.h"
22 #include "AthLinks/ElementLink.h"
23 #include "GaudiKernel/Chrono.h"
34 m_chronoSvc(
"ChronoStatSvc",
name)
51 if (StatusCode::SUCCESS !=
sc) {
53 return StatusCode::FAILURE;
57 if( m_augmentationTools.retrieve().isFailure() ) {
59 return StatusCode::FAILURE;
61 ATH_MSG_INFO(
"The following augmentation tools will be applied....");
66 if ( m_chronoSvc.retrieve().isFailure() ) {
68 return StatusCode::FAILURE;
75 return StatusCode::SUCCESS;
84 Chrono chrono( &(*m_chronoSvc),
name() );
93 while (augmentationTool != endOfAugmentationTools) {
94 if ( (**augmentationTool).addBranches().isFailure() ) {
96 return StatusCode::FAILURE;
107 return StatusCode::SUCCESS;
131 ATH_MSG_INFO(
"============================================================================");
132 ATH_MSG_INFO(
" The following CP tools were called by " <<
name() <<
" for the whole train:");
135 while (augmentationTool != endOfAugmentationTools) {
139 ATH_MSG_INFO(
"============================================================================");
141 return StatusCode::SUCCESS;