ATLAS Offline Software
Public Member Functions | Protected Attributes | Private Attributes | List of all members
AGDDSnake Class Reference

#include <AGDDSnake.h>

Inheritance diagram for AGDDSnake:
Collaboration diagram for AGDDSnake:

Public Member Functions

 AGDDSnake (const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss)
 
void SetPoint (const GeoTrf::Vector3D &p)
 
int NrOfPoints () const
 
double Radius () const
 
void Radius (double d)
 
GeoTrf::Vector3D GetPoint (int i) 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
 

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
 

Private Attributes

double m_radius
 
std::vector< GeoTrf::Vector3D > m_points
 

Detailed Description

Definition at line 14 of file AGDDSnake.h.

Constructor & Destructor Documentation

◆ AGDDSnake()

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

Definition at line 16 of file AGDDSnake.h.

19  : AGDDVolume(s,vs,ss),m_radius(0) {}

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 }

◆ AddParent()

void AGDDVolume::AddParent ( AGDDVolume v)
inlineinherited

Definition at line 31 of file AGDDVolume.h.

31 {m_theParents.push_back(v);}

◆ CreateSolid()

void AGDDSnake::CreateSolid ( const AGDDBuilder builder)
overridevirtual

Reimplemented from AGDDVolume.

Definition at line 9 of file AGDDSnake.cxx.

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

◆ CreateVolume()

void AGDDSnake::CreateVolume ( AGDDBuilder builder)
overridevirtual

Reimplemented from AGDDVolume.

Definition at line 15 of file AGDDSnake.cxx.

16 {
18  builder.CreateVolume(this);
19 }

◆ GetColor()

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

Definition at line 39 of file AGDDVolume.h.

39 {return m_color;}

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

◆ GetName()

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

Definition at line 23 of file AGDDVolume.h.

23 {return m_name;}

◆ GetPoint()

GeoTrf::Vector3D AGDDSnake::GetPoint ( int  i) const
inline

Definition at line 27 of file AGDDSnake.h.

27 {return m_points[i];}

◆ GetSolid()

void* AGDDVolume::GetSolid ( )
inlineinherited

Definition at line 33 of file AGDDVolume.h.

33 {return m_theSolid;}

◆ GetVolume()

void* AGDDVolume::GetVolume ( )
inlineinherited

Definition at line 32 of file AGDDVolume.h.

32 {return m_theVolume;}

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

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

◆ NrOfPoints()

int AGDDSnake::NrOfPoints ( ) const
inline

Definition at line 24 of file AGDDSnake.h.

24 {return m_points.size();}

◆ Radius() [1/2]

double AGDDSnake::Radius ( ) const
inline

Definition at line 25 of file AGDDSnake.h.

25 {return m_radius;}

◆ Radius() [2/2]

void AGDDSnake::Radius ( double  d)
inline

Definition at line 26 of file AGDDSnake.h.

26 {m_radius=d;}

◆ SetColor()

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

Definition at line 36 of file AGDDVolume.h.

36 {m_color=c;}

◆ SetMaterial()

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

Definition at line 24 of file AGDDVolume.h.

24 {m_material=n;}

◆ SetPoint()

void AGDDSnake::SetPoint ( const GeoTrf::Vector3D &  p)
inline

Definition at line 20 of file AGDDSnake.h.

21  {
22  m_points.push_back(p);
23  }

◆ SetSolid()

void AGDDVolume::SetSolid ( void *  p)
inlineinherited

Definition at line 34 of file AGDDVolume.h.

34 {m_theSolid=p;}

◆ SetVolume()

void AGDDVolume::SetVolume ( void *  p)
inlineinherited

Definition at line 35 of file AGDDVolume.h.

35 {m_theVolume=p;}

Member Data Documentation

◆ m_color

std::string AGDDVolume::m_color
protectedinherited

Definition at line 48 of file AGDDVolume.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_points

std::vector<GeoTrf::Vector3D> AGDDSnake::m_points
private

Definition at line 32 of file AGDDSnake.h.

◆ m_radius

double AGDDSnake::m_radius
private

Definition at line 31 of file AGDDSnake.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.


The documentation for this class was generated from the following files:
AGDDVolume::m_theParents
std::vector< AGDDVolume * > m_theParents
Definition: AGDDVolume.h:46
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
AGDDSnake::CreateSolid
virtual void CreateSolid(const AGDDBuilder &builder) override
Definition: AGDDSnake.cxx:9
hist_file_dump.d
d
Definition: hist_file_dump.py:137
AGDDVolume::AGDDVolume
AGDDVolume(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss, bool v=false)
Definition: AGDDVolume.cxx:10
AGDDVolume::AddParent
void AddParent(AGDDVolume *v)
Definition: AGDDVolume.h:31
AGDDVolume::m_color
std::string m_color
Definition: AGDDVolume.h:48
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
AGDDVolumeStore::GetVolume
AGDDVolume * GetVolume(std::string)
Definition: AGDDVolumeStore.cxx:25
lumiFormat.i
int i
Definition: lumiFormat.py:85
AGDDVolume::m_isSensitive
bool m_isSensitive
Definition: AGDDVolume.h:53
createSimpleDistributions.builder
builder
Definition: createSimpleDistributions.py:52
beamspotman.n
n
Definition: beamspotman.py:731
AGDDVolume::m_name
std::string m_name
Definition: AGDDVolume.h:43
AGDDVolume::m_theSolid
void * m_theSolid
Definition: AGDDVolume.h:50
AGDDSnake::m_points
std::vector< GeoTrf::Vector3D > m_points
Definition: AGDDSnake.h:32
AGDDVolume::m_theDaughters
std::vector< AGDDPositioner * > m_theDaughters
Definition: AGDDVolume.h:45
AGDDVolume::m_vs
AGDDVolumeStore & m_vs
Definition: AGDDVolume.h:55
AGDDVolume::m_theVolume
void * m_theVolume
Definition: AGDDVolume.h:51
python.PyAthena.v
v
Definition: PyAthena.py:154
AGDDSnake::m_radius
double m_radius
Definition: AGDDSnake.h:31
AGDDVolume::m_material
std::string m_material
Definition: AGDDVolume.h:44
python.compressB64.c
def c
Definition: compressB64.py:93