ATLAS Offline Software
Loading...
Searching...
No Matches
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
27
33
34
35class LArOnlineID;
36class GenericDbTable;
37class LArRampMC;
38
40{
41
42public:
43
44 LArConditionsTestAlg(const std::string& name, ISvcLocator* pSvcLocator);
45 virtual ~LArConditionsTestAlg();
46
47 virtual StatusCode initialize() override;
48 virtual StatusCode execute() override;
49 virtual StatusCode finalize() override;
50
51private:
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
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
Define macros for attributes used to control the static checker.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
BooleanProperty m_testCondObjs
BooleanProperty m_writeCorrections
StatusCode testEachCondObject ATLAS_NOT_THREAD_SAFE(const LArRampMC *ramps)
BooleanProperty m_readCondObjs
std::vector< LArRampPTmp > m_rampCorrections
virtual StatusCode execute() override
std::vector< LArRampPTmp > m_rampCache
BooleanProperty m_writeCondObjs
LArConditionsTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
const LArOnlineID * m_onlineID
virtual StatusCode finalize() override
BooleanProperty m_applyCorrections
Implementation of the interface ILArRamp for MC Derives from LArRampComplete, and implements the phi-...
Definition LArRampMC.h:22
void initialize()