ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloClusterCorrection
src
CaloTopoEMlayers.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef CALOCLUSTERCORRECTION_CALOTOPOEMLAYERS_H
6
#define CALOCLUSTERCORRECTION_CALOTOPOEMLAYERS_H
7
/********************************************************************
8
9
NAME: CaloTopoEMLayers
10
PACKAGE: offline/Calorimeter/CaloClusterCorrection
11
12
AUTHORS: H. Ma, S. Rajagopalan
13
CREATED: Dec. 15, 1999
14
15
PURPOSE: Computer eta, phi, energy of each layers of a cluster
16
Base class: CaloClusterCorrection (tool)
17
18
Atrecon Orig: emreco/ecalclus.F
19
20
21
Updated: May 10, 2000 (SR, HM)
22
Migrated to Athena Framework from PASO
23
24
Updated: Jan 5, 2001 (HM)
25
QA.
26
27
Updated: May 5, 2004 (Sven Menke)
28
base class changed from algo to tool
29
30
Updated: January 21, 2005 (MB)
31
Move to Calorimeter/CaloClusterCorrection
32
33
34
********************************************************************/
35
36
// INCLUDE HEADER FILES:
37
#include "
CaloClusterCorrection/CaloFillRectangularCluster.h
"
38
39
class
CaloTopoEMlayers
:
public
CaloFillRectangularCluster
40
{
41
42
public
:
43
44
// Constructor
45
CaloTopoEMlayers
(
const
std::string&
type
,
46
const
std::string& name,
47
const
IInterface* parent);
48
49
// Algtool virtual method
50
virtual
StatusCode
initialize
()
override
;
51
52
virtual
void
get_seed
(
CaloClusterCorr::SamplingHelper
& helper,
53
const
xAOD::CaloCluster
* cluster,
54
double
&
eta
,
double
&
phi
)
const override
;
55
56
66
virtual
67
WindowArray_t
initWindows
(
const
int
neta,
68
const
int
nphi,
69
const
double
detas2,
70
const
double
dphis2)
const override
;
71
72
73
private
:
74
75
CaloTopoEMlayers
() =
delete
;
76
};
77
78
#endif
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
phi
Scalar phi() const
phi method
Definition
AmgMatrixBasePlugin.h:67
CaloFillRectangularCluster.h
Calculates the per-layer position, size, etc. of a cluster. Optionally, fills the cluster with cells ...
CaloClusterCorr::SamplingHelper
Sampling calculator helper class.
Definition
CaloFillRectangularCluster.cxx:187
CaloFillRectangularCluster::WindowArray_t
std::array< std::pair< double, double >, 4 > WindowArray_t
Holds the per-layer window sizes.
Definition
CaloFillRectangularCluster.h:120
CaloFillRectangularCluster::CaloFillRectangularCluster
CaloFillRectangularCluster(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi constructor.
Definition
CaloFillRectangularCluster.cxx:783
CaloTopoEMlayers::initWindows
virtual WindowArray_t initWindows(const int neta, const int nphi, const double detas2, const double dphis2) const override
Set up layer-by-layer cluster window sizes.
Definition
CaloTopoEMlayers.cxx:84
CaloTopoEMlayers::get_seed
virtual void get_seed(CaloClusterCorr::SamplingHelper &helper, const xAOD::CaloCluster *cluster, double &eta, double &phi) const override
Definition
CaloTopoEMlayers.cxx:64
CaloTopoEMlayers::CaloTopoEMlayers
CaloTopoEMlayers()=delete
CaloTopoEMlayers
Definition
CaloTopoEMlayers.py:1
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
initialize
void initialize()
Definition
run_EoverP.cxx:894
type
Generated on
for ATLAS Offline Software by
1.17.0