ATLAS Offline Software
EgammaHitsCalibration.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 #ifndef TRIGT2CALOCALIBRATION_EGAMMAHITSCALIBRATION
6 #define TRIGT2CALOCALIBRATION_EGAMMAHITSCALIBRATION
7 
11 #include "GaudiKernel/MsgStream.h"
12 
13 // Specific for this calibration
15 #include "CaloConditions/Array.h"
16 #include "CaloGeoHelpers/CaloSampling.h"
18 
19 // Just for the pointer definition
20 //class TrigEMCluster;
21 
22 
25  public extends<CaloUtils::ToolWithConstants<AthAlgTool>,
26  IEgammaCalibration>
27 {
28  public:
30  using base_class::base_class;
31 
33  virtual StatusCode initialize() override;
34 
36  virtual StatusCode finalize() override;
37 
43  virtual void makeCorrection(xAOD::TrigEMCluster*, const void* v=nullptr) const override;
44 
45  private:
46  // Correction Variables
47  Constant<CxxUtils::Array<3> > m_correction { this, "correction" };
48  Constant<CxxUtils::Array<2> > m_sampling_depth { this, "sampling_depth" };
49  Constant<float> m_eta_start_crack { this, "eta_start_crack" };
50  Constant<float> m_eta_end_crack { this, "eta_end_crack" };
51  Constant<float> m_etamax { this, "etamax" };
52  Constant<bool> m_use_raw_eta { this, "use_raw_eta" };
53  Constant<bool> m_preserve_offset { this, "preserve_offset" };
54  Constant<bool> m_fix_v6_pathologies { this, "fix_v6_pathologies" };
55 
56 };
57 
58 #endif
IEgammaCalibration.h
TrigEMCluster.h
ToolWithConstants.h
Hold constants for a tool.
EgammaHitsCalibration::m_use_raw_eta
Constant< bool > m_use_raw_eta
Definition: EgammaHitsCalibration.h:52
EgammaHitsCalibration::initialize
virtual StatusCode initialize() override
Initialization of the tool.
Definition: EgammaHitsCalibration.cxx:27
EgammaHitsCalibration
General Interface for calibrations at the LVL2 Egamma Calo Fex algo.
Definition: EgammaHitsCalibration.h:27
Array.h
Simple multidimensional arrays.
EgammaHitsCalibration::m_etamax
Constant< float > m_etamax
Definition: EgammaHitsCalibration.h:51
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
EgammaHitsCalibration::makeCorrection
virtual void makeCorrection(xAOD::TrigEMCluster *, const void *v=nullptr) const override
method to perform the correction.
Definition: EgammaHitsCalibration.cxx:43
EgammaHitsShowerDepth.h
EgammaHitsCalibration::m_correction
Constant< CxxUtils::Array< 3 > > m_correction
Definition: EgammaHitsCalibration.h:47
EgammaHitsCalibration::m_sampling_depth
Constant< CxxUtils::Array< 2 > > m_sampling_depth
Definition: EgammaHitsCalibration.h:48
EgammaHitsCalibration::finalize
virtual StatusCode finalize() override
Finalization of the tool.
Definition: EgammaHitsCalibration.cxx:38
EgammaHitsCalibration::m_eta_start_crack
Constant< float > m_eta_start_crack
Definition: EgammaHitsCalibration.h:49
python.PyAthena.v
v
Definition: PyAthena.py:154
EgammaHitsCalibration::m_eta_end_crack
Constant< float > m_eta_end_crack
Definition: EgammaHitsCalibration.h:50
EgammaHitsCalibration::m_preserve_offset
Constant< bool > m_preserve_offset
Definition: EgammaHitsCalibration.h:53
EgammaHitsCalibration::m_fix_v6_pathologies
Constant< bool > m_fix_v6_pathologies
Definition: EgammaHitsCalibration.h:54
xAOD::TrigEMCluster_v1
Description of a trigger EM cluster.
Definition: TrigEMCluster_v1.h:28