ATLAS Offline Software
InnerDetector
InDetConditions
TRT_ConditionsServices
src
TRT_ConditionsTestSvc.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
11
#include "
TRT_ConditionsTestSvc.h
"
12
#include "Identifier/Identifier.h"
13
17
TRT_ConditionsTestSvc::TRT_ConditionsTestSvc
(
const
std::string&
name
,
18
ISvcLocator* pSvcLocator ) :
19
AthService
(
name
, pSvcLocator )
20
{
21
}
22
26
TRT_ConditionsTestSvc::~TRT_ConditionsTestSvc
() =
default
;
27
31
StatusCode
TRT_ConditionsTestSvc::initialize
() {
32
if
(
msgLvl
(
MSG::DEBUG
))
msg
(
MSG::DEBUG
) <<
"TRT_ConditionsTestSvc: Initialize."
<<
endmsg
;
33
StatusCode
sc
(StatusCode::SUCCESS);
34
35
return
StatusCode::SUCCESS;
36
}
37
41
InDet::TRT_CondFlag
TRT_ConditionsTestSvc::condSummaryStatus
(
const
Identifier
& ) {
42
return
InDet::TRT_COND_GOOD
;
43
}
44
48
StatusCode
TRT_ConditionsTestSvc::finalize
() {
49
return
StatusCode::SUCCESS;
50
}
TRT_ConditionsTestSvc::~TRT_ConditionsTestSvc
virtual ~TRT_ConditionsTestSvc()
Destructor //.
TRT_ConditionsTestSvc::TRT_ConditionsTestSvc
TRT_ConditionsTestSvc(const std::string &name, ISvcLocator *pSvcLocator)
Constructor //.
Definition:
TRT_ConditionsTestSvc.cxx:17
AthCommonMsg< Service >::msgLvl
bool msgLvl(const MSG::Level lvl) const
Definition:
AthCommonMsg.h:30
TRT_ConditionsTestSvc.h
Service for example and test of TRT_ConditionsSummarySvc Inherits from ITRT_ConditionsSvc base class ...
AthenaPoolTestRead.sc
sc
Definition:
AthenaPoolTestRead.py:27
TRT_ConditionsTestSvc::finalize
virtual StatusCode finalize()
Finalize //.
Definition:
TRT_ConditionsTestSvc.cxx:48
Identifier
Definition:
DetectorDescription/Identifier/Identifier/Identifier.h:32
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthService
Definition:
AthService.h:32
TRT_ConditionsTestSvc::initialize
virtual StatusCode initialize()
Initialize //.
Definition:
TRT_ConditionsTestSvc.cxx:31
TRT_ConditionsTestSvc::condSummaryStatus
InDet::TRT_CondFlag condSummaryStatus(const Identifier &)
Evaluation for TRT_ConditionsSummarySvc.
Definition:
TRT_ConditionsTestSvc.cxx:41
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:195
DEBUG
#define DEBUG
Definition:
page_access.h:11
AthCommonMsg< Service >::msg
MsgStream & msg() const
Definition:
AthCommonMsg.h:24
InDet::TRT_CondFlag
TRT_CondFlag
status flag to be derived from the inheriting tool's conditions info
Definition:
ITRT_ConditionsSvc.h:19
InDet::TRT_COND_GOOD
@ TRT_COND_GOOD
Definition:
ITRT_ConditionsSvc.h:21
Generated on Tue Jul 2 2024 21:31:18 for ATLAS Offline Software by
1.8.18