ATLAS Offline Software
Loading...
Searching...
No Matches
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
9NAME: CaloTopoEMLayers
10PACKAGE: offline/Calorimeter/CaloClusterCorrection
11
12AUTHORS: H. Ma, S. Rajagopalan
13CREATED: Dec. 15, 1999
14
15PURPOSE: Computer eta, phi, energy of each layers of a cluster
16 Base class: CaloClusterCorrection (tool)
17
18Atrecon Orig: emreco/ecalclus.F
19
20
21Updated: May 10, 2000 (SR, HM)
22 Migrated to Athena Framework from PASO
23
24Updated: Jan 5, 2001 (HM)
25 QA.
26
27Updated: May 5, 2004 (Sven Menke)
28 base class changed from algo to tool
29
30Updated: January 21, 2005 (MB)
31 Move to Calorimeter/CaloClusterCorrection
32
33
34********************************************************************/
35
36// INCLUDE HEADER FILES:
38
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
73private:
74
75 CaloTopoEMlayers() = delete;
76};
77
78#endif
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
Calculates the per-layer position, size, etc. of a cluster. Optionally, fills the cluster with cells ...
Sampling calculator helper class.
std::array< std::pair< double, double >, 4 > WindowArray_t
Holds the per-layer window sizes.
CaloFillRectangularCluster(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi constructor.
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.
virtual void get_seed(CaloClusterCorr::SamplingHelper &helper, const xAOD::CaloCluster *cluster, double &eta, double &phi) const override
CaloTopoEMlayers()=delete
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
void initialize()