ATLAS Offline Software
Loading...
Searching...
No Matches
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"
13
23
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
67
68#include "LArReadoutGeometry/GeoStraightAccSection.icc"
69
70#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Record of All Electrode Straight Pieces.
const double & YCent(int stackid, int cellid) const
GeoStraightAccSection & operator=(const GeoStraightAccSection &)
void setHalfLength(int stackid, double halfLength)
GeoStraightAccSection(const GeoStraightAccSection &)
const double & Cosu(int stackid, int cellid) const
const double & HalfLength(int stackid, int cellid) const
void setTransform(int stackid, GeoXF::TRANSFUNCTION TXE)
std::unique_ptr< Clockwork > m_c
const double & Sinu(int stackid, int cellid) const
const double & XCent(int stackid, int cellid) const