ATLAS Offline Software
LArSCIdVsIdTest.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 // Dear emacs, this is -*-c++-*-
5 #ifndef LARCONDITIONSTEST_LARSCIDVSIDTEST_H
6 #define LARCONDITIONSTEST_LARSCIDVSIDTEST_H
7 
9 #include "GaudiKernel/ToolHandle.h"
19 #include "CaloGeoHelpers/CaloSampling.h"
20 
22  public:
24 
25  // standard algorithm methods
27  StatusCode execute(const EventContext& ctx) const;
28  StatusCode finalize() { return StatusCode::SUCCESS; }
29 
30  private:
31  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this, "CablingKey", "LArOnOffIdMap", "SG Key of LArOnOffIdMapping object"};
32  SG::ReadCondHandleKey<LArOnOffIdMapping> m_scCablingKey{this, "SCCablingKey", "LArOnOffIdMapSC", "SG Key of LArOnOffIdMapping object"};
33  SG::ReadCondHandleKey<CaloSuperCellDetDescrManager> m_caloSuperCellMgrKey{this, "CaloSuperCellDetDescrManager", "CaloSuperCellDetDescrManager", "SG key of the resulting CaloSuperCellDetDescrManager" };
34  SG::ReadCondHandleKey<CaloDetDescrManager> m_caloMgrKey{this, "CaloDetDescrManager", "CaloDetDescrManager", "SG Key for CaloDetDescrManager in the Condition Store"};
35 
36  ToolHandle<ICaloSuperCellIDTool> m_scidtool{this, "CaloSuperCellIDTool", "CaloSuperCellIDTool", "Offline / SuperCell ID mapping tool"};
37  const LArOnlineID* m_onlineId=nullptr;
38  const CaloCell_ID* m_caloCellId=nullptr;
39 
42 
43 };
44 
45 #endif
LArSCIdvsIdTest::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: LArSCIdVsIdTest.h:31
LArSCIdvsIdTest::initialize
StatusCode initialize()
Definition: LArSCIdVsIdTest.cxx:9
LArSCIdvsIdTest::m_caloCellId
const CaloCell_ID * m_caloCellId
Definition: LArSCIdVsIdTest.h:38
LArSCIdvsIdTest::m_caloSuperCellMgrKey
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSuperCellMgrKey
Definition: LArSCIdVsIdTest.h:33
LArSCIdvsIdTest::m_scCaloCellId
const CaloCell_SuperCell_ID * m_scCaloCellId
Definition: LArSCIdVsIdTest.h:41
ICaloSuperCellIDTool.h
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
LArSCIdvsIdTest::m_scidtool
ToolHandle< ICaloSuperCellIDTool > m_scidtool
Definition: LArSCIdVsIdTest.h:36
CaloCell_ID.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
LArSCIdvsIdTest::execute
StatusCode execute(const EventContext &ctx) const
Definition: LArSCIdVsIdTest.cxx:23
LArOnOffIdMapping.h
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
CaloCell_SuperCell_ID
Helper class for offline supercell identifiers.
Definition: CaloCell_SuperCell_ID.h:48
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloCell_SuperCell_ID.h
Helper class for offline supercell identifiers.
LArSCIdvsIdTest::m_scOnlineId
const LArOnline_SuperCellID * m_scOnlineId
Definition: LArSCIdVsIdTest.h:40
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
LArSCIdvsIdTest::finalize
StatusCode finalize()
Definition: LArSCIdVsIdTest.h:28
ReadCondHandleKey.h
AthReentrantAlgorithm.h
HWIdentifier.h
LArOnlineID
Definition: LArOnlineID.h:20
LArOnline_SuperCellID
Definition: LArOnline_SuperCellID.h:20
LArSCIdvsIdTest::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition: LArSCIdVsIdTest.h:34
SG::ReadCondHandleKey< LArOnOffIdMapping >
LArSCIdvsIdTest::m_onlineId
const LArOnlineID * m_onlineId
Definition: LArSCIdVsIdTest.h:37
LArSCIdvsIdTest
Definition: LArSCIdVsIdTest.h:21
LArOnline_SuperCellID.h
LArSCIdvsIdTest::m_scCablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_scCablingKey
Definition: LArSCIdVsIdTest.h:32
LArOnlineID.h