ATLAS Offline Software
Loading...
Searching...
No Matches
CaloSwGap_v3.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2/*
3 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
4*/
9
10
11#ifndef CALOCLUSTERCORRECTION_CALOSWGAP_V3_H
12#define CALOCLUSTERCORRECTION_CALOSWGAP_V3_H
13
14
19
20
22
23
54{
55public:
58
59
63 virtual StatusCode initialize() override;
64
65
87 virtual void makeTheCorrection (const Context& myctx,
88 xAOD::CaloCluster* cluster,
89 const CaloDetDescrElement* elt,
90 float eta,
91 float adj_eta,
92 float phi,
93 float adj_phi,
94 CaloSampling::CaloSample samp) const override;
95
96
97
102 virtual StatusCode setCaloCellContainerName (const std::string& name) override;
103
104 virtual bool isGoodPhi(float eta, float phi) const;
105
106private:
109 { this, "etamin_crack", "Lower end of range over which this correction is defined." };
111 { this, "etamax_crack", "Upper end of range over which this correction is defined." };
112
115 { this, "degree", "Interpolation degree." };
116
120 { this, "correctionGoodPhi", "" };
122 { this, "correctionBadPhi", "" };
123
127 { this, "use_raw_eta", "If true, tabulated values are in terms of raw (local) eta." };
129 { this, "use_raw_eta_boundaries", "" };
130
133 { this, "cells_name", "AllCalo", "The name of the container in which to look to find tile cells." };
134};
135
136
137#endif // not CALOCLUSTERCORRECTION_CALOSWGAP_V3_H
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
Simple multidimensional arrays.
Property holding a SG store/key/clid from which a ReadHandle is made.
Container class for CaloCell.
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
This class groups all DetDescr information related to a CaloCell.
Constant< int > m_degree
Calibration constant: The interpolation degree.
virtual void makeTheCorrection(const Context &myctx, xAOD::CaloCluster *cluster, const CaloDetDescrElement *elt, float eta, float adj_eta, float phi, float adj_phi, CaloSampling::CaloSample samp) const override
Virtual function for the correction-specific code.
Constant< float > m_etamax_crack
Constant< bool > m_use_raw_eta_boundaries
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
virtual bool isGoodPhi(float eta, float phi) const
virtual StatusCode setCaloCellContainerName(const std::string &name) override
Change the name of the CaloCellContainer used by this tool.
Constant< float > m_etamin_crack
Calibration constants: The range over which this correction is defined.
Constant< CxxUtils::Array< 2 > > m_correctionGoodPhi
Calibration constant: The tabulated array of correction weights, A and alpha.
Constant< CxxUtils::Array< 2 > > m_correctionBadPhi
Constant< bool > m_use_raw_eta
Calibration constant: If true, tabulated values are in terms of raw (local) eta.
SG::ReadHandleKey< CaloCellContainer > m_cells_name
Property: The name of the container in which to look to find tile cells.
Allow changing the name of the CaloCellContainer used by a tool.
Property holding a SG store/key/clid from which a ReadHandle is made.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
void initialize()