|
ATLAS Offline Software
|
#include <TGCDatabaseManager.h>
Definition at line 38 of file TGCDatabaseManager.h.
◆ PatchPanelIDs
◆ PatchPanelPointers
◆ anonymous enum
◆ TGCDatabaseManager() [1/3]
LVL1TGCTrigger::TGCDatabaseManager::TGCDatabaseManager |
( |
| ) |
|
◆ TGCDatabaseManager() [2/3]
Definition at line 94 of file TGCDatabaseManager.cxx.
104 ATH_MSG_DEBUG(
"Read database for connection from ASD to PP.");
125 std::string ver_BW =
"v05";
126 std::string ver_EIFI =
"v07";
127 std::string ver_TILE =
"v01";
128 std::string ver_NSW =
"v01";
129 std::string ver_BIS78 =
"v01";
130 std::string ver_HotRoI =
"v2";
◆ ~TGCDatabaseManager()
LVL1TGCTrigger::TGCDatabaseManager::~TGCDatabaseManager |
( |
| ) |
|
|
virtual |
◆ TGCDatabaseManager() [3/3]
◆ addConnectionInPP()
Definition at line 51 of file TGCDatabaseManager.cxx.
54 if(!patchPanel || !connectionInPP)
return;
58 patchPanelIDs.at(1) = patchPanel->getType();
59 patchPanelIDs.at(2) = patchPanel->getId();
60 patchPanelIDs.at(3) = (patchPanel->getAdjacentPP(0) ? patchPanel->getAdjacentPP(0)->getId() : -1);
61 patchPanelIDs.at(4) = (patchPanel->getAdjacentPP(1) ? patchPanel->getAdjacentPP(1)->getId() : -1);
64 patchPanelPointers.push_back(patchPanel);
65 patchPanelPointers.push_back(patchPanel->getAdjacentPP(0));
66 patchPanelPointers.push_back(patchPanel->getAdjacentPP(1));
68 TGCConnectionInPP newConnectionInPP(*connectionInPP);
69 std::pair<const TGCConnectionInPP, PatchPanelPointers> cInPP_PPPs(newConnectionInPP, patchPanelPointers);
72 (patchPanelIDs, cInPP_PPPs));
◆ deleteConnectionPPToSL()
void LVL1TGCTrigger::TGCDatabaseManager::deleteConnectionPPToSL |
( |
| ) |
|
◆ getBigWheelCoincidenceLUT()
◆ getBIS78CoincidenceMap()
◆ getConnectionASDToPP()
◆ getConnectionInPP()
Definition at line 22 of file TGCDatabaseManager.cxx.
24 if(!patchPanel)
return 0;
28 patchPanelIDs.at(1) = patchPanel->getType();
29 patchPanelIDs.at(2) = patchPanel->getId();
30 patchPanelIDs.at(3) = (patchPanel->getAdjacentPP(0) ? patchPanel->getAdjacentPP(0)->getId() : -1);
31 patchPanelIDs.at(4) = (patchPanel->getAdjacentPP(1) ? patchPanel->getAdjacentPP(1)->getId() : -1);
33 std::map<PatchPanelIDs, std::pair<const TGCConnectionInPP, PatchPanelPointers> >::const_iterator cit
37 TGCConnectionInPP* newConnectionInPP =
new TGCConnectionInPP(((*cit).second).first);
40 bool isReplaced = newConnectionInPP->replacePatchPanelPointers(patchPanel, oldPatchPanelPointers);
42 delete newConnectionInPP;
43 newConnectionInPP = 0;
45 return newConnectionInPP;
◆ getConnectionPPToSL()
◆ getEIFICoincidenceMap()
◆ getFilename()
std::string LVL1TGCTrigger::TGCDatabaseManager::getFilename |
( |
int |
type | ) |
|
|
static |
Definition at line 239 of file TGCDatabaseManager.cxx.
243 return "MuonTGC_Cabling_ASD2PP.db";
245 return "MuonTGC_Cabling_PP.db";
247 return "MuonTGC_Cabling_PP2SL.db";
◆ getGoodMFMap()
std::shared_ptr< LVL1TGC::TGCGoodMF > LVL1TGCTrigger::TGCDatabaseManager::getGoodMFMap |
( |
| ) |
const |
|
inline |
◆ getNSWCoincidenceMap()
std::shared_ptr< TGCNSWCoincidenceMap > LVL1TGCTrigger::TGCDatabaseManager::getNSWCoincidenceMap |
( |
int |
sideId, |
|
|
int |
octantId, |
|
|
int |
moduleId |
|
) |
| const |
|
inline |
◆ getTileMuCoincidenceLUT()
◆ initMessaging()
void AthMessaging::initMessaging |
( |
| ) |
const |
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
◆ msg() [1/2]
MsgStream & AthMessaging::msg |
( |
| ) |
const |
|
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.
◆ msg() [2/2]
MsgStream & AthMessaging::msg |
( |
const MSG::Level |
lvl | ) |
const |
|
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.
180 {
return msg() << lvl; }
◆ msgLvl()
bool AthMessaging::msgLvl |
( |
const MSG::Level |
lvl | ) |
const |
|
inlineinherited |
Test the output level.
- Parameters
-
lvl | The message level to test against |
- Returns
- boolean Indicating if messages at given level will be printed
- Return values
-
true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
◆ operator=()
◆ setLevel()
void AthMessaging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
inherited |
◆ splitCW()
const std::vector< std::string > LVL1TGCTrigger::TGCDatabaseManager::splitCW |
( |
const std::string & |
input, |
|
|
char |
delimiter |
|
) |
| |
|
static |
◆ tgcArgs() [1/2]
TGCArguments* LVL1TGCTrigger::TGCDatabaseManager::tgcArgs |
( |
| ) |
|
|
inline |
◆ tgcArgs() [2/2]
◆ ATLAS_THREAD_SAFE
std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ m_ASDToPP
◆ m_bigWheelLUT
◆ m_imsg
std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_lvl
std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |
|
mutableprivateinherited |
◆ m_mapBIS78
◆ m_mapEIFI
◆ m_mapGoodMF
◆ m_mapNSW
◆ m_msg_tls
boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
◆ m_nm
std::string AthMessaging::m_nm |
|
privateinherited |
◆ m_patchPanelToConnectionInPP
◆ m_PPToSL
◆ m_tgcArgs
◆ m_tileMuLUT
The documentation for this class was generated from the following files:
std::atomic< MSG::Level > m_lvl
Current logging level.
void set_USE_CONDDB(bool v)
std::shared_ptr< LVL1TGC::TGCTileMuCoincidenceLUT > m_tileMuLUT
const int NumberOfRegionType
This class stores the LUT for Tile-Muon coincidence of the Run-3 L1Muon Endcap trigger.
std::shared_ptr< LVL1TGC::BigWheelCoincidenceLUT > m_bigWheelLUT
std::vector< int > PatchPanelIDs
std::array< std::array< std::array< std::shared_ptr< TGCNSWCoincidenceMap >, NumberOfModuleInBW >, NumberOfOctant >, LVL1TGC::kNSide > m_mapNSW
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
@ TotalNumForwardBackwardType
IMessageSvc * getMessageSvc(bool quiet=false)
bool readData(TGCRegionType region, int type, TGCForwardBackwardType forward)
std::map< PatchPanelIDs, std::pair< const TGCConnectionInPP, PatchPanelPointers > > m_patchPanelToConnectionInPP
void setLevel(MSG::Level lvl)
Change the current logging level.
AthMessaging()
Default constructor:
TGCConnectionPPToSL * m_PPToSL[NumberOfRegionType]
MsgStream & msg() const
The standard message stream.
std::shared_ptr< LVL1TGC::TGCBIS78CoincidenceMap > m_mapBIS78
std::shared_ptr< LVL1TGC::TGCGoodMF > m_mapGoodMF
std::string m_nm
Message source name.
TGCConnectionASDToPP * m_ASDToPP[NumberOfRegionType][TGCSector::NumberOfPatchPanelType][TotalNumForwardBackwardType]
void initMessaging() const
Initialize our message level and MessageSvc.
std::vector< const TGCPatchPanel * > PatchPanelPointers
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
bool readData(TGCRegionType type)
LVL1TGC::TGCEIFICoincidenceMap * m_mapEIFI[LVL1TGC::kNSide]