#include <TRT_DAQ_ConditionsSvc.h>
Definition at line 29 of file TRT_DAQ_ConditionsSvc.h.
◆ TRT_DAQ_ConditionsSvc()
TRT_DAQ_ConditionsSvc::TRT_DAQ_ConditionsSvc |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~TRT_DAQ_ConditionsSvc()
TRT_DAQ_ConditionsSvc::~TRT_DAQ_ConditionsSvc |
( |
| ) |
|
|
virtualdefault |
◆ condSummaryStatus() [1/2]
◆ condSummaryStatus() [2/2]
ConditionsSummaryStatus for a ROD ID.
StatusFlag for conditions summary (by ROD ID) //.
Similar to ITRT_ConditionsSvc::condSummaryStatus, but specific to this service
Implements ITRT_DAQ_ConditionsSvc.
Definition at line 101 of file TRT_DAQ_ConditionsSvc.cxx.
109 if ( EnabledRods->name_size() == 0 ) {
114 std::string chanName =
"";
115 for ( chanNameMapItr = EnabledRods->name_begin();
116 chanNameMapItr != EnabledRods->name_end(); ++chanNameMapItr ) {
117 chanNum = (*chanNameMapItr).first;
118 chanName = (*chanNameMapItr).second;
121 std::string ROD_Part = std::string( chanName, chanName.length()-6, 2 );
122 std::string ROD_Phi = std::string( chanName, chanName.length()-4, 2 );
123 std::string ROD_Half = std::string( chanName, chanName.length()-2, 2 );
125 unsigned int rod = 0;
131 std::istringstream iss(ROD_Part);
133 switch ( ROD_Part_int ) {
135 rod += 0x10000 * 0x31;
138 rod += 0x10000 * 0x32;
141 rod += 0x10000 * 0x33;
144 rod += 0x10000 * 0x34;
151 char*
extra =
nullptr;
152 int ROD_Phi_int = strtol( ROD_Phi.c_str(), &
extra, 16 );
153 rod += ROD_Phi_int * 0x100;
158 if (
rod == thisRODid )
break;
160 if ( chanNameMapItr == EnabledRods->name_end() ) {
169 chanAttrListPair = EnabledRods->chanAttrListPair(
chanNum );
170 if ( chanAttrListPair == EnabledRods->end() ) {
◆ finalize()
StatusCode TRT_DAQ_ConditionsSvc::finalize |
( |
| ) |
|
|
virtual |
◆ initialize()
StatusCode TRT_DAQ_ConditionsSvc::initialize |
( |
| ) |
|
|
virtual |
◆ interfaceID() [1/2]
const InterfaceID & ITRT_DAQ_ConditionsSvc::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
Interface ID.
Definition at line 34 of file ITRT_DAQ_ConditionsSvc.h.
35 static const InterfaceID IID(
"ITRT_DAQ_ConditionsSvc",1,0);
◆ interfaceID() [2/2]
const InterfaceID & ITRT_ConditionsSvc::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
Definition at line 45 of file ITRT_ConditionsSvc.h.
46 static const InterfaceID IID(
"ITRT_ConditionsSvc",1,0);
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ queryInterface()
StatusCode TRT_DAQ_ConditionsSvc::queryInterface |
( |
const InterfaceID & |
riid, |
|
|
void ** |
ppvIf |
|
) |
| |
|
inlinevirtual |
Query Interface.
Definition at line 80 of file TRT_DAQ_ConditionsSvc.h.
88 return AthService::queryInterface( riid, ppvInterface );
90 return StatusCode::SUCCESS;
◆ RODid()
Return ROD identifier //.
Definition at line 51 of file TRT_DAQ_ConditionsSvc.cxx.
59 else if ( barrel_ec == -1 )
partition = 0x32;
60 else if ( barrel_ec == 2 )
partition = 0x33;
61 else if ( barrel_ec == -2 )
partition = 0x34;
67 int phi = phi_module + 1;
70 if ( abs(barrel_ec) == 2 ) {
71 if ( layer_or_wheel >= 0 && layer_or_wheel < 4 ) rodHalf = 2;
72 if ( layer_or_wheel == 4 && straw_layer >= 0 && straw_layer < 8 ) rodHalf = 1;
73 if ( layer_or_wheel == 4 && straw_layer >= 8 && straw_layer < 16 ) rodHalf = 2;
74 if ( layer_or_wheel == 5 && straw_layer >= 0 && straw_layer < 8 ) rodHalf = 2;
75 if ( layer_or_wheel == 5 && straw_layer >= 8 && straw_layer < 16 ) rodHalf = 1;
76 if ( layer_or_wheel >= 6 && layer_or_wheel < 14 ) rodHalf = 1;
◆ m_detStore
◆ m_FolderName
std::string TRT_DAQ_ConditionsSvc::m_FolderName |
|
private |
◆ m_RobinsReadKey
◆ m_TRT_ID_Helper
const TRT_ID* TRT_DAQ_ConditionsSvc::m_TRT_ID_Helper {} |
|
private |
The documentation for this class was generated from the following files: