ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArTest
LArConditionsTest
LArConditionsTest
LArConditionsTestAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
15
#ifndef LARIOV_LARCONDITIONSTESTALG_H
16
#define LARIOV_LARCONDITIONSTESTALG_H
17
24
25
#include "
AthenaBaseComps/AthAlgorithm.h
"
26
#include "
CxxUtils/checker_macros.h
"
27
28
#include "
StoreGate/ReadCondHandleKey.h
"
29
#include "
LArCabling/LArOnOffIdMapping.h
"
30
#include "
LArRecConditions/LArCalibLineMapping.h
"
31
#include "
LArRecConditions/LArFebRodMapping.h
"
32
#include "
LArConditionsTest/LArRampPTmp.h
"
33
34
35
class
LArOnlineID
;
36
class
GenericDbTable
;
37
class
LArRampMC
;
38
39
class
ATLAS_NOT_THREAD_SAFE
LArConditionsTestAlg
:
public
AthAlgorithm
40
{
41
42
public
:
43
44
LArConditionsTestAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
45
virtual
~LArConditionsTestAlg
();
46
47
virtual
StatusCode
initialize
()
override
;
48
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
49
virtual
StatusCode
finalize
()
override
;
50
51
private
:
52
53
StatusCode
createCompareObjects
();
54
StatusCode
testCondObjects
();
55
StatusCode testEachCondObject
ATLAS_NOT_THREAD_SAFE
(
const
LArRampMC
* ramps);
56
StatusCode
testChannelSet
();
57
StatusCode
testDbObjectRead
() ;
58
59
// Cache of compare data
60
std::vector<LArRampPTmp>
m_rampCache
;
61
std::vector<LArRampPTmp>
m_rampCorrections
;
62
63
const
LArOnlineID
*
m_onlineID
{};
64
BooleanProperty
m_testCondObjs
{
this
,
"TestCondObjs"
,
false
};
65
BooleanProperty
m_readCondObjs
{
this
,
"ReadCondObjs"
,
false
};
66
BooleanProperty
m_writeCondObjs
{
this
,
"WriteCondObjs"
,
false
};
67
BooleanProperty
m_writeCorrections
{
this
,
"WriteCorrections"
,
false
};
68
BooleanProperty
m_applyCorrections
{
this
,
"ApplyCorrections"
,
false
};
69
BooleanProperty
m_testReadDB
{
this
,
"TestReadDBDirect"
,
false
};
70
BooleanProperty
m_TB
{
this
,
"Testbeam"
,
false
};
71
IntegerProperty
m_tbin
{
this
,
"Tbin"
, 0};
72
};
73
#endif
// LARIOV_LARCONDITIONSTESTALG_H
74
AthAlgorithm.h
LArCalibLineMapping.h
LArFebRodMapping.h
LArOnOffIdMapping.h
LArRampPTmp.h
ReadCondHandleKey.h
checker_macros.h
Define macros for attributes used to control the static checker.
AthAlgorithm::execute
virtual StatusCode execute(const EventContext &ctx)=0
Execute method.
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
GenericDbTable
Definition
GenericDbTable.h:20
LArConditionsTestAlg::m_testCondObjs
BooleanProperty m_testCondObjs
Definition
LArConditionsTestAlg.h:64
LArConditionsTestAlg::m_writeCorrections
BooleanProperty m_writeCorrections
Definition
LArConditionsTestAlg.h:67
LArConditionsTestAlg::ATLAS_NOT_THREAD_SAFE
StatusCode testEachCondObject ATLAS_NOT_THREAD_SAFE(const LArRampMC *ramps)
LArConditionsTestAlg::m_readCondObjs
BooleanProperty m_readCondObjs
Definition
LArConditionsTestAlg.h:65
LArConditionsTestAlg::m_tbin
IntegerProperty m_tbin
Definition
LArConditionsTestAlg.h:71
LArConditionsTestAlg::testChannelSet
StatusCode testChannelSet()
Definition
LArConditionsTestAlg.cxx:1016
LArConditionsTestAlg::m_rampCorrections
std::vector< LArRampPTmp > m_rampCorrections
Definition
LArConditionsTestAlg.h:61
LArConditionsTestAlg::createCompareObjects
StatusCode createCompareObjects()
Definition
LArConditionsTestAlg.cxx:108
LArConditionsTestAlg::m_rampCache
std::vector< LArRampPTmp > m_rampCache
Definition
LArConditionsTestAlg.h:60
LArConditionsTestAlg::testCondObjects
StatusCode testCondObjects()
Definition
LArConditionsTestAlg.cxx:207
LArConditionsTestAlg::m_TB
BooleanProperty m_TB
Definition
LArConditionsTestAlg.h:70
LArConditionsTestAlg::m_writeCondObjs
BooleanProperty m_writeCondObjs
Definition
LArConditionsTestAlg.h:66
LArConditionsTestAlg::testDbObjectRead
StatusCode testDbObjectRead()
Definition
LArConditionsTestAlg.cxx:1114
LArConditionsTestAlg::LArConditionsTestAlg
LArConditionsTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArConditionsTestAlg.cxx:32
LArConditionsTestAlg::m_onlineID
const LArOnlineID * m_onlineID
Definition
LArConditionsTestAlg.h:63
LArConditionsTestAlg::finalize
virtual StatusCode finalize() override
Definition
LArConditionsTestAlg.cxx:98
LArConditionsTestAlg::m_testReadDB
BooleanProperty m_testReadDB
Definition
LArConditionsTestAlg.h:69
LArConditionsTestAlg::m_applyCorrections
BooleanProperty m_applyCorrections
Definition
LArConditionsTestAlg.h:68
LArOnlineID
Definition
LArOnlineID.h:21
LArRampMC
Implementation of the interface ILArRamp for MC Derives from LArRampComplete, and implements the phi-...
Definition
LArRampMC.h:22
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0