ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArGeoModel
LArReadoutGeometry
LArReadoutGeometry
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
8
#include "
AthenaKernel/CLASS_DEF.h
"
9
#include "GeoModelKernel/GeoXF.h"
13
23
24
class
GeoStraightAccSection
{
25
26
public
:
27
28
// Constructors:
29
GeoStraightAccSection
();
30
31
// Destructor:
32
~GeoStraightAccSection
();
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
61
GeoStraightAccSection
(
const
GeoStraightAccSection
&);
62
GeoStraightAccSection
&
operator=
(
const
GeoStraightAccSection
&);
63
64
};
65
66
CLASS_DEF
(
GeoStraightAccSection
, 263768096, 1)
67
68
#include "LArReadoutGeometry/GeoStraightAccSection.icc"
69
70
#endif
CLASS_DEF.h
macros to associate a CLID to a type
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:67
GeoStraightAccSection
Record of All Electrode Straight Pieces.
Definition
GeoStraightAccSection.h:24
GeoStraightAccSection::YCent
const double & YCent(int stackid, int cellid) const
GeoStraightAccSection::GeoStraightAccSection
GeoStraightAccSection()
Definition
GeoStraightAccSection.cxx:65
GeoStraightAccSection::operator=
GeoStraightAccSection & operator=(const GeoStraightAccSection &)
GeoStraightAccSection::setHalfLength
void setHalfLength(int stackid, double halfLength)
Definition
GeoStraightAccSection.cxx:56
GeoStraightAccSection::GeoStraightAccSection
GeoStraightAccSection(const GeoStraightAccSection &)
GeoStraightAccSection::Cosu
const double & Cosu(int stackid, int cellid) const
GeoStraightAccSection::HalfLength
const double & HalfLength(int stackid, int cellid) const
GeoStraightAccSection::~GeoStraightAccSection
~GeoStraightAccSection()
GeoStraightAccSection::setTransform
void setTransform(int stackid, GeoXF::TRANSFUNCTION TXE)
Definition
GeoStraightAccSection.cxx:60
GeoStraightAccSection::m_c
std::unique_ptr< Clockwork > m_c
Definition
GeoStraightAccSection.h:59
GeoStraightAccSection::Sinu
const double & Sinu(int stackid, int cellid) const
GeoStraightAccSection::XCent
const double & XCent(int stackid, int cellid) const
Generated on
for ATLAS Offline Software by
1.17.0