ATLAS Offline Software
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 
22 
23 
24 class CaloCell_ID;
25 class LArOnlineID;
26 class HWIdentifier;
27 class CaloCell;
28 
30  : public extends<AthAlgTool, ICaloCellMakerTool>
31 {
32 public:
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 
LArCellGainPathology
Apply to MC the pathology on gain corruption between cha0-63, 64-127, which affected 7 samples data A...
Definition: LArCellGainPathology.h:31
LArCellGainPathology::initialize
virtual StatusCode initialize() override
initialize the tool
Definition: LArCellGainPathology.cxx:49
LArCellGainPathology::process
virtual StatusCode process(CaloCellContainer *theCellContainer, const EventContext &ctx) const override
update theCellContainer, masking Feb with errors
Definition: LArCellGainPathology.cxx:67
LArCellGainPathology::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
handle to LAr cabling service
Definition: LArCellGainPathology.h:64
ReadCellNoiseFromCool.cabling
cabling
Definition: ReadCellNoiseFromCool.py:154
HWIdentifier
Definition: HWIdentifier.h:13
LArCellGainPathology::ApplyPathology
void ApplyPathology(CaloCellContainer *theCont, HWIdentifier id1, HWIdentifier id, const LArOnOffIdMapping *cabling) const
method to apply pathology between a couple of cells
Definition: LArCellGainPathology.cxx:100
LArOnOffIdMapping.h
LArCellGainPathology::LArCellGainPathology
LArCellGainPathology(const std::string &type, const std::string &name, const IInterface *parent)
Definition: LArCellGainPathology.cxx:33
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
ReadCondHandleKey.h
LArCellGainPathology::m_calo_id
const CaloCell_ID * m_calo_id
pointers to storegateSvc and identifier helpers
Definition: LArCellGainPathology.h:68
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:225
LArOnlineID
Definition: LArOnlineID.h:20
LArCellGainPathology::GetCell
CaloCell * GetCell(CaloCellContainer *theCont, HWIdentifier id, const LArOnOffIdMapping *cabling) const
method to find cell from hardware id
Definition: LArCellGainPathology.cxx:135
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
ICaloCellMakerTool.h
SG::ReadCondHandleKey< LArOnOffIdMapping >
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
LArCellGainPathology::m_onlineID
const LArOnlineID * m_onlineID
Definition: LArCellGainPathology.h:69
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LArCellGainPathology::finalize
virtual StatusCode finalize() override
finalize the tool
Definition: LArCellGainPathology.cxx:62
LArOnOffIdMapping
Definition: LArOnOffIdMapping.h:20