ATLAS Offline Software
Loading...
Searching...
No Matches
AGDDVolume.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
9
10AGDDVolume::AGDDVolume(const std::string& n,
13 bool v)
15 m_vs (vs)
16{
17 vs.RegisterVolume(this);
18 AGDDSection* curr=ss.GetCurrentSection();
19 if (curr) curr->AddVolume(this);
20}
22{
23 m_theDaughters.push_back(v);
24 m_vs.GetVolume(v->Volume())->AddParent(this);
25}
26
void AddVolume(AGDDVolume *)
void RegisterVolume(AGDDVolume *)
bool m_isSensitive
Definition AGDDVolume.h:53
void * m_theVolume
Definition AGDDVolume.h:51
std::vector< AGDDPositioner * > m_theDaughters
Definition AGDDVolume.h:45
bool IsSensitiveVolume() const
Definition AGDDVolume.h:38
std::string m_name
Definition AGDDVolume.h:43
AGDDVolume(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss, bool v=false)
void AddDaughter(AGDDPositioner *v)
void * m_theSolid
Definition AGDDVolume.h:50
AGDDVolumeStore & m_vs
Definition AGDDVolume.h:55