ATLAS Offline Software
Loading...
Searching...
No Matches
LArCellGainPathology.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARCELLREC_LARCELLGAINPATHOLOGY_H
6#define LARCELLREC_LARCELLGAINPATHOLOGY_H
7
15
16
17
22
23
24class CaloCell_ID;
25class LArOnlineID;
26class HWIdentifier;
27class CaloCell;
28
30 : public extends<AthAlgTool, ICaloCellMakerTool>
31{
32public:
33 LArCellGainPathology(const std::string& type,
34 const std::string& name,
35 const IInterface* parent) ;
36
37
40 virtual StatusCode initialize() override;
41
44 virtual StatusCode finalize() override;
45
48 virtual StatusCode process (CaloCellContainer* theCellContainer,
49 const EventContext& ctx) const override;
50
51 private:
55 const LArOnOffIdMapping* cabling) const;
56
60 const LArOnOffIdMapping* cabling) const;
61
64 SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
65
70
71};
72
73#endif
74
Container class for CaloCell.
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
Data object for each calorimeter readout cell.
Definition CaloCell.h:57
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
handle to LAr cabling service
CaloCell * GetCell(CaloCellContainer *theCont, HWIdentifier id, const LArOnOffIdMapping *cabling) const
method to find cell from hardware id
void ApplyPathology(CaloCellContainer *theCont, HWIdentifier id1, HWIdentifier id, const LArOnOffIdMapping *cabling) const
method to apply pathology between a couple of cells
LArCellGainPathology(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode initialize() override
initialize the tool
virtual StatusCode finalize() override
finalize the tool
const LArOnlineID * m_onlineID
const CaloCell_ID * m_calo_id
pointers to storegateSvc and identifier helpers
const std::string process