ATLAS Offline Software
Loading...
Searching...
No Matches
LArCablingTest.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARCABLINGTEST_H
6#define LARCABLINGTEST_H
7
8//Dear emacs, this is -*-c++-*-
10#include "GaudiKernel/ToolHandle.h"
16
17
18class LArOnlineID;
19class CaloCell_ID;
20
22{
23 public:
26
27 //standard algorithm methods
28 StatusCode initialize();
29 StatusCode execute(const EventContext& ctx) ;
30 StatusCode finalize(){return StatusCode::SUCCESS;}
31 private:
32
33 SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
34 SG::ReadCondHandleKey<LArCalibLineMapping> m_CLKey{this, "CalibLineKey", "LArCalibLineMap", "SG calib line key"};
35 SG::ReadCondHandleKey<LArFebRodMapping> m_RodKey{this, "FebRodKey", "LArFebRodMap", "SG ROD mapping key"};
36
37 Gaudi::Property<bool> m_print{this, "Print", true};
38 Gaudi::Property<unsigned> m_mode{this, "TestMode", 0xF, "1: On->Off, 2: Off->On 4: disconnected, 8: FEB->ROD"};
39 const LArOnlineID* m_onlineId{nullptr};
40 const CaloCell_ID* m_caloCellId{nullptr};
41
42 void print (const HWIdentifier& hwid, std::ostream& out, const LArOnOffIdMapping* cabling, const LArCalibLineMapping *clCont);
43};
44
45#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
const CaloCell_ID * m_caloCellId
StatusCode initialize()
StatusCode execute(const EventContext &ctx)
Execute method.
StatusCode finalize()
Gaudi::Property< bool > m_print
SG::ReadCondHandleKey< LArFebRodMapping > m_RodKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
const LArOnlineID * m_onlineId
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
SG::ReadCondHandleKey< LArCalibLineMapping > m_CLKey
void print(const HWIdentifier &hwid, std::ostream &out, const LArOnOffIdMapping *cabling, const LArCalibLineMapping *clCont)
Gaudi::Property< unsigned > m_mode