ATLAS Offline Software
MapEta.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARG4BARREL_MapEta_H
6 #define LARG4BARREL_MapEta_H
7 
8 #include <string>
9 
10 #define NMAP_ETA
11 
12 class MapEta {
13 private:
14  std::string m_directory;
15  int m_init;
16  int m_nx,m_ny;
17  float m_xmin = 0.0F,m_xmax = 0.0F,m_ymin = 0.0F,m_ymax = 0.0F;
18  float m_deltax = 0.0F,m_deltay = 0.0F;
19  float* m_resp;
20  float* m_xt0;
21  float* m_xt1;
22  float* m_xt2;
23 public:
24  ~MapEta();
25  MapEta(int isampling);
26  void SetDirectory(const std::string& dir);
27  void Initialize(int isampling);
28  int Nx() const {return m_nx;}
29  int Ny() const {return m_ny;}
30  float Xmin() const {return m_xmin;}
31  float Xmax() const {return m_xmax;}
32  float Ymin() const {return m_ymin;}
33  float Ymax() const {return m_ymax;}
34  void GetData(double x,double y, double* resp, double* xt0, double* xt1, double* xt2) const;
35  void GetData0(double x,double y, double* resp) const;
36 };
37 #endif //LARG4BARREL_MapEta_H
MapEta::~MapEta
~MapEta()
Definition: MapEta.cxx:28
MapEta::m_xmin
float m_xmin
Definition: MapEta.h:17
MapEta
Definition: MapEta.h:12
MapEta::m_xmax
float m_xmax
Definition: MapEta.h:17
MapEta::MapEta
MapEta(int isampling)
Definition: MapEta.cxx:15
MapEta::m_deltay
float m_deltay
Definition: MapEta.h:18
MapEta::GetData
void GetData(double x, double y, double *resp, double *xt0, double *xt1, double *xt2) const
Definition: MapEta.cxx:105
MapEta::Ymax
float Ymax() const
Definition: MapEta.h:33
x
#define x
MapEta::Xmin
float Xmin() const
Definition: MapEta.h:30
MapEta::m_ymax
float m_ymax
Definition: MapEta.h:17
MapEta::m_xt2
float * m_xt2
Definition: MapEta.h:22
MapEta::Nx
int Nx() const
Definition: MapEta.h:28
MapEta::GetData0
void GetData0(double x, double y, double *resp) const
Definition: MapEta.cxx:159
MapEta::m_xt0
float * m_xt0
Definition: MapEta.h:20
MapEta::m_init
int m_init
Definition: MapEta.h:15
MapEta::Initialize
void Initialize(int isampling)
Definition: MapEta.cxx:42
MapEta::m_resp
float * m_resp
Definition: MapEta.h:19
beamspotman.dir
string dir
Definition: beamspotman.py:623
MapEta::m_ny
int m_ny
Definition: MapEta.h:16
MapEta::m_xt1
float * m_xt1
Definition: MapEta.h:21
MapEta::Xmax
float Xmax() const
Definition: MapEta.h:31
MapEta::m_directory
std::string m_directory
Definition: MapEta.h:14
MapEta::m_deltax
float m_deltax
Definition: MapEta.h:18
MapEta::m_nx
int m_nx
Definition: MapEta.h:16
MapEta::m_ymin
float m_ymin
Definition: MapEta.h:17
y
#define y
MapEta::SetDirectory
void SetDirectory(const std::string &dir)
Definition: MapEta.cxx:37
MapEta::Ny
int Ny() const
Definition: MapEta.h:29
MapEta::Ymin
float Ymin() const
Definition: MapEta.h:32