ATLAS Offline Software
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 
10 AGDDVolume::AGDDVolume(const std::string& n,
11  AGDDVolumeStore& vs,
13  bool v)
14  : m_name(n),m_theSolid(0),m_theVolume(0),m_isSensitive(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 
28 {
30 }
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
AGDDVolumeStore
Definition: AGDDVolumeStore.h:15
AGDDVolumeStore.h
AGDDSectionStore.h
AGDDPositioner
Definition: AGDDPositioner.h:18
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
AGDDSectionStore
Definition: AGDDSectionStore.h:15
AGDDVolumeStore::GetVolume
AGDDVolume * GetVolume(std::string)
Definition: AGDDVolumeStore.cxx:25
AGDDVolume::m_isSensitive
bool m_isSensitive
Definition: AGDDVolume.h:53
beamspotman.n
n
Definition: beamspotman.py:731
AGDDVolume::AddDaughter
void AddDaughter(AGDDPositioner *v)
Definition: AGDDVolume.cxx:21
AGDDVolumeStore::RegisterVolume
void RegisterVolume(AGDDVolume *)
Definition: AGDDVolumeStore.cxx:14
AGDDVolume::m_theDaughters
std::vector< AGDDPositioner * > m_theDaughters
Definition: AGDDVolume.h:45
AGDDSection
Definition: AGDDSection.h:17
AGDDVolume::m_vs
AGDDVolumeStore & m_vs
Definition: AGDDVolume.h:55
AGDDVolume::IsSensitiveVolume
bool IsSensitiveVolume() const
Definition: AGDDVolume.h:38
python.PyAthena.v
v
Definition: PyAthena.py:157
AGDDSection::AddVolume
void AddVolume(AGDDVolume *)
Definition: AGDDSection.cxx:23
AGDDVolume.h
AGDDSection.h