ATLAS Offline Software
Calorimeter
CaloClusterCorrection
src
CaloSwApplyWgts_g3.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef CALOCLUSTERCORRECTION_CALOSWAPPLYWGTS_G3_H
6
#define CALOCLUSTERCORRECTION_CALOSWAPPLYWGTS_G3_H
7
/********************************************************************
8
9
NAME: CaloSwApplyWgts_g3.h
10
PACKAGE: offline/Calorimeter/CaloClusterCorrection
11
12
AUTHORS: J. McDonald
13
CREATED: Feb. 2, 2003
14
15
PURPOSE: correction for the weights which are applied to
16
the data. In order to minimize the effects
17
Tuned on DC1 data.
18
19
Updated: May 5, 2004 (Sven Menke)
20
base class changed from algo to tool
21
22
********************************************************************/
23
24
25
#include "
CaloClusterCorrection/CaloClusterCorrection.h
"
26
27
class
CaloSwApplyWgts_g3
:
public
CaloClusterCorrection
28
{
29
public
:
31
using
CaloClusterCorrection::CaloClusterCorrection;
32
33
// virtual method in CaloClusterCorrection
34
virtual
void
makeCorrection
(
const
Context
& myctx,
35
xAOD::CaloCluster
* cluster)
const override
;
36
37
private
:
38
39
CaloSwApplyWgts_g3
() =
delete
;
40
41
static
const
int
s_numEtaBins
=100;
42
static
float
GetWgt
(
int
table
,
float
eta
) ;
43
static
const
float
m_table_eta
[
s_numEtaBins
+1];
44
static
const
float
m_table_p
[4][
s_numEtaBins
];
45
};
46
47
#endif
48
CaloSwApplyWgts_g3::m_table_eta
static const float m_table_eta[s_numEtaBins+1]
Definition:
CaloSwApplyWgts_g3.h:58
eta
Scalar eta() const
pseudorapidity method
Definition:
AmgMatrixBasePlugin.h:83
CaloSwApplyWgts_g3::makeCorrection
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
Definition:
CaloSwApplyWgts_g3.cxx:153
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition:
CaloCluster_v1.h:59
CaloSwApplyWgts_g3::s_numEtaBins
static const int s_numEtaBins
Definition:
CaloSwApplyWgts_g3.h:56
CaloClusterCorrection.h
CaloSwApplyWgts_g3::m_table_p
static const float m_table_p[4][s_numEtaBins]
Definition:
CaloSwApplyWgts_g3.h:59
CaloSwApplyWgts_g3
Definition:
CaloSwApplyWgts_g3.h:28
python.ext.table_printer.table
list table
Definition:
table_printer.py:81
CaloSwApplyWgts_g3::GetWgt
static float GetWgt(int table, float eta)
Definition:
CaloSwApplyWgts_g3.cxx:181
CaloSwApplyWgts_g3::CaloSwApplyWgts_g3
CaloSwApplyWgts_g3()=delete
CaloUtils::ToolConstantsContext
Context object for retrieving ToolConstant values.
Definition:
ToolWithConstants.h:61
CaloClusterCorrection
Definition:
CaloClusterCorrection.h:55
Generated on Thu Nov 7 2024 21:11:38 for ATLAS Offline Software by
1.8.18