ATLAS Offline Software
TRT_DAQ_ConditionsSvc.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRT_DAQ_CONDITIONSSVC_H
6 #define TRT_DAQ_CONDITIONSSVC_H
7 
8 /*----------------------------------------------------
9  * @file TRT_DAQ_ConditionsSvc.h
10  * @Service Header for TRT_DAQ_ConditionsSvc
11  * @author Denver Whittington
12  *///-------------------------------------------------
13 
14 // Header Includes
18 #include "GaudiKernel/ServiceHandle.h"
19 #include "StoreGate/StoreGateSvc.h"
22 
23 #include "Identifier/Identifier.h"
24 #include "InDetIdentifier/TRT_ID.h"
25 
27 
28 // Class definition for this AlgTool
29 class TRT_DAQ_ConditionsSvc : public extends<AthService,
30  ITRT_ConditionsSvc,
31  ITRT_DAQ_ConditionsSvc>
32 {
33 
34  public:
35 
36  TRT_DAQ_ConditionsSvc( const std::string&, ISvcLocator* );
38 
39  virtual StatusCode initialize();
40  virtual StatusCode finalize();
41 
42  // Return ROD identifier
43  unsigned int RODid( const Identifier& );
44 
46 
49  InDet::TRT_CondFlag condSummaryStatus( unsigned int );
50 
52 
53 
55 
60 
61  private:
62 
64 
65  // jobOptions properties
66  std::string m_FolderName;
67 
68  // Straw Helpers
70 
71  // Read Key
72  SG::ReadCondHandleKey<CondAttrListCollection> m_RobinsReadKey{this,"RobinsReadKey","/TDAQ/Resources/ATLAS/TRT/Robins","Robins in-key"};
73 
74 };
75 
76 #endif // TRT_DAQ_CONDITIONSSVC_H
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
TRT_DAQ_ConditionsSvc::initialize
virtual StatusCode initialize()
Initialize //.
Definition: TRT_DAQ_ConditionsSvc.cxx:36
TRT_DAQ_ConditionsSvc
Definition: TRT_DAQ_ConditionsSvc.h:32
TRT_DAQ_ConditionsSvc::m_RobinsReadKey
SG::ReadCondHandleKey< CondAttrListCollection > m_RobinsReadKey
Definition: TRT_DAQ_ConditionsSvc.h:72
TRT_ID.h
This is an Identifier helper class for the TRT subdetector. This class is a factory for creating comp...
TRT_DAQ_ConditionsSvc::m_detStore
ServiceHandle< StoreGateSvc > m_detStore
Definition: TRT_DAQ_ConditionsSvc.h:63
TRT_DAQ_ConditionsSvc::RODid
unsigned int RODid(const Identifier &)
Return ROD identifier //.
Definition: TRT_DAQ_ConditionsSvc.cxx:51
TRT_DAQ_ConditionsSvc::~TRT_DAQ_ConditionsSvc
virtual ~TRT_DAQ_ConditionsSvc()
Destructor //.
CondAttrListCollection
This class is a collection of AttributeLists where each one is associated with a channel number....
Definition: CondAttrListCollection.h:52
ITRT_ConditionsSvc.h
ITRT_DAQ_ConditionsSvc.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TRT_DAQ_ConditionsSvc::m_FolderName
std::string m_FolderName
Definition: TRT_DAQ_ConditionsSvc.h:66
TRT_DAQ_ConditionsSvc::condSummaryStatus
InDet::TRT_CondFlag condSummaryStatus(unsigned int)
ConditionsSummaryStatus for a ROD ID.
Definition: TRT_DAQ_ConditionsSvc.cxx:101
ReadCondHandleKey.h
TRT_DAQ_ConditionsSvc::TRT_DAQ_ConditionsSvc
TRT_DAQ_ConditionsSvc(const std::string &, ISvcLocator *)
Constructor //.
Definition: TRT_DAQ_ConditionsSvc.cxx:18
TRT_DAQ_ConditionsSvc::m_TRT_ID_Helper
const TRT_ID * m_TRT_ID_Helper
Definition: TRT_DAQ_ConditionsSvc.h:69
SG::ReadCondHandleKey< CondAttrListCollection >
TRT_ID
Definition: TRT_ID.h:82
TRT_DAQ_ConditionsSvc::finalize
virtual StatusCode finalize()
Finalize //.
Definition: TRT_DAQ_ConditionsSvc.cxx:183
AthService.h
InDet::TRT_CondFlag
TRT_CondFlag
status flag to be derived from the inheriting tool's conditions info
Definition: ITRT_ConditionsSvc.h:19
StoreGateSvc.h
ServiceHandle< StoreGateSvc >
Identifier
Definition: IdentifierFieldParser.cxx:14