ATLAS Offline Software
ICaloEstimatedGainTool.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 /*
3  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
4  */
13 #ifndef CALOINTERFACE_ICALOESTIMATEDGAINTOOL_H
14 #define CALOINTERFACE_ICALOESTIMATEDGAINTOOL_H
15 
16 
18 #include "GaudiKernel/IAlgTool.h"
19 
20 
21 class CaloCell;
23 class EventContext;
24 
25 
30  : virtual public IAlgTool
31 {
32 public:
34 
35 
36  enum class Step {
38  CELLS
39  };
40 
41 
42  virtual CaloGain::CaloGain estimatedGain (const EventContext& ctx,
43  const CaloCell& caloCell,
44  const Step step) const = 0;
45 
46  virtual CaloGain::CaloGain estimatedGain (const EventContext& ctx,
47  const CaloCell& caloCell,
48  const CaloDetDescrElement& caloDDE,
49  const Step step) const = 0;
50 
51  virtual CaloGain::CaloGain estimatedGain (const EventContext& ctx,
52  const CaloDetDescrElement& caloDDE,
53  const float energy,
54  const Step step) const = 0;
55 };
56 
57 
58 #endif // not CALOINTERFACE_ICALOESTIMATEDGAINTOOL_H
CaloDetDescrElement
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:66
ICaloEstimatedGainTool::estimatedGain
virtual CaloGain::CaloGain estimatedGain(const EventContext &ctx, const CaloCell &caloCell, const CaloDetDescrElement &caloDDE, const Step step) const =0
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
ICaloEstimatedGainTool::Step::RAWCHANNELS
@ RAWCHANNELS
ICaloEstimatedGainTool::Step
Step
Definition: ICaloEstimatedGainTool.h:36
ICaloEstimatedGainTool::estimatedGain
virtual CaloGain::CaloGain estimatedGain(const EventContext &ctx, const CaloDetDescrElement &caloDDE, const float energy, const Step step) const =0
ICaloEstimatedGainTool::Step::CELLS
@ CELLS
ICaloEstimatedGainTool
Estimate gain used to read out a certain energy.
Definition: ICaloEstimatedGainTool.h:31
CaloGain::CaloGain
CaloGain
Definition: CaloGain.h:11
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
LArCellBinning.step
step
Definition: LArCellBinning.py:158
ICaloEstimatedGainTool::DeclareInterfaceID
DeclareInterfaceID(ICaloEstimatedGainTool, 1, 0)
CaloGain.h
ICaloEstimatedGainTool::estimatedGain
virtual CaloGain::CaloGain estimatedGain(const EventContext &ctx, const CaloCell &caloCell, const Step step) const =0