ATLAS Offline Software
EgammaGapCalibration.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 #ifndef TRIGT2CALOCALIBRATION_EGAMMAGAPCALIBRATION
7 #define TRIGT2CALOCALIBRATION_EGAMMAGAPCALIBRATION
8 
11 #include "GaudiKernel/MsgStream.h"
12 
13 // Specific for this calibration
15 #include "CaloConditions/Array.h"
17 #include "CaloGeoHelpers/CaloSampling.h"
19 
20 // Just for the pointer definition
21 //class TrigEMCluster;
22 
25  public extends<CaloUtils::ToolWithConstants<AthAlgTool>,
26  IEgammaCalibration>
27 {
28  public:
29 
31  using base_class::base_class;
32 
34  virtual StatusCode initialize() override;
35 
37  virtual StatusCode finalize() override;
38 
44  virtual void makeCorrection(xAOD::TrigEMCluster*, const void* v=nullptr) const override;
45 
46  private:
47  // Correction Variables
48  Constant<CxxUtils::Array<2> > m_correction { this, "correction" };
49  Constant<float> m_eta_start_crack { this, "eta_start_crack" };
50  Constant<float> m_eta_end_crack { this, "eta_end_crack" };
51  Constant<int> m_degree { this, "degree" };
52  Constant<bool> m_use_raw_eta { this, "use_raw_eta" };
53  BooleanProperty m_interpolate { this, "UseInterpolation", true };
54 };
55 
56 #endif
EgammaGapCalibration::initialize
virtual StatusCode initialize() override
Initialization of the tool.
Definition: EgammaGapCalibration.cxx:26
IEgammaCalibration.h
TrigEMCluster.h
ToolWithConstants.h
Hold constants for a tool.
EgammaGapCalibration::m_eta_end_crack
Constant< float > m_eta_end_crack
Definition: EgammaGapCalibration.h:50
Array.h
Simple multidimensional arrays.
EgammaGapCalibration::m_interpolate
BooleanProperty m_interpolate
Definition: EgammaGapCalibration.h:53
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
EgammaGapCalibration::m_use_raw_eta
Constant< bool > m_use_raw_eta
Definition: EgammaGapCalibration.h:52
python.PyAthena.v
v
Definition: PyAthena.py:154
EgammaGapCalibration
General Interface for calibrations at the LVL2 Egamma Calo Fex algo.
Definition: EgammaGapCalibration.h:27
EgammaGapCalibration::m_degree
Constant< int > m_degree
Definition: EgammaGapCalibration.h:51
EgammaGapCalibration::makeCorrection
virtual void makeCorrection(xAOD::TrigEMCluster *, const void *v=nullptr) const override
method to perform the correction.
Definition: EgammaGapCalibration.cxx:45
EgammaGapCalibration::m_eta_start_crack
Constant< float > m_eta_start_crack
Definition: EgammaGapCalibration.h:49
interpolate.h
Polynomial interpolation in a table.
xAOD::TrigEMCluster_v1
Description of a trigger EM cluster.
Definition: TrigEMCluster_v1.h:28
EgammaGapCalibration::m_correction
Constant< CxxUtils::Array< 2 > > m_correction
Definition: EgammaGapCalibration.h:48
EgammaGapCalibration::finalize
virtual StatusCode finalize() override
Finalization of the tool.
Definition: EgammaGapCalibration.cxx:37