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

Go to the source code of this file.

Functions

static G4String Status (G4StepStatus stps)
 
static G4String Path (const G4TouchableHandle &th)
 

Variables

G4ThreadLocal G4Allocator
< G4RichTrajectoryPoint > * 
aRichTrajectoryPointAllocator = 0
 

Function Documentation

static G4String Path ( const G4TouchableHandle th)
static

Definition at line 220 of file G4RichTrajectoryPoint.cc.

221 {
222  std::ostringstream oss;
223  G4int depth = th->GetHistoryDepth();
224  for (G4int i = depth; i >= 0; --i) {
225  oss << th->GetVolume(i)->GetName()
226  << ':' << th->GetCopyNumber(i);
227  if (i != 0) oss << '/';
228  }
229  return oss.str();
230 }
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:

static G4String Status ( G4StepStatus  stps)
static

Definition at line 203 of file G4RichTrajectoryPoint.cc.

204 {
205  G4String status;
206  switch (stps) {
207  case fWorldBoundary: status = "fWorldBoundary"; break;
208  case fGeomBoundary: status = "fGeomBoundary"; break;
209  case fAtRestDoItProc: status = "fAtRestDoItProc"; break;
210  case fAlongStepDoItProc: status = "fAlongStepDoItProc"; break;
211  case fPostStepDoItProc: status = "fPostStepDoItProc"; break;
212  case fUserDefinedLimit: status = "fUserDefinedLimit"; break;
213  case fExclusivelyForcedProc: status = "fExclusivelyForcedProc"; break;
214  case fUndefined: status = "fUndefined"; break;
215  default: status = "Not recognised"; break;
216  }
217  return status;
218 }

Here is the caller graph for this function:

Variable Documentation

G4ThreadLocal G4Allocator<G4RichTrajectoryPoint>* aRichTrajectoryPointAllocator = 0

Definition at line 64 of file G4RichTrajectoryPoint.cc.