Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4RichTrajectory.cc File Reference
#include "G4RichTrajectory.hh"
#include "G4RichTrajectoryPoint.hh"
#include "G4AttDefStore.hh"
#include "G4AttDef.hh"
#include "G4AttValue.hh"
#include "G4UIcommand.hh"
#include "G4UnitsTable.hh"
#include "G4VProcess.hh"
#include <sstream>
Include dependency graph for G4RichTrajectory.cc:

Go to the source code of this file.

Functions

static G4String Path (const G4TouchableHandle &th)
 

Variables

G4ThreadLocal G4Allocator
< G4RichTrajectory > * 
aRichTrajectoryAllocator = 0
 

Function Documentation

static G4String Path ( const G4TouchableHandle th)
static

Definition at line 237 of file G4RichTrajectory.cc.

238 {
239  std::ostringstream oss;
240  G4int depth = th->GetHistoryDepth();
241  for (G4int i = depth; i >= 0; --i) {
242  oss << th->GetVolume(i)->GetName()
243  << ':' << th->GetCopyNumber(i);
244  if (i != 0) oss << '/';
245  }
246  return oss.str();
247 }
G4int GetCopyNumber(G4int depth=0) const
int G4int
Definition: G4Types.hh:78
const G4String & GetName() const
virtual G4int GetHistoryDepth() const
Definition: G4VTouchable.cc:79
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
Definition: G4VTouchable.cc:44

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

G4ThreadLocal G4Allocator<G4RichTrajectory>* aRichTrajectoryAllocator = 0

Definition at line 61 of file G4RichTrajectory.cc.