ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloInterface
CaloInterface
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
*/
11
12
13
#ifndef CALOINTERFACE_ICALOESTIMATEDGAINTOOL_H
14
#define CALOINTERFACE_ICALOESTIMATEDGAINTOOL_H
15
16
17
#include "
CaloIdentifier/CaloGain.h
"
18
#include "GaudiKernel/IAlgTool.h"
19
20
21
class
CaloCell
;
22
class
CaloDetDescrElement
;
23
class
EventContext;
24
25
29
class
ICaloEstimatedGainTool
30
:
virtual
public
IAlgTool
31
{
32
public
:
33
DeclareInterfaceID
(
ICaloEstimatedGainTool
, 1, 0 );
34
35
36
enum class
Step
{
37
RAWCHANNELS
,
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
CaloGain.h
CaloCell
Data object for each calorimeter readout cell.
Definition
CaloCell.h:57
CaloDetDescrElement
This class groups all DetDescr information related to a CaloCell.
Definition
Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:66
ICaloEstimatedGainTool
Estimate gain used to read out a certain energy.
Definition
ICaloEstimatedGainTool.h:31
ICaloEstimatedGainTool::estimatedGain
virtual CaloGain::CaloGain estimatedGain(const EventContext &ctx, const CaloDetDescrElement &caloDDE, const float energy, const Step step) const =0
ICaloEstimatedGainTool::DeclareInterfaceID
DeclareInterfaceID(ICaloEstimatedGainTool, 1, 0)
ICaloEstimatedGainTool::estimatedGain
virtual CaloGain::CaloGain estimatedGain(const EventContext &ctx, const CaloCell &caloCell, const Step step) const =0
ICaloEstimatedGainTool::Step
Step
Definition
ICaloEstimatedGainTool.h:36
ICaloEstimatedGainTool::Step::RAWCHANNELS
@ RAWCHANNELS
Definition
ICaloEstimatedGainTool.h:37
ICaloEstimatedGainTool::Step::CELLS
@ CELLS
Definition
ICaloEstimatedGainTool.h:38
ICaloEstimatedGainTool::estimatedGain
virtual CaloGain::CaloGain estimatedGain(const EventContext &ctx, const CaloCell &caloCell, const CaloDetDescrElement &caloDDE, const Step step) const =0
CaloGain::CaloGain
CaloGain
Definition
CaloGain.h:11
Generated on
for ATLAS Offline Software by
1.17.0