ATLAS Offline Software
LArCalorimeter
LArG4
LArG4Barrel
src
CurrMap.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARG4BARREL_CurrMap_h
6
#define LARG4BARREL_CurrMap_h
7
8
#include <string>
9
10
class
CurrMap
{
11
public
:
12
CurrMap
(
const
std::string&
filename
,
double
xnorm);
13
~CurrMap
();
14
int
GetNx
()
const
{
return
m_nx
;}
15
float
GetXmin
()
const
{
return
m_xmin
;}
16
float
GetXmax
()
const
{
return
m_xmax
;}
17
float
GetDx
()
const
{
return
m_dx
;}
18
int
GetNy
()
const
{
return
m_ny
;}
19
float
GetYmin
()
const
{
return
m_ymin
;}
20
float
GetYmax
()
const
{
return
m_ymax
;}
21
float
GetDy
()
const
{
return
m_dy
;}
22
float
GetGap
(
int
ix,
int
iy)
const
{
return
m_gap
[iy*
m_nx
+ix];}
23
float
GetCurr0
(
int
ix,
int
iy)
const
{
return
m_curr0
[iy*
m_nx
+ix];}
24
float
GetCurr1
(
int
ix,
int
iy)
const
{
return
m_curr1
[iy*
m_nx
+ix];}
25
float
GetCurr2
(
int
ix,
int
iy)
const
{
return
m_curr2
[iy*
m_nx
+ix];}
26
void
GetAll
(
double
x
,
double
y
,
double
*
gap
,
double
* curr0,
double
* curr1,
double
* curr2)
const
;
27
private
:
28
CurrMap
(
const
CurrMap
&);
//coverity issue fix. Declared, but not implemented
29
CurrMap
&
operator=
(
const
CurrMap
&);
//coverity issue fix. Declared, but not implemented
30
int
m_nx
,
m_ny
;
31
float
m_xmin
,
m_xmax
,
m_dx
,
m_ymin
,
m_ymax
,
m_dy
;
32
float
*
m_gap
,*
m_curr0
,*
m_curr1
,*
m_curr2
;
33
float
m_norm
;
34
35
};
36
37
#endif // LARG4BARREL_CurrMap_h
CurrMap::~CurrMap
~CurrMap()
Definition:
CurrMap.cxx:84
CurrMap::m_curr0
float * m_curr0
Definition:
CurrMap.h:32
CurrMap::m_xmin
float m_xmin
Definition:
CurrMap.h:31
CurrMap::GetCurr1
float GetCurr1(int ix, int iy) const
Definition:
CurrMap.h:24
CurrMap::GetAll
void GetAll(double x, double y, double *gap, double *curr0, double *curr1, double *curr2) const
Definition:
CurrMap.cxx:93
CurrMap::operator=
CurrMap & operator=(const CurrMap &)
CurrMap::GetXmin
float GetXmin() const
Definition:
CurrMap.h:15
CurrMap::m_dx
float m_dx
Definition:
CurrMap.h:31
CurrMap::m_curr1
float * m_curr1
Definition:
CurrMap.h:32
CurrMap::GetNx
int GetNx() const
Definition:
CurrMap.h:14
x
#define x
CaloSwCorrections.gap
def gap(flags, cells_name, *args, **kw)
Definition:
CaloSwCorrections.py:212
CurrMap::m_nx
int m_nx
Definition:
CurrMap.h:30
CurrMap::m_ymin
float m_ymin
Definition:
CurrMap.h:31
CurrMap::GetCurr0
float GetCurr0(int ix, int iy) const
Definition:
CurrMap.h:23
CurrMap::CurrMap
CurrMap(const CurrMap &)
CurrMap::m_norm
float m_norm
Definition:
CurrMap.h:33
CurrMap
Definition:
CurrMap.h:10
CurrMap::m_ny
int m_ny
Definition:
CurrMap.h:30
CurrMap::GetXmax
float GetXmax() const
Definition:
CurrMap.h:16
CurrMap::GetDx
float GetDx() const
Definition:
CurrMap.h:17
CurrMap::GetNy
int GetNy() const
Definition:
CurrMap.h:18
CurrMap::m_curr2
float * m_curr2
Definition:
CurrMap.h:32
CurrMap::CurrMap
CurrMap(const std::string &filename, double xnorm)
Definition:
CurrMap.cxx:10
CurrMap::GetDy
float GetDy() const
Definition:
CurrMap.h:21
CurrMap::GetYmax
float GetYmax() const
Definition:
CurrMap.h:20
CurrMap::GetYmin
float GetYmin() const
Definition:
CurrMap.h:19
y
#define y
CurrMap::GetCurr2
float GetCurr2(int ix, int iy) const
Definition:
CurrMap.h:25
CurrMap::m_gap
float * m_gap
Definition:
CurrMap.h:32
CaloCellTimeCorrFiller.filename
filename
Definition:
CaloCellTimeCorrFiller.py:24
CurrMap::m_ymax
float m_ymax
Definition:
CurrMap.h:31
CurrMap::m_dy
float m_dy
Definition:
CurrMap.h:31
CurrMap::GetGap
float GetGap(int ix, int iy) const
Definition:
CurrMap.h:22
CurrMap::m_xmax
float m_xmax
Definition:
CurrMap.h:31
Generated on Thu Nov 7 2024 21:13:02 for ATLAS Offline Software by
1.8.18