|
ATLAS Offline Software
|
Go to the documentation of this file.
21 #include "GaudiKernel/MsgStream.h"
53 MsgStream
log(
msgSvc(),
"CaloIdMgrDetDescrCnv");
57 log << MSG::ERROR <<
"DetDescrConverter::initialize failed" <<
endmsg;
61 return StatusCode::SUCCESS;
69 MsgStream
log(
msgSvc(),
"CaloIdMgrDetDescrCnv");
72 return StatusCode::SUCCESS;
91 return StatusCode::SUCCESS;
100 MsgStream
log(
msgSvc(),
"CaloIdMgrDetDescrCnv");
102 <<
"in createObj: creating a CaloDescrManager object in the detector store"
111 return StatusCode::FAILURE;
115 std::string mgrKey = *( ddAddr->par() );
131 CHECK( serviceLocator()->service(
"DetectorStore",
detStore) );
134 #define SET_HELPER(H) CHECK( set_helper<H> (detStore, #H, caloIdMgr, log) )
138 bool is_test_beam =
false;
139 std::vector<std::string> file_names =
141 for (
size_t i = 0;
i < file_names.size();
i++) {
142 if (file_names[
i].
find (
"_H8_") != std::string::npos) {
168 log << MSG::INFO <<
" Finished " <<
endmsg;
174 log << MSG::INFO <<
"Initializing CaloIdMgr from values in CaloIdMgrDetDescrCnv "
185 return StatusCode::SUCCESS;
std::vector< std::string > file_names(void) const
File names for subdet dictionaries.
static const CLID & classID()
class ID (used by CnvFactory)
#define CHECK_WITH_CONTEXT(...)
Evaluate an expression and check for errors, with an explicitly specified context name.
const long DetDescr_StorageType
std::vector< Identifier > ID
std::string find(const std::string &s)
return a remapped string
Helper class for Calo TT online identifiers.
Helper class for LArFCAL offline identifiers for supercells.
Helper class for LArHEC offline identifiers.
DataObject * asStorable(T *pObject)
Helper class for Tile offline identifiers for supercells.
virtual long int repSvcType() const
Helper class for LArEM offline identifiers for supercells.
Helper class for LArHEC offline identifiers for supercells.
CaloIdMgrDetDescrCnv(ISvcLocator *svcloc)
static const CLID & ID()
the CLID of T
The Athena Transient Store API.
Helper class for LArEM offline identifiers for supercells.
This class initializes the Calo (LAr and Tile) offline identifiers.
msgSvc
Provide convenience handles for various services.
virtual StatusCode initialize()
Helper class for offline supercell identifiers.
Helper class for TileCal offline identifiers.
::StatusCode StatusCode
StatusCode definition for legacy code.
Default, invalid implementation of ClassID_traits.
Helper class for offline supercell identifiers.
#define CHECK(...)
Evaluate an expression and check for errors.
Helper class for offline cell identifiers.
static long storageType()
Storage type (used by CnvFactory)
uint32_t CLID
The Class ID type.
virtual StatusCode finalize()
bool isInitialized(void) const
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Helper class for offline TT identifiers.
const CaloCell_ID * getCaloCell_ID(void) const
Access to IdHelper.
Helpers for checking error return status codes and reporting errors.
Helper class for LArMiniFCAL offline identifiers.
Helper class for Calo Dead Material offline identifiers.
Helper class for LArHEC offline identifiers for supercells.
Helper class for Tile offline identifiers for supercells.
Helper class for LArEM offline identifiers.
Helper class for LArFCAL offline identifiers.