|
ATLAS Offline Software
|
Go to the documentation of this file.
20 #ifndef VolumeTreeNavigator_H
21 #define VolumeTreeNavigator_H
32 class G4TouchableHistory;
33 class G4VPhysicalVolume;
35 typedef std::pair<G4VPhysicalVolume*,int>
VolID;
46 bool Ascend(
int levels = 1);
75 std::ostringstream
ss;
84 std::string::size_type
col =
s.find_first_of(
":");
85 while (
col != std::string::npos) {
86 (
s.substr(
col,2) ==
"::") ?
s.replace(
col,2,
"_") :
s.replace(
col,1,
"-");
87 col =
s.find_first_of(
":");
89 std::string::size_type sp =
s.find_first_of(
" ");
90 while (sp != std::string::npos) {
92 sp =
s.find_first_of(
" ");
JetConstituentVector::iterator iterator
int GetStepNumber() const
std::pair< G4VPhysicalVolume *, int > VolID
rel
Announce start of JO checkingrelease nimber checking.
void SetDepthCutSimple(const int, const int, const int, const int)
const VolTree & GetHistory() const
int m_stepNo
depth of volume tree, step number
G4VPhysicalVolume * GetVolume(int rel=0) const
std::string cleanstr(T obj)
const G4TouchableHistory * m_preHistory
touchable history containing current volume's history
G4StepPoint * m_preStepPoint
volume/process/etc.
std::string stringify(T obj)
const G4StepPoint * GetPostStepPoint() const
Class to provide easy MsgStream access and capabilities.
G4StepPoint * m_postStepPoint
volume/process/etc.
VolNav m_h_end
specifies cut termination in history
void SetDepthCutDetail(const char *)
const G4Track * GetTrack() const
int GetCopyNumber(int rel=0) const
bool KillProcesses(const int, const char *,...)
std::vector< VolID > VolTree
bool Descend(int levels=1)
VolumeTreeNavigator(const G4Step *)
VolTree m_history
full volume history, cast as const after preparation
bool Ascend(int levels=1)
const G4StepPoint * GetPreStepPoint() const
VolNav m_h_nav
VolTree iterator with no access below cut.
G4Track * m_track
current track