ATLAS Offline Software
EgammaTransitionRegions.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_EGAMMATRANSITIONREGIONS
6 #define TRIGT2CALOCALIBRATION_EGAMMATRANSITIONREGIONS
7 
10 #include "GaudiKernel/MsgStream.h"
11 
12 // Specific for this calibration
14 #include "CaloConditions/Array.h"
15 #include "CaloGeoHelpers/CaloSampling.h"
17 
18 // Just for the pointer definition
19 //class TrigEMCluster;
20 
21 
24  public extends<CaloUtils::ToolWithConstants<AthAlgTool>,
25  IEgammaCalibration>
26 {
27  public:
29  using base_class::base_class;
30 
32  virtual StatusCode initialize() override;
33 
35  virtual StatusCode finalize() override;
36 
37 
43  virtual void makeCorrection(xAOD::TrigEMCluster*, const void* v=nullptr) const override;
44 
45  private:
46  // Correction Variables
47  Constant<CxxUtils::Array<2> > m_correction { this, "correction" };
48  Constant<float> m_etamin_TR00 { this, "etamin_TR00" };
49  Constant<float> m_etamax_TR00 { this, "etamax_TR00" };
50  Constant<float> m_etamin_TR08 { this, "etamin_TR08" };
51  Constant<float> m_etamax_TR08 { this, "etamax_TR08" };
52  Constant<bool> m_use_raw_eta { this, "use_raw_eta" };
53 };
54 
55 #endif
EgammaTransitionRegions::m_etamin_TR08
Constant< float > m_etamin_TR08
Definition: EgammaTransitionRegions.h:50
EgammaTransitionRegions
General Interface for calibrations at the LVL2 Egamma Calo Fex algo.
Definition: EgammaTransitionRegions.h:26
IEgammaCalibration.h
EgammaTransitionRegions::initialize
virtual StatusCode initialize() override
Initialization of the tool.
Definition: EgammaTransitionRegions.cxx:43
EgammaTransitionRegions::makeCorrection
virtual void makeCorrection(xAOD::TrigEMCluster *, const void *v=nullptr) const override
method to perform the correction.
Definition: EgammaTransitionRegions.cxx:61
TrigEMCluster.h
ToolWithConstants.h
Hold constants for a tool.
EgammaTransitionRegions::m_etamax_TR08
Constant< float > m_etamax_TR08
Definition: EgammaTransitionRegions.h:51
EgammaTransitionRegions::m_use_raw_eta
Constant< bool > m_use_raw_eta
Definition: EgammaTransitionRegions.h:52
Array.h
Simple multidimensional arrays.
EgammaTransitionRegions::finalize
virtual StatusCode finalize() override
Finalization of the tool.
Definition: EgammaTransitionRegions.cxx:56
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
EgammaTransitionRegions::m_etamax_TR00
Constant< float > m_etamax_TR00
Definition: EgammaTransitionRegions.h:49
EgammaTransitionRegions::m_etamin_TR00
Constant< float > m_etamin_TR00
Definition: EgammaTransitionRegions.h:48
python.PyAthena.v
v
Definition: PyAthena.py:154
xAOD::TrigEMCluster_v1
Description of a trigger EM cluster.
Definition: TrigEMCluster_v1.h:28
EgammaTransitionRegions::m_correction
Constant< CxxUtils::Array< 2 > > m_correction
Definition: EgammaTransitionRegions.h:47