ATLAS Offline Software
|
This is a StoreGate object holding the offline TT-cell map. More...
#include <LArTTCellMap.h>
Public Types | |
typedef LArTTCell | PDATA |
Public Member Functions | |
LArTTCellMap () | |
~LArTTCellMap () | |
void | set (const PDATA &t) |
initialize from Nova More... | |
const std::vector< Identifier > & | createCellIDvec (const Identifier &id) const |
Return a vector of offline Identifiers (corresponding helpers = LArEM_ID, LArHEC_ID, LArFCAL_ID) for a TT-layer offline id (helper=CaloLVL1_ID) More... | |
Identifier | whichTTID (const Identifier &id) const |
return the offline id (CaloLVL1_ID) of the TT to which a cell (CaloCell_ID) belongs More... | |
const LArTTCell_P * | getP () const |
return the persistified map More... | |
LArTTCell_P * | getP () |
return the persistified map (non-const) More... | |
void | set (const LArTTCell_P &t) |
initialize from POOL More... | |
bool | msgLvl (const MSG::Level lvl) const |
Test the output level. More... | |
MsgStream & | msg () const |
The standard message stream. More... | |
MsgStream & | msg (const MSG::Level lvl) const |
The standard message stream. More... | |
void | setLevel (MSG::Level lvl) |
Change the current logging level. More... | |
Private Member Functions | |
void | convert_to_P (const LArTTCell &t) |
void | convert_to_D (const LArTTCell_P &t, LArTTCell &d) |
void | initMessaging () const |
Initialize our message level and MessageSvc. More... | |
Private Attributes | |
std::map< Identifier, Identifier > | m_cell2ttIdMap |
std::map< Identifier, std::vector< Identifier > > | m_tt2cellIdMap |
LArTTCell_P | m_persData |
std::string | m_nm |
Message source name. More... | |
boost::thread_specific_ptr< MsgStream > | m_msg_tls |
MsgStream instance (a std::cout like with print-out levels) More... | |
std::atomic< IMessageSvc * > | m_imsg { nullptr } |
MessageSvc pointer. More... | |
std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
Current logging level. More... | |
std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
Messaging initialized (initMessaging) More... | |
This is a StoreGate object holding the offline TT-cell map.
Its persistifiable version is the LArTTCellMap_P class
Definition at line 27 of file LArTTCellMap.h.
typedef LArTTCell LArTTCellMap::PDATA |
Definition at line 32 of file LArTTCellMap.h.
LArTTCellMap::LArTTCellMap | ( | ) |
Definition at line 17 of file LArTTCellMap.cxx.
LArTTCellMap::~LArTTCellMap | ( | ) |
Definition at line 23 of file LArTTCellMap.cxx.
|
private |
Definition at line 239 of file LArTTCellMap.cxx.
Definition at line 209 of file LArTTCellMap.cxx.
const std::vector< Identifier > & LArTTCellMap::createCellIDvec | ( | const Identifier & | id | ) | const |
Return a vector of offline Identifiers (corresponding helpers = LArEM_ID, LArHEC_ID, LArFCAL_ID) for a TT-layer offline id (helper=CaloLVL1_ID)
Definition at line 182 of file LArTTCellMap.cxx.
LArTTCell_P * LArTTCellMap::getP | ( | ) |
return the persistified map (non-const)
Definition at line 204 of file LArTTCellMap.cxx.
const LArTTCell_P * LArTTCellMap::getP | ( | ) | const |
return the persistified map
Definition at line 199 of file LArTTCellMap.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 164 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 179 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
lvl | The message level to test against |
true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
void LArTTCellMap::set | ( | const LArTTCell_P & | t | ) |
initialize from Nova
Definition at line 29 of file LArTTCellMap.cxx.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
Identifier LArTTCellMap::whichTTID | ( | const Identifier & | id | ) | const |
return the offline id (CaloLVL1_ID) of the TT to which a cell (CaloCell_ID) belongs
Definition at line 162 of file LArTTCellMap.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 71 of file LArTTCellMap.h.
|
mutableprivateinherited |
MessageSvc pointer.
Definition at line 135 of file AthMessaging.h.
|
mutableprivateinherited |
Current logging level.
Definition at line 138 of file AthMessaging.h.
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Definition at line 76 of file LArTTCellMap.h.
|
private |
Definition at line 72 of file LArTTCellMap.h.