22#include "GaudiKernel/MsgStream.h"
23#include "Gaudi/Property.h"
24#include "GaudiKernel/IChronoStatSvc.h"
32 for (
size_t i = 0; i < level; ++i)
msg() <<
" ";
75 return StatusCode::FAILURE;
80 ATH_MSG_INFO(
"---- " << n <<
" ----------------------------" );
81 std::string version = (
"" != dictionary->version()) ? dictionary->version() :
"default";
83 <<
" version " << version );
85 if(dictionary->verify()) {
90 << dictionary->name() <<
" multirange: "
91 << (std::string)dictionary->build_multirange() );
92 return StatusCode::FAILURE;
168 <<
" " << atlasID->
is_sct(
id) );
170 <<
" " << atlasID->
is_lar(
id) );
172 <<
" " << atlasID->
is_muon(
id) );
177 <<
" " << atlasID->
is_sct(
id) );
179 <<
" " << atlasID->
is_trt(
id) );
181 <<
" " << atlasID->
is_lar(
id) );
183 <<
" " << atlasID->
is_muon(
id) );
185 ATH_MSG_INFO(
"Initialization completed successfully" );
187 return StatusCode::SUCCESS;
196 return StatusCode::SUCCESS;
208 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...
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