ATLAS Offline Software
Loading...
Searching...
No Matches
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
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
Simple multidimensional arrays.
Hold constants for a tool.
General Interface for calibrations at the LVL2 Egamma Calo Fex algo.
virtual StatusCode finalize() override
Finalization of the tool.
Constant< float > m_eta_start_crack
Constant< float > m_eta_end_crack
Constant< bool > m_use_raw_eta
virtual void makeCorrection(xAOD::TrigEMCluster *, const void *v=nullptr) const override
method to perform the correction.
virtual StatusCode initialize() override
Initialization of the tool.
Constant< CxxUtils::Array< 2 > > m_correction
BooleanProperty m_interpolate
Polynomial interpolation in a table.
TrigEMCluster_v1 TrigEMCluster
Define the latest version of the trigger EM cluster class.