ATLAS Offline Software
Loading...
Searching...
No Matches
AGDDIbeam Class Reference

#include <AGDDIbeam.h>

Inheritance diagram for AGDDIbeam:
Collaboration diagram for AGDDIbeam:

Public Member Functions

 AGDDIbeam (const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss)
virtual void CreateVolume (AGDDBuilder &builder) override
virtual void CreateSolid (const AGDDBuilder &builder) override
void SetWidth (double l)
void SetSmallWidth (double l)
void SetHeigth (double l)
void SetSmallHeigth (double l)
void SetLength (double l)
double GetWidth () const
double GetSmallWidth () const
double GetHeigth () const
double GetSmallHeigth () const
double GetLength () const
const std::string & GetName () const
void SetMaterial (const std::string &n)
void AddDaughter (AGDDPositioner *v)
AGDDPositionerGetDaughter (int i)
int NrOfDaughter () const
bool HasParent () const
void AddParent (AGDDVolume *v)
void * GetVolume ()
void * GetSolid ()
void SetSolid (void *p)
void SetVolume (void *p)
void SetColor (const std::string &c)
void IsSensitiveVolume (bool v)
bool IsSensitiveVolume () const
const std::string & GetColor () const
const std::string & GetMaterial () const

Public Attributes

double m_width
double m_smallWidth
double m_height
double m_smallHeight
double m_z

Protected Attributes

std::string m_name
std::string m_material
std::vector< AGDDPositioner * > m_theDaughters
std::vector< AGDDVolume * > m_theParents
std::string m_color
void * m_theSolid
void * m_theVolume
bool m_isSensitive
AGDDVolumeStorem_vs

Detailed Description

Definition at line 13 of file AGDDIbeam.h.

Constructor & Destructor Documentation

◆ AGDDIbeam()

AGDDIbeam::AGDDIbeam ( const std::string & s,
AGDDVolumeStore & vs,
AGDDSectionStore & ss )
inline

Definition at line 15 of file AGDDIbeam.h.

18 : AGDDVolume(s,vs,ss),m_width(0),m_smallWidth(0),m_height(0),
19 m_smallHeight(0),m_z(0) {}
double m_smallWidth
Definition AGDDIbeam.h:36
double m_smallHeight
Definition AGDDIbeam.h:38
double m_height
Definition AGDDIbeam.h:37
double m_z
Definition AGDDIbeam.h:39
double m_width
Definition AGDDIbeam.h:35
AGDDVolume(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss, bool v=false)

Member Function Documentation

◆ AddDaughter()

void AGDDVolume::AddDaughter ( AGDDPositioner * v)
inherited

Definition at line 21 of file AGDDVolume.cxx.

22{
23 m_theDaughters.push_back(v);
24 m_vs.GetVolume(v->Volume())->AddParent(this);
25}
std::vector< AGDDPositioner * > m_theDaughters
Definition AGDDVolume.h:45
AGDDVolumeStore & m_vs
Definition AGDDVolume.h:55

◆ AddParent()

void AGDDVolume::AddParent ( AGDDVolume * v)
inlineinherited

Definition at line 31 of file AGDDVolume.h.

31{m_theParents.push_back(v);}
std::vector< AGDDVolume * > m_theParents
Definition AGDDVolume.h:46

◆ CreateSolid()

void AGDDIbeam::CreateSolid ( const AGDDBuilder & builder)
overridevirtual

Reimplemented from AGDDVolume.

Definition at line 9 of file AGDDIBeam.cxx.

10{
11 builder.CreateIbeam(this);
12}

◆ CreateVolume()

void AGDDIbeam::CreateVolume ( AGDDBuilder & builder)
overridevirtual

Reimplemented from AGDDVolume.

Definition at line 14 of file AGDDIBeam.cxx.

15{
16 CreateSolid (builder);
17 builder.CreateVolume(this);
18}
virtual void CreateSolid(const AGDDBuilder &builder) override
Definition AGDDIBeam.cxx:9

◆ GetColor()

const std::string & AGDDVolume::GetColor ( ) const
inlineinherited

Definition at line 39 of file AGDDVolume.h.

39{return m_color;}
std::string m_color
Definition AGDDVolume.h:48

◆ GetDaughter()

AGDDPositioner * AGDDVolume::GetDaughter ( int i)
inlineinherited

Definition at line 28 of file AGDDVolume.h.

28{return m_theDaughters[i];}

◆ GetHeigth()

double AGDDIbeam::GetHeigth ( ) const
inline

Definition at line 31 of file AGDDIbeam.h.

31{return m_height;}

◆ GetLength()

double AGDDIbeam::GetLength ( ) const
inline

Definition at line 33 of file AGDDIbeam.h.

33{return m_z;}

◆ GetMaterial()

const std::string & AGDDVolume::GetMaterial ( ) const
inlineinherited

Definition at line 40 of file AGDDVolume.h.

40{return m_material;}
std::string m_material
Definition AGDDVolume.h:44

◆ GetName()

const std::string & AGDDVolume::GetName ( ) const
inlineinherited

Definition at line 23 of file AGDDVolume.h.

23{return m_name;}
std::string m_name
Definition AGDDVolume.h:43

