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