ATLAS Offline Software
Loading...
Searching...
No Matches
LArCoudeElectrodes.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_LArCoudeElectrodes_H
6#define LARG4BARREL_LArCoudeElectrodes_H
7
8#include <string>
9
11private:
12 LArCoudeElectrodes(const std::string& strDetector="");
13 double m_xcent[1024][15]{};
14 double m_ycent[1024][15]{};
15 double m_phirot[1024][15]{};
16
17public:
18 static const LArCoudeElectrodes* GetInstance(const std::string& strDetector="");
19 double XCentCoude(int stackid, int cellid) const { return m_xcent[cellid][stackid]; }
20 double YCentCoude(int stackid, int cellid) const { return m_ycent[cellid][stackid]; }
21 double PhiRot(int stackid, int cellid) const { return m_phirot[cellid][stackid]; }
22};
23
24#endif // LARG4BARREL_LArCoudeElectrodes_H
double m_phirot[1024][15]
double m_xcent[1024][15]
static const LArCoudeElectrodes * GetInstance(const std::string &strDetector="")
double XCentCoude(int stackid, int cellid) const
double m_ycent[1024][15]
LArCoudeElectrodes(const std::string &strDetector="")
double YCentCoude(int stackid, int cellid) const
double PhiRot(int stackid, int cellid) const