ATLAS Offline Software
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:
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 
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
CaloTopoEMlayers::CaloTopoEMlayers
CaloTopoEMlayers()=delete
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:64
CaloClusterCorr::SamplingHelper
Sampling calculator helper class.
Definition: CaloFillRectangularCluster.cxx:186
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
CaloTopoEMlayers
Definition: CaloTopoEMlayers.py:1
CaloFillRectangularCluster.h
Calculates the per-layer position, size, etc. of a cluster. Optionally, fills the cluster with cells ...
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::initialize
virtual StatusCode initialize() override
Standard Gaudi initialize method.
Definition: CaloTopoEMlayers.cxx:56
runBeamSpotCalibration.helper
helper
Definition: runBeamSpotCalibration.py:112
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CaloFillRectangularCluster
Definition: CaloFillRectangularCluster.h:63
CaloTopoEMlayers::get_seed
virtual void get_seed(CaloClusterCorr::SamplingHelper &helper, const xAOD::CaloCluster *cluster, double &eta, double &phi) const override
Definition: CaloTopoEMlayers.cxx:64
CaloFillRectangularCluster::WindowArray_t
std::array< std::pair< double, double >, 4 > WindowArray_t
Holds the per-layer window sizes.
Definition: CaloFillRectangularCluster.h:122
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78