Loading...
Searching...
No Matches
Classes | Typedefs | Functions | Variables
RadioBio Namespace Reference

Classes

class  ActionInitialization
 Action initialization class. More...
 
class  DetectorConstruction
 Mandatory class for the construction of geometry. More...
 
class  DetectorMessenger
 
class  Dose
 
class  DoseAccumulable
 Accumulable of Dose-related data (that must be thread-local). More...
 
class  DoseMessenger
 
class  Hit
 Detector hit class. More...
 
class  IonLet
 class to save and hold data for LET of different ions More...
 
class  LET
 
class  LETAccumulable
 Accumulable of LET-related data (that must be thread-local). More...
 
class  LETMessenger
 
class  Manager
 
class  PhysicsList
 
class  PhysicsListMessenger
 
class  PrimaryGeneratorAction
 
class  RBE
 
class  RBEAccumulable
 Accumulable of RBE-related data (that must be thread-local). More...
 
class  RBEMessenger
 
class  RunAction
 Run action class. More...
 
class  SD
 RadioBio sensitive detector class. More...
 
class  VoxelizedSensitiveDetector
 Singleton class performing the voxelization of the world volume and tracking of a voxel index given the three-dimensional coordinates. More...
 
class  VoxelizedSensitiveDetectorMessenger
 
class  VRadiobiologicalAccumulable
 
class  VRadiobiologicalQuantity
 

Typedefs

typedef G4THitsCollection< HitRadioBioHitsCollection
 

Functions

std::vector< G4Stringsplit (const G4String &line, const G4String &delimiter)
 Split string into parts using a delimiter.
 

Variables

G4ThreadLocal G4Allocator< Hit > * RadioBioHitAllocator = 0
 

Typedef Documentation

◆ RadioBioHitsCollection

Definition at line 110 of file Hit.hh.

Function Documentation

◆ split()

std::vector< G4String > RadioBio::split ( const G4String line,
const G4String delimiter 
)

Split string into parts using a delimiter.

Parameters
linea string to be splitted
delimitera string to be looked for

Usage: Help function for reading CSV Also remove spaces and quotes around. Note: If delimiter is inside a string, the function fails!

Definition at line 124 of file RBE.cc.

125{
126 std::vector<G4String> result;
127
128 size_t current = 0;
129 size_t pos = 0;
130
131 while (pos != G4String::npos) {
132 pos = line.find(delimiter, current);
133 G4String token = line.substr(current, pos - current);
134
135 G4StrUtil::strip(token);
136 G4StrUtil::strip(token, '\"');
137
138 result.push_back(token);
139 current = pos + delimiter.size();
140 }
141 return result;
142}
void strip(G4String &str, char ch=' ')

Variable Documentation

◆ RadioBioHitAllocator

G4ThreadLocal G4Allocator< Hit > * RadioBio::RadioBioHitAllocator = 0

Definition at line 48 of file Hit.cc.


Applications | User Support | Publications | Collaboration