ATLAS Offline Software
LArIdMapConvert.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 LARCONDITIONSTEST_LARIDMAPCONVERT_H
6 #define LARCONDITIONSTEST_LARIDMAPCONVERT_H 1
7 
8 // STL includes
9 #include <string>
10 
11 // FrameWork includes
13 #include "GaudiKernel/ToolHandle.h"
17 
20 
21 #include <iostream>
22 
24  : public ::AthAlgorithm
25 {
26 
27  public:
28 
30  LArIdMapConvert( const std::string& name, ISvcLocator* pSvcLocator );
31 
33  virtual ~LArIdMapConvert();
34 
35  // Athena algorithm's Hooks
36  virtual StatusCode initialize() override;
37  virtual StatusCode execute() override;
38  virtual StatusCode finalize() override;
39 
40  private:
41 
42  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
43  SG::ReadCondHandleKey<LArCalibLineMapping> m_CLKey{this, "SCCalibLineKey", "LArCalibLineMapSC", "SG calib line key"};
44 
47  void print (const HWIdentifier& hwid, std::ostream& out=std::cout);
48 
51 
52 
53 };
54 
55 #endif //> !LARCONDITIONSTEST_LARIDMAPCONVERT_H
LArIdMapConvert::print
void print(const HWIdentifier &hwid, std::ostream &out=std::cout)
Definition: LArIdMapConvert.cxx:131
LArIdMapConvert::LArIdMapConvert
LArIdMapConvert()
Default constructor:
LArIdMapConvert::initialize
virtual StatusCode initialize() override
Definition: LArIdMapConvert.cxx:26
LArIdMapConvert::~LArIdMapConvert
virtual ~LArIdMapConvert()
Destructor:
Definition: LArIdMapConvert.cxx:22
LArIdMapConvert::m_onlineID
const LArOnlineID * m_onlineID
Definition: LArIdMapConvert.h:49
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
LArIdMapConvert::execute
virtual StatusCode execute() override
Definition: LArIdMapConvert.cxx:44
HWIdentifier
Definition: HWIdentifier.h:13
LArIdMapConvert::finalize
virtual StatusCode finalize() override
Definition: LArIdMapConvert.cxx:37
CaloCell_ID.h
AthAlgorithm.h
LArOnOffIdMapping.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArIdMapConvert::m_caloCellID
const CaloCell_ID * m_caloCellID
Definition: LArIdMapConvert.h:50
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
LArIdMapConvert::m_CLKey
SG::ReadCondHandleKey< LArCalibLineMapping > m_CLKey
Definition: LArIdMapConvert.h:43
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
LArIdMapConvert
Definition: LArIdMapConvert.h:25
LArOnlineID
Definition: LArOnlineID.h:20
SG::ReadCondHandleKey< LArOnOffIdMapping >
LArIdMapConvert::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: LArIdMapConvert.h:42
LArCalibLineMapping.h
LArOnlineID.h