ATLAS Offline Software
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 
11 private:
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 
17 public:
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
LArCoudeElectrodes::XCentCoude
double XCentCoude(int stackid, int cellid) const
Definition: LArCoudeElectrodes.h:19
LArCoudeElectrodes::GetInstance
static const LArCoudeElectrodes * GetInstance(const std::string &strDetector="")
Definition: LArCoudeElectrodes.cxx:9
LArCoudeElectrodes::PhiRot
double PhiRot(int stackid, int cellid) const
Definition: LArCoudeElectrodes.h:21
LArCoudeElectrodes::m_xcent
double m_xcent[1024][15]
Definition: LArCoudeElectrodes.h:13
LArCoudeElectrodes::LArCoudeElectrodes
LArCoudeElectrodes(const std::string &strDetector="")
Definition: LArCoudeElectrodes.cxx:16
LArCoudeElectrodes::YCentCoude
double YCentCoude(int stackid, int cellid) const
Definition: LArCoudeElectrodes.h:20
LArCoudeElectrodes
Definition: LArCoudeElectrodes.h:10
LArCoudeElectrodes::m_ycent
double m_ycent[1024][15]
Definition: LArCoudeElectrodes.h:14
LArCoudeElectrodes::m_phirot
double m_phirot[1024][15]
Definition: LArCoudeElectrodes.h:15