ATLAS Offline Software
CSCConditionsTestAlgMT.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef CSCConditionsTestAlgMT_H
6 #define CSCConditionsTestAlgMT_H
7 
8 // STL
9 #include <sstream>
10 #include <string>
11 
12 // Gaudi
14 #include "GaudiKernel/ServiceHandle.h"
15 #include "GaudiKernel/StatusCode.h"
16 
17 // Athena
21 
22 // Forward declarations
23 class ISvcLocator;
24 class StatusCode;
25 class CscCondDbData;
26 
29 public:
30  CSCConditionsTestAlgMT(const std::string &name, ISvcLocator *pSvcLocator);
32 
33  StatusCode initialize() override;
34  StatusCode execute() override;
35 
36 private:
37  SG::ReadCondHandleKey<CscCondDbData> m_readKey{this, "ReadKey", "CscCondDbData", "Key of CscCondDbData"};
38 
39 }; // end of class
40 
41 #endif
CSCConditionsTestAlgMT::initialize
StatusCode initialize() override
Definition: CSCConditionsTestAlgMT.cxx:14
CscCondDbData.h
CSCConditionsTestAlgMT::m_readKey
SG::ReadCondHandleKey< CscCondDbData > m_readKey
Definition: CSCConditionsTestAlgMT.h:37
AthAlgorithm.h
CSCConditionsTestAlgMT
Example class to show calling the SCT_ConditionsSummarySvc.
Definition: CSCConditionsTestAlgMT.h:28
CSCConditionsTestAlgMT::CSCConditionsTestAlgMT
CSCConditionsTestAlgMT(const std::string &name, ISvcLocator *pSvcLocator)
Definition: CSCConditionsTestAlgMT.cxx:8
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonHierarchy.h
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
IdentifierHash.h
SG::ReadCondHandleKey< CscCondDbData >
CSCConditionsTestAlgMT::execute
StatusCode execute() override
Definition: CSCConditionsTestAlgMT.cxx:21
CSCConditionsTestAlgMT::~CSCConditionsTestAlgMT
virtual ~CSCConditionsTestAlgMT()
CscCondDbData
Definition: CscCondDbData.h:24