◆ GetSmallHeigth()

double AGDDIbeam::GetSmallHeigth ( ) const
inline

Definition at line 32 of file AGDDIbeam.h.

32{return m_smallHeight;}

◆ GetSmallWidth()

double AGDDIbeam::GetSmallWidth ( ) const
inline

Definition at line 30 of file AGDDIbeam.h.

30{return m_smallWidth;}

◆ GetSolid()

void * AGDDVolume::GetSolid ( )
inlineinherited

Definition at line 33 of file AGDDVolume.h.

33{return m_theSolid;}
void * m_theSolid
Definition AGDDVolume.h:50

◆ GetVolume()

void * AGDDVolume::GetVolume ( )
inlineinherited

Definition at line 32 of file AGDDVolume.h.

32{return m_theVolume;}
void * m_theVolume
Definition AGDDVolume.h:51

◆ GetWidth()

double AGDDIbeam::GetWidth ( ) const
inline

Definition at line 29 of file AGDDIbeam.h.

29{return m_width;}

◆ HasParent()

bool AGDDVolume::HasParent ( ) const
inlineinherited

Definition at line 30 of file AGDDVolume.h.

30{return (m_theParents.size());}

◆ IsSensitiveVolume() [1/2]

bool AGDDVolume::IsSensitiveVolume ( ) const
inlineinherited

Definition at line 38 of file AGDDVolume.h.

38{return m_isSensitive;}
bool m_isSensitive
Definition AGDDVolume.h:53

◆ IsSensitiveVolume() [2/2]

void AGDDVolume::IsSensitiveVolume ( bool v)
inherited

Definition at line 27 of file AGDDVolume.cxx.

28{
30}

◆ NrOfDaughter()

int AGDDVolume::NrOfDaughter ( ) const
inlineinherited

Definition at line 29 of file AGDDVolume.h.

29{return m_theDaughters.size();}

◆ SetColor()

void AGDDVolume::SetColor ( const std::string & c)
inlineinherited

Definition at line 36 of file AGDDVolume.h.

◆ SetHeigth()

void AGDDIbeam::SetHeigth ( double l)
inline

Definition at line 25 of file AGDDIbeam.h.

25{m_height=l;}
l
Printing final latex table to .tex output file.

◆ SetLength()

void AGDDIbeam::SetLength ( double l)
inline

Definition at line 27 of file AGDDIbeam.h.

27{m_z=l;}

◆ SetMaterial()

void AGDDVolume::SetMaterial ( const std::string & n)
inlineinherited

Definition at line 24 of file AGDDVolume.h.

◆ SetSmallHeigth()

void AGDDIbeam::SetSmallHeigth ( double l)
inline

Definition at line 26 of file AGDDIbeam.h.

◆ SetSmallWidth()

void AGDDIbeam::SetSmallWidth ( double l)
inline

Definition at line 24 of file AGDDIbeam.h.

◆ SetSolid()

void AGDDVolume::SetSolid ( void * p)
inlineinherited

◆ SetVolume()

void AGDDVolume::SetVolume ( void * p)
inlineinherited

Definition at line 35 of file AGDDVolume.h.

◆ SetWidth()

void AGDDIbeam::SetWidth ( double l)
inline

Definition at line 23 of file AGDDIbeam.h.

23{m_width=l;}

Member Data Documentation

◆ m_color

std::string AGDDVolume::m_color
protectedinherited

Definition at line 48 of file AGDDVolume.h.

◆ m_height

double AGDDIbeam::m_height

Definition at line 37 of file AGDDIbeam.h.

◆ m_isSensitive

bool AGDDVolume::m_isSensitive
protectedinherited

Definition at line 53 of file AGDDVolume.h.

◆ m_material

std::string AGDDVolume::m_material
protectedinherited

Definition at line 44 of file AGDDVolume.h.

◆ m_name

std::string AGDDVolume::m_name
protectedinherited

Definition at line 43 of file AGDDVolume.h.

◆ m_smallHeight

double AGDDIbeam::m_smallHeight

Definition at line 38 of file AGDDIbeam.h.

◆ m_smallWidth

double AGDDIbeam::m_smallWidth

Definition at line 36 of file AGDDIbeam.h.

◆ m_theDaughters

std::vector<AGDDPositioner*> AGDDVolume::m_theDaughters
protectedinherited

Definition at line 45 of file AGDDVolume.h.

◆ m_theParents

std::vector<AGDDVolume*> AGDDVolume::m_theParents
protectedinherited

Definition at line 46 of file AGDDVolume.h.

◆ m_theSolid

void* AGDDVolume::m_theSolid
protectedinherited

Definition at line 50 of file AGDDVolume.h.

◆ m_theVolume

void* AGDDVolume::m_theVolume
protectedinherited

Definition at line 51 of file AGDDVolume.h.

◆ m_vs

AGDDVolumeStore& AGDDVolume::m_vs
protectedinherited

Definition at line 55 of file AGDDVolume.h.

◆ m_width

double AGDDIbeam::m_width

Definition at line 35 of file AGDDIbeam.h.

◆ m_z

double AGDDIbeam::m_z

Definition at line 39 of file AGDDIbeam.h.


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