ATLAS Offline Software
LArCellMerger.h
Go to the documentation of this file.
1 //Dear emacs, this is -*-c++-*-
2 /*
3  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4 */
5 
6 #ifndef LARCELLREC_LARCELLMERGER_H
7 #define LARCELLREC_LARCELLMERGER_H
8 
22 #include "GaudiKernel/ToolHandle.h"
27 
29 
30 class CaloCell_ID;
31 class LArOnlineID;
33 
35  : public extends<AthAlgTool, ICaloCellMakerTool>
36 {
37 public:
38 
39  using base_class::base_class;
40 
43  virtual StatusCode initialize() override;
44 
47  virtual StatusCode finalize() override;
48 
51  virtual StatusCode process (CaloCellContainer* theCellContainer,
52  const EventContext& ctx) const override;
53 
54 
55  private:
56 
59  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of Cabling obj"};
60 
61 
64  SG::ReadHandleKey<LArRawChannelContainer> m_rawChannelContainerName{this,"RawChannelsName","LArRawChannels_digits",
65  "SG key of rebuilt LArRawChannelContainer"};
66 
67  const CaloCell_ID* m_calo_id=nullptr;
68  const LArOnlineID* m_onlineID=nullptr;
69 
70 };
71 
72 #endif
73 
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
LArCellMerger::initialize
virtual StatusCode initialize() override
initialize the tool
Definition: LArCellMerger.cxx:33
SG::ReadHandleKey< LArRawChannelContainer >
LArCellMerger::process
virtual StatusCode process(CaloCellContainer *theCellContainer, const EventContext &ctx) const override
update theCellContainer
Definition: LArCellMerger.cxx:48
LArOnOffIdMapping.h
LArCellMerger::m_calo_id
const CaloCell_ID * m_calo_id
Definition: LArCellMerger.h:67
LArCellMerger::finalize
virtual StatusCode finalize() override
finalize the tool
Definition: LArCellMerger.cxx:44
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArCellMerger::m_rawChannelContainerName
SG::ReadHandleKey< LArRawChannelContainer > m_rawChannelContainerName
key for raw channel container to merge to cells
Definition: LArCellMerger.h:64
AthAlgTool.h
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
ReadCondHandleKey.h
LArOnlineID
Definition: LArOnlineID.h:20
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
ICaloCellMakerTool.h
SG::ReadCondHandleKey< LArOnOffIdMapping >
LArCellMerger::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
handle to LAr cabling
Definition: LArCellMerger.h:59
LArCellMerger
Replace cells in calo cell container with cells from alternate raw channel container.
Definition: LArCellMerger.h:36
LArRawChannelContainer
Container for LArRawChannel (IDC using LArRawChannelCollection)
Definition: LArRawChannelContainer.h:26
LArCellMerger::m_onlineID
const LArOnlineID * m_onlineID
Definition: LArCellMerger.h:68