ATLAS Offline Software
Loading...
Searching...
No Matches
AGDDDetector Class Referenceabstract

#include <AGDDDetector.h>

Inheritance diagram for AGDDDetector:
Collaboration diagram for AGDDDetector:

Public Member Functions

 AGDDDetector (const std::string &s)
 AGDDDetector (const std::string &s, const std::string &t)
virtual ~AGDDDetector ()
virtual void SetXYZ (const std::vector< double > &v)
void small_x (double x)
void large_x (double x)
void y (double yval)
void z (double zval)
void subType (const std::string &s)
double small_x () const
double large_x () const
double y () const
double z () const
const std::string & subType () const
const std::string & GetName () const
const std::string & DetectorType () const
const std::string & DetectorID () const
void SetAddressAndPosition (AGDDDetectorPositioner *)
std::vector< AGDDDetectorPositioner * > & GetDetectorPositioners ()

Public Attributes

std::string tech

Protected Member Functions

GeoMaterial * GetMMMaterial (std::string)
void AddDetectorPosition (AGDDDetectorPositioner *p)
virtual void SetDetectorAddress (AGDDDetectorPositioner *)=0

Protected Attributes

double m_small_x
double m_large_x
double m_y
double m_z
std::string m_detectorType
std::string m_detectorID
std::string m_sType
std::vector< AGDDDetectorPositioner * > m_detectorPositions
std::string m_name

Detailed Description

Definition at line 15 of file AGDDDetector.h.

Constructor & Destructor Documentation

◆ AGDDDetector() [1/2]

AGDDDetector::AGDDDetector ( const std::string & s)
inline

Definition at line 17 of file AGDDDetector.h.

17:m_small_x(0),m_large_x(0),m_y(0),m_z(0),m_name(s) {}
double m_large_x
double m_small_x
std::string m_name

◆ AGDDDetector() [2/2]

AGDDDetector::AGDDDetector ( const std::string & s,
const std::string & t )
inline

Definition at line 18 of file AGDDDetector.h.

18:m_small_x(0),m_large_x(0),m_y(0),m_z(0),m_detectorType(t),m_name(s) {}
std::string m_detectorType

◆ ~AGDDDetector()

virtual AGDDDetector::~AGDDDetector ( )
inlinevirtual

Definition at line 19 of file AGDDDetector.h.

19{}

Member Function Documentation

◆ AddDetectorPosition()

void AGDDDetector::AddDetectorPosition ( AGDDDetectorPositioner * p)
protected

Definition at line 19 of file AGDDDetector.cxx.

20{
21 m_detectorPositions.push_back(p);
22}
std::vector< AGDDDetectorPositioner * > m_detectorPositions

◆ DetectorID()

const std::string & AGDDDetector::DetectorID ( ) const
inline

Definition at line 43 of file AGDDDetector.h.

43{return m_detectorID;}
std::string m_detectorID

◆ DetectorType()

const std::string & AGDDDetector::DetectorType ( ) const
inline

Definition at line 42 of file AGDDDetector.h.

42{return m_detectorType;}

◆ GetDetectorPositioners()

std::vector< AGDDDetectorPositioner * > & AGDDDetector::GetDetectorPositioners ( )

Definition at line 14 of file AGDDDetector.cxx.

15{
17}

◆ GetMMMaterial()

GeoMaterial * AGDDDetector::GetMMMaterial ( std::string )
protected

◆ GetName()

const std::string & AGDDDetector::GetName ( ) const
inline

Definition at line 40 of file AGDDDetector.h.

40{return m_name;}

◆ large_x() [1/2]

double AGDDDetector::large_x ( ) const
inline

Definition at line 34 of file AGDDDetector.h.

34{return m_large_x;}

◆ large_x() [2/2]

void AGDDDetector::large_x ( double x)
inline

Definition at line 29 of file AGDDDetector.h.

29{m_large_x=x;}
#define x

◆ SetAddressAndPosition()

void AGDDDetector::SetAddressAndPosition ( AGDDDetectorPositioner * p)

Definition at line 8 of file AGDDDetector.cxx.

9{
12}
virtual void SetDetectorAddress(AGDDDetectorPositioner *)=0
void AddDetectorPosition(AGDDDetectorPositioner *p)

◆ SetDetectorAddress()

virtual void AGDDDetector::SetDetectorAddress ( AGDDDetectorPositioner * )
protectedpure virtual

◆ SetXYZ()

virtual void AGDDDetector::SetXYZ ( const std::vector< double > & v)
inlinevirtual

Reimplemented in sTGCDetectorDescription.

Definition at line 20 of file AGDDDetector.h.

21 {
22 m_small_x=v[0];
23 m_large_x=v[1];
24 m_y=v[2];
25 m_z=v[3];
26 }

◆ small_x() [1/2]

double AGDDDetector::small_x ( ) const
inline

Definition at line 33 of file AGDDDetector.h.

33{return m_small_x;}

◆ small_x() [2/2]

void AGDDDetector::small_x ( double x)
inline

Definition at line 28 of file AGDDDetector.h.

28{m_small_x=x;}

◆ subType() [1/2]

const std::string & AGDDDetector::subType ( ) const
inline

Definition at line 37 of file AGDDDetector.h.

37{return m_sType;}
std::string m_sType

◆ subType() [2/2]

void AGDDDetector::subType ( const std::string & s)
inline

Definition at line 32 of file AGDDDetector.h.

◆ y() [1/2]

double AGDDDetector::y ( ) const
inline

Definition at line 35 of file AGDDDetector.h.

35{return m_y;}

◆ y() [2/2]

void AGDDDetector::y ( double yval)
inline

◆ z() [1/2]

double AGDDDetector::z ( ) const
inline

Definition at line 36 of file AGDDDetector.h.

36{return m_z;}

◆ z() [2/2]

void AGDDDetector::z ( double zval)
inline

Definition at line 31 of file AGDDDetector.h.

31{m_z=zval;}

Member Data Documentation

◆ m_detectorID

std::string AGDDDetector::m_detectorID
protected

Definition at line 57 of file AGDDDetector.h.

◆ m_detectorPositions

std::vector<AGDDDetectorPositioner*> AGDDDetector::m_detectorPositions
protected

Definition at line 66 of file AGDDDetector.h.

◆ m_detectorType

std::string AGDDDetector::m_detectorType
protected

Definition at line 56 of file AGDDDetector.h.

◆ m_large_x

double AGDDDetector::m_large_x
protected

Definition at line 51 of file AGDDDetector.h.

◆ m_name

std::string AGDDDetector::m_name
protected

Definition at line 68 of file AGDDDetector.h.

◆ m_small_x

double AGDDDetector::m_small_x
protected

Definition at line 50 of file AGDDDetector.h.

◆ m_sType

std::string AGDDDetector::m_sType
protected

Definition at line 59 of file AGDDDetector.h.

◆ m_y

double AGDDDetector::m_y
protected

Definition at line 52 of file AGDDDetector.h.

◆ m_z

double AGDDDetector::m_z
protected

Definition at line 53 of file AGDDDetector.h.

◆ tech

std::string AGDDDetector::tech

Definition at line 38 of file AGDDDetector.h.


The documentation for this class was generated from the following files: