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

#include <AGDDCons.h>

Inheritance diagram for AGDDCons:
Collaboration diagram for AGDDCons:

Public Member Functions

 AGDDCons (const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss)
 ~AGDDCons ()
void SetRio_Z (const std::vector< double > &v)
void SetProfile (double p0, double dp)
double rin1 () const
double rin2 () const
double rou1 () const
double rou2 () const
double phi0 () const
double dphi () const
double z () const
virtual void CreateVolume (AGDDBuilder &builder) override
virtual void CreateSolid (const AGDDBuilder &builder) override
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_rin1
double m_rin2
double m_rou1
double m_rou2
double m_z
double m_phi0
double m_dphi

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 AGDDCons.h.

Constructor & Destructor Documentation

◆ AGDDCons()

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

Definition at line 15 of file AGDDCons.h.

18 : AGDDVolume(s,vs,ss),
19 m_rin1(0),m_rin2(0),m_rou1(0),m_rou2(0),
20 m_z(0),m_phi0(0),m_dphi(0) {}
static Double_t ss
double m_rin2
Definition AGDDCons.h:41
double m_rou2
Definition AGDDCons.h:43
double m_rin1
Definition AGDDCons.h:40
double m_rou1
Definition AGDDCons.h:42
double m_phi0
Definition AGDDCons.h:45
double m_dphi
Definition AGDDCons.h:46
double m_z
Definition AGDDCons.h:44
AGDDVolume(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss, bool v=false)

◆ ~AGDDCons()

AGDDCons::~AGDDCons ( )
inline

Definition at line 21 of file AGDDCons.h.

21{}

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 AGDDCons::CreateSolid ( const AGDDBuilder & builder)
overridevirtual

Reimplemented from AGDDVolume.

Definition at line 9 of file AGDDCons.cxx.

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

◆ CreateVolume()

void AGDDCons::CreateVolume ( AGDDBuilder & builder)
overridevirtual

Reimplemented from AGDDVolume.

Definition at line 13 of file AGDDCons.cxx.

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

◆ dphi()

double AGDDCons::dphi ( ) const
inline

Definition at line 36 of file AGDDCons.h.

36{return m_dphi;}

◆ 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];}

◆ 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

◆ 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

◆ 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();}

◆ phi0()

double AGDDCons::phi0 ( ) const
inline

Definition at line 35 of file AGDDCons.h.

35{return m_phi0;}

◆ rin1()

double AGDDCons::rin1 ( ) const
inline

Definition at line 31 of file AGDDCons.h.

31{return m_rin1;}

◆ rin2()

double AGDDCons::rin2 ( ) const
inline

Definition at line 32 of file AGDDCons.h.

32{return m_rin2;}

◆ rou1()

double AGDDCons::rou1 ( ) const
inline

Definition at line 33 of file AGDDCons.h.

33{return m_rou1;}

◆ rou2()

double AGDDCons::rou2 ( ) const
inline

Definition at line 34 of file AGDDCons.h.

34{return m_rou2;}

◆ SetColor()

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

Definition at line 36 of file AGDDVolume.h.

◆ SetMaterial()

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

Definition at line 24 of file AGDDVolume.h.

◆ SetProfile()

void AGDDCons::SetProfile ( double p0,
double dp )
inline

◆ SetRio_Z()

void AGDDCons::SetRio_Z ( const std::vector< double > & v)
inline

Definition at line 22 of file AGDDCons.h.

23 {
24 m_rin2=v[0];
25 m_rou2=v[1];
26 m_rin1=v[2];
27 m_rou1=v[3];
28 m_z=v[4];
29 }

◆ SetSolid()

void AGDDVolume::SetSolid ( void * p)
inlineinherited

◆ SetVolume()

void AGDDVolume::SetVolume ( void * p)
inlineinherited

Definition at line 35 of file AGDDVolume.h.

◆ z()

double AGDDCons::z ( ) const
inline

Definition at line 37 of file AGDDCons.h.

37{return m_z;}

Member Data Documentation

◆ m_color

std::string AGDDVolume::m_color
protectedinherited

Definition at line 48 of file AGDDVolume.h.

◆ m_dphi

double AGDDCons::m_dphi

Definition at line 46 of file AGDDCons.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_phi0

double AGDDCons::m_phi0

Definition at line 45 of file AGDDCons.h.

◆ m_rin1

double AGDDCons::m_rin1

Definition at line 40 of file AGDDCons.h.

◆ m_rin2

double AGDDCons::m_rin2

Definition at line 41 of file AGDDCons.h.

◆ m_rou1

double AGDDCons::m_rou1

Definition at line 42 of file AGDDCons.h.

◆ m_rou2

double AGDDCons::m_rou2

Definition at line 43 of file AGDDCons.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_z

double AGDDCons::m_z

Definition at line 44 of file AGDDCons.h.


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