ATLAS Offline Software
GeoStraightAccSection.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARREADOUTGEOMETRY_GEOSTRAIGHTACCSECTION_H
6 #define LARREADOUTGEOMETRY_GEOSTRAIGHTACCSECTION_H
7 
9 #include "GeoModelKernel/GeoXF.h"
25 
26  public:
27 
28  // Constructors:
30 
31  // Destructor:
33 
34 
35  // Accessors:
36  inline const double & XCent(int stackid, int cellid) const;
37  inline const double & YCent(int stackid, int cellid) const;
38  inline const double & Cosu(int stackid, int cellid) const;
39  inline const double & Sinu(int stackid, int cellid) const;
40  inline const double & HalfLength(int stackid, int cellid) const;
41 
42 
43  // Modifiers (type 1)
44 
45  double & XCent(int stackid, int cellid) ;
46  double & YCent(int stackid, int cellid) ;
47  double & Cosu(int stackid, int cellid);
48  double & Sinu(int stackid, int cellid);
49  double & HalfLength(int stackid, int cellid);
50 
51  // Modifiers (type 2)
52 
53  void setHalfLength(int stackid, double halfLength);
54  void setTransform (int stackid, GeoXF::TRANSFUNCTION TXE);
55 
56  private:
57 
58  class Clockwork;
59  std::unique_ptr<Clockwork> m_c;
60 
63 
64 };
65 
66 CLASS_DEF(GeoStraightAccSection, 263768096, 1)
67 
68 #include "LArReadoutGeometry/GeoStraightAccSection.icc"
69 
70 #endif
GeoStraightAccSection
Record of All Electrode Straight Pieces.
Definition: GeoStraightAccSection.h:24
GeoStraightAccSection::operator=
GeoStraightAccSection & operator=(const GeoStraightAccSection &)
GeoStraightAccSection::Sinu
const double & Sinu(int stackid, int cellid) const
GeoStraightAccSection::m_c
std::unique_ptr< Clockwork > m_c
Definition: GeoStraightAccSection.h:58
GeoStraightAccSection::~GeoStraightAccSection
~GeoStraightAccSection()
GeoStraightAccSection::YCent
const double & YCent(int stackid, int cellid) const
GeoStraightAccSection::Cosu
const double & Cosu(int stackid, int cellid) const
GeoStraightAccSection::GeoStraightAccSection
GeoStraightAccSection(const GeoStraightAccSection &)
GeoStraightAccSection::setHalfLength
void setHalfLength(int stackid, double halfLength)
Definition: GeoStraightAccSection.cxx:56
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
GeoStraightAccSection::HalfLength
const double & HalfLength(int stackid, int cellid) const
GeoStraightAccSection::XCent
const double & XCent(int stackid, int cellid) const
GeoStraightAccSection::setTransform
void setTransform(int stackid, GeoXF::TRANSFUNCTION TXE)
Definition: GeoStraightAccSection.cxx:60
GeoStraightAccSection::GeoStraightAccSection
GeoStraightAccSection()
Definition: GeoStraightAccSection.cxx:65
CLASS_DEF.h
macros to associate a CLID to a type