23#include "GaudiKernel/MsgStream.h"
24#include "Gaudi/Property.h"
25#include "GaudiKernel/IChronoStatSvc.h"
33 for (
size_t i = 0; i < level; ++i)
msg() <<
" ";
76 return StatusCode::FAILURE;
81 ATH_MSG_INFO(
"---- " << n <<
" ----------------------------" );
82 std::string version = (
"" != dictionary->version()) ? dictionary->version() :
"default";
84 <<
" version " << version );
86 if(dictionary->verify()) {
91 << dictionary->name() <<
" multirange: "
92 << (std::string)dictionary->build_multirange() );
93 return StatusCode::FAILURE;
169 <<
" " << atlasID->
is_sct(
id) );
171 <<
" " << atlasID->
is_lar(
id) );
173 <<
" " << atlasID->
is_muon(
id) );
178 <<
" " << atlasID->
is_sct(
id) );
180 <<
" " << atlasID->
is_trt(
id) );
182 <<
" " << atlasID->
is_lar(
id) );
184 <<
" " << atlasID->
is_muon(
id) );
186 ATH_MSG_INFO(
"Initialization completed successfully" );
188 return StatusCode::SUCCESS;
197 return StatusCode::SUCCESS;
209 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
defines an "iterator" over instances of a given type in StoreGateSvc
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
const ServiceHandle< StoreGateSvc > & detStore() const
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Identifier trt(void) const
bool is_indet(Identifier id) const
bool is_lar(Identifier id) const
bool is_sct(Identifier id) const
bool is_muon(Identifier id) const
std::string show_to_string(Identifier id, const IdContext *context=0, char sep='.') const
or provide the printout in string form
bool is_trt(Identifier id) const
Identifier indet(void) const
Detector systems:
void tab(size_t level) const
IdDictCnvTest(const std::string &name, ISvcLocator *pSvcLocator)
IdDictManager is the interface to identifier dictionaries.
const IdDictMgr * manager(void) const
const std::string & tag() const
Version tag.
dictionary_vec get_dictionaries() const
Access to all dictionaries.
std::vector< const IdDictDictionary * > dictionary_vec