#include <HadrontherapyLet.hh>
|
| ~HadrontherapyLet () |
|
void | Initialize () |
|
void | Clear () |
|
void | Fill (G4int i, G4int j, G4int k, G4double DE, G4double DX) |
|
void | FillEnergySpectrum (G4int trackID, G4ParticleDefinition *particleDef, G4double DE, G4double DX, G4int i, G4int j, G4int k) |
|
void | LetOutput () |
|
void | StoreLetAscii () |
|
void | StoreLetRoot () |
|
Definition at line 61 of file HadrontherapyLet.hh.
◆ HadrontherapyLet()
Definition at line 54 of file HadrontherapyLet.cc.
63 "HadrontherapyMatrix not found. Firstly create an instance of it.");
74 detectorMat = pDet -> GetDetectorLogicalVolume() -> GetMaterial();
HadrontherapyMatrix * matrix
HadrontherapyPrimaryGeneratorAction * pPGA
static HadrontherapyMatrix * GetInstance()
G4int numberOfVoxelAlongX
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static G4RunManager * GetRunManager()
G4int numberOfVoxelAlongZ
G4int numberOfVoxelAlongY
◆ ~HadrontherapyLet()
HadrontherapyLet::~HadrontherapyLet |
( |
| ) |
|
◆ Clear()
void HadrontherapyLet::Clear |
( |
| ) |
|
Clear all stored data
Definition at line 98 of file HadrontherapyLet.cc.
std::vector< ionLet > ionLetStore
◆ Fill()
◆ FillEnergySpectrum()
Definition at line 107 of file HadrontherapyLet.cc.
114 if (DE <= 0. || DX <=0.)
return;
116 G4int Z = particleDef -> GetAtomicNumber();
119 G4int PDGencoding = particleDef -> GetPDGEncoding();
120 PDGencoding -= PDGencoding%10;
141 G4int A = particleDef -> GetAtomicMass();
143 G4String fullName = particleDef -> GetParticleName();
144 G4String name = fullName.substr (0, fullName.find(
"[") );
148 (trackID == 1) ?
true:
false,
static G4bool doCalculation
HadrontherapyMatrix * matrix
double A(double temperature)
std::vector< ionLet > ionLetStore
◆ GetInstance() [1/2]
Definition at line 42 of file HadrontherapyLet.cc.
HadrontherapyLet(HadrontherapyDetectorConstruction *)
static HadrontherapyLet * instance
◆ GetInstance() [2/2]
◆ Initialize()
void HadrontherapyLet::Initialize |
( |
| ) |
|
◆ LetOutput()
void HadrontherapyLet::LetOutput |
( |
| ) |
|
◆ StoreLetAscii()
void HadrontherapyLet::StoreLetAscii |
( |
| ) |
|
Definition at line 190 of file HadrontherapyLet.cc.
223 ofs << i <<
'\t' << j <<
'\t' << k <<
'\t';
HadrontherapyMatrix * matrix
G4GLOB_DLL std::ostream G4cout
std::vector< ionLet > ionLetStore
G4int numberOfVoxelAlongX
G4int numberOfVoxelAlongZ
G4int numberOfVoxelAlongY
◆ StoreLetRoot()
void HadrontherapyLet::StoreLetRoot |
( |
| ) |
|
Definition at line 241 of file HadrontherapyLet.cc.
243 #ifdef G4ANALYSIS_USE_ROOT static HadrontherapyAnalysisManager * GetInstance()
HadrontherapyMatrix * matrix
double A(double temperature)
std::vector< ionLet > ionLetStore
G4int numberOfVoxelAlongX
G4int numberOfVoxelAlongZ
G4int numberOfVoxelAlongY
◆ binWidth
◆ dD
◆ density
◆ detectorMat
◆ doCalculation
G4bool HadrontherapyLet::doCalculation = false |
|
static |
◆ dPrimaryD
◆ dPrimaryT
◆ dSecondaryD
◆ dSecondaryT
◆ dT
◆ DtotalLetD
◆ energyLimit
◆ filename
◆ instance
◆ ionLetStore
std::vector<ionLet> HadrontherapyLet::ionLetStore |
|
private |
◆ matrix
◆ nBins
G4int HadrontherapyLet::nBins |
|
private |
◆ nD
◆ nome_file
◆ nPrimaryD
◆ nPrimaryT
◆ nSecondaryD
◆ nSecondaryT
◆ nT
◆ numberOfVoxelAlongX
G4int HadrontherapyLet::numberOfVoxelAlongX |
|
private |
◆ numberOfVoxelAlongY
G4int HadrontherapyLet::numberOfVoxelAlongY |
|
private |
◆ numberOfVoxelAlongZ
G4int HadrontherapyLet::numberOfVoxelAlongZ |
|
private |
◆ nVoxels
G4int HadrontherapyLet::nVoxels |
|
private |
◆ ofs
std::ofstream HadrontherapyLet::ofs |
|
private |
◆ pPGA
◆ primaryEnergy
G4double HadrontherapyLet::primaryEnergy |
|
private |
◆ secondaryLetD
G4double * HadrontherapyLet::secondaryLetD |
|
private |
◆ secondaryLetT
G4double* HadrontherapyLet::secondaryLetT |
|
private |
◆ stopFile
std::ofstream HadrontherapyLet::stopFile |
|
private |
◆ totalLetD
◆ totalLetT
The documentation for this class was generated from the following files: