34 #if defined( __GNUC__ ) 35 # pragma GCC diagnostic push ignored "-Wdeprecated-declarations" 54 const IInterface* parent,
const bool create ) {
67 const IInterface* parent,
const bool create ) {
68 return alg ?
alg->tool<
IAlgTool>( typeAndName, parent, create ) :
nullptr;
102 if ( !
alg )
return 0;
116 return alg ? _counters_a_( dynamic_cast<const GaudiAlgorithm*>(
alg ), names, out ) : 0;
125 return alg ? _counters_t_( dynamic_cast<const GaudiTool*>(
alg ), names, out ) : 0;
143 return cmp ? _counter_a_( dynamic_cast<const GaudiAlgorithm*>( cmp ),
name ) :
nullptr;
149 return cmp ? _counter_t_( dynamic_cast<const GaudiTool*>( cmp ),
name ) :
nullptr;
156 if ( cmp ) tools = cmp->tools();
164 if ( cmp ) tools = cmp->tools();
172 return cmp ? _tools_a_( dynamic_cast<const GaudiAlgorithm*>( cmp ), tools ) : 0;
179 return cmp ? _tools_t_( dynamic_cast<const GaudiTool*>( cmp ), tools ) : 0;
190 const bool useRootInTes ) {
202 const bool useRootInTes ) {
208 #if defined( __GNUC__ ) 209 # pragma GCC diagnostic pop static size_t _counters_a_(const GaudiAlgorithm *alg, std::vector< std::string > &names, Counters &out)
static bool exist(const GaudiAlgorithm *alg, const std::string &location, const bool useRootInTes)
get the data from TES
Header file for class GaudiAlgorithm.
static IInterface * svc_(const GaudiAlgorithm *alg, const std::string &name, const bool create=false)
get the service from GaudiAlgorithm
Collection of "decorators" for python algorithms.
static size_t _counters_t_(const GaudiTool *alg, std::vector< std::string > &names, Counters &out)
static IAlgTool * tool_(const GaudiAlgorithm *alg, const std::string &type, const std::string &name, const IInterface *parent=0, const bool create=true)
get the tool from GaudiAlgorithm
Definition of the basic interface.
static size_t _tools_t_(const GaudiTool *, Tools &tools)
The useful base class for data processing algorithms.
static size_t _tools_a_(const GaudiAlgorithm *, Tools &tools)
The IAlgorithm is the interface implemented by the Algorithm base class.
StatEntity & counter(const std::string &tag) const
accessor to certain counter by name
static StatEntity * _counter_t_(const GaudiTool *alg, const std::string &name)
static DataObject * get_(const GaudiAlgorithm *alg, const std::string &location, const bool useRootInTes)
get the data from TES
backward compatible StatEntity class.
A DataObject is the base class of any identifiable object on any data store.
static StatEntity * _counter_a_(const GaudiAlgorithm *alg, const std::string &name)