Geant4  10.00.p03
HadrontherapyLet Class Reference

#include <HadrontherapyLet.hh>

+ Collaboration diagram for HadrontherapyLet:

Public Member Functions

 ~HadrontherapyLet ()
 
void Initialize ()
 
void Clear ()
 Clear all stored data. More...
 
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 ()
 

Static Public Member Functions

static HadrontherapyLetGetInstance (HadrontherapyDetectorConstruction *)
 
static HadrontherapyLetGetInstance ()
 

Static Public Attributes

static G4bool doCalculation = false
 

Private Member Functions

 HadrontherapyLet (HadrontherapyDetectorConstruction *)
 

Private Attributes

HadrontherapyPrimaryGeneratorActionpPGA
 
G4MaterialdetectorMat
 
G4double density
 
G4String filename
 
std::ofstream ofs
 
std::ofstream stopFile
 
HadrontherapyMatrixmatrix
 
G4int nVoxels
 
G4int numberOfVoxelAlongX
 
G4int numberOfVoxelAlongY
 
G4int numberOfVoxelAlongZ
 
G4double primaryEnergy
 
G4double energyLimit
 
G4double binWidth
 
G4int nBins
 
G4double nT
 
G4double dT
 
G4double nD
 
G4double dD
 
G4double nSecondaryT
 
G4double nSecondaryD
 
G4double dSecondaryT
 
G4double dSecondaryD
 
G4double nPrimaryT
 
G4double nPrimaryD
 
G4double dPrimaryT
 
G4double dPrimaryD
 
G4doublesecondaryLetT
 
G4doublesecondaryLetD
 
G4doubletotalLetT
 
G4doubleDtotalLetD
 
G4doubletotalLetD
 
G4String nome_file
 
std::vector< ionLetionLetStore
 

Static Private Attributes

static HadrontherapyLetinstance = NULL
 

Detailed Description

Definition at line 59 of file HadrontherapyLet.hh.

Constructor & Destructor Documentation

HadrontherapyLet::HadrontherapyLet ( HadrontherapyDetectorConstruction pDet)
private

Definition at line 52 of file HadrontherapyLet.cc.

References density, detectorMat, DtotalLetD, FatalException, G4Exception(), HadrontherapyMatrix::GetInstance(), G4RunManager::GetRunManager(), matrix, numberOfVoxelAlongX, numberOfVoxelAlongY, numberOfVoxelAlongZ, nVoxels, pPGA, and totalLetD.

Referenced by GetInstance().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

HadrontherapyLet::~HadrontherapyLet ( )

Definition at line 76 of file HadrontherapyLet.cc.

References Clear(), DtotalLetD, and totalLetD.

+ Here is the call graph for this function:

Member Function Documentation

void HadrontherapyLet::Clear ( )

Clear all stored data.

Definition at line 92 of file HadrontherapyLet.cc.

References ionLetStore.

Referenced by Initialize(), and ~HadrontherapyLet().

+ Here is the caller graph for this function:

void HadrontherapyLet::Fill ( G4int  i,
G4int  j,
G4int  k,
G4double  DE,
G4double  DX 
)
void HadrontherapyLet::FillEnergySpectrum ( G4int  trackID,
G4ParticleDefinition particleDef,
G4double  DE,
G4double  DX,
G4int  i,
G4int  j,
G4int  k 
)
HadrontherapyLet * HadrontherapyLet::GetInstance ( HadrontherapyDetectorConstruction pDet)
static

Definition at line 40 of file HadrontherapyLet.cc.

References HadrontherapyLet(), and instance.

+ Here is the call graph for this function:

HadrontherapyLet * HadrontherapyLet::GetInstance ( )
static

Definition at line 47 of file HadrontherapyLet.cc.

References instance.

Referenced by main(), HadrontherapyDetectorSD::ProcessHits(), HadrontherapyAnalysisFileMessenger::SetNewValue(), and HadrontherapyDetectorConstruction::UpdateGeometry().

+ Here is the caller graph for this function:

void HadrontherapyLet::Initialize ( )

Definition at line 84 of file HadrontherapyLet.cc.

References Clear(), DtotalLetD, nVoxels, and totalLetD.

+ Here is the call graph for this function:

void HadrontherapyLet::LetOutput ( )

Definition at line 166 of file HadrontherapyLet.cc.

References ionLetStore, nVoxels, and totalLetD.

void HadrontherapyLet::StoreLetAscii ( )
void HadrontherapyLet::StoreLetRoot ( )

Definition at line 235 of file HadrontherapyLet.cc.

References A, HadrontherapyAnalysisManager::GetInstance(), ionLetStore, matrix, numberOfVoxelAlongX, numberOfVoxelAlongY, and numberOfVoxelAlongZ.

+ Here is the call graph for this function:

Member Data Documentation

G4double HadrontherapyLet::binWidth
private

Definition at line 96 of file HadrontherapyLet.hh.

G4double HadrontherapyLet::dD
private

Definition at line 98 of file HadrontherapyLet.hh.

G4double HadrontherapyLet::density
private

Definition at line 89 of file HadrontherapyLet.hh.

Referenced by HadrontherapyLet().

G4Material* HadrontherapyLet::detectorMat
private

Definition at line 88 of file HadrontherapyLet.hh.

Referenced by HadrontherapyLet().

G4bool HadrontherapyLet::doCalculation = false
static

Definition at line 68 of file HadrontherapyLet.hh.

Referenced by FillEnergySpectrum().

G4double HadrontherapyLet::dPrimaryD
private

Definition at line 100 of file HadrontherapyLet.hh.

G4double HadrontherapyLet::dPrimaryT
private

Definition at line 100 of file HadrontherapyLet.hh.

G4double HadrontherapyLet::dSecondaryD
private

Definition at line 99 of file HadrontherapyLet.hh.

G4double HadrontherapyLet::dSecondaryT
private

Definition at line 99 of file HadrontherapyLet.hh.

G4double HadrontherapyLet::dT
private

Definition at line 98 of file HadrontherapyLet.hh.

G4double * HadrontherapyLet::DtotalLetD
private
G4double HadrontherapyLet::energyLimit
private

Definition at line 96 of file HadrontherapyLet.hh.

G4String HadrontherapyLet::filename
private

Definition at line 90 of file HadrontherapyLet.hh.

Referenced by StoreLetAscii().

HadrontherapyLet * HadrontherapyLet::instance = NULL
staticprivate

Definition at line 85 of file HadrontherapyLet.hh.

Referenced by GetInstance().

std::vector<ionLet> HadrontherapyLet::ionLetStore
private
HadrontherapyMatrix* HadrontherapyLet::matrix
private
G4int HadrontherapyLet::nBins
private

Definition at line 97 of file HadrontherapyLet.hh.

G4double HadrontherapyLet::nD
private

Definition at line 98 of file HadrontherapyLet.hh.

G4String HadrontherapyLet::nome_file
private

Definition at line 103 of file HadrontherapyLet.hh.

G4double HadrontherapyLet::nPrimaryD
private

Definition at line 100 of file HadrontherapyLet.hh.

G4double HadrontherapyLet::nPrimaryT
private

Definition at line 100 of file HadrontherapyLet.hh.

G4double HadrontherapyLet::nSecondaryD
private

Definition at line 99 of file HadrontherapyLet.hh.

G4double HadrontherapyLet::nSecondaryT
private

Definition at line 99 of file HadrontherapyLet.hh.

G4double HadrontherapyLet::nT
private

Definition at line 98 of file HadrontherapyLet.hh.

G4int HadrontherapyLet::numberOfVoxelAlongX
private

Definition at line 95 of file HadrontherapyLet.hh.

Referenced by HadrontherapyLet(), StoreLetAscii(), and StoreLetRoot().

G4int HadrontherapyLet::numberOfVoxelAlongY
private

Definition at line 95 of file HadrontherapyLet.hh.

Referenced by HadrontherapyLet(), StoreLetAscii(), and StoreLetRoot().

G4int HadrontherapyLet::numberOfVoxelAlongZ
private

Definition at line 95 of file HadrontherapyLet.hh.

Referenced by HadrontherapyLet(), StoreLetAscii(), and StoreLetRoot().

G4int HadrontherapyLet::nVoxels
private

Definition at line 95 of file HadrontherapyLet.hh.

Referenced by FillEnergySpectrum(), HadrontherapyLet(), Initialize(), and LetOutput().

std::ofstream HadrontherapyLet::ofs
private

Definition at line 92 of file HadrontherapyLet.hh.

Referenced by StoreLetAscii().

HadrontherapyPrimaryGeneratorAction* HadrontherapyLet::pPGA
private

Definition at line 86 of file HadrontherapyLet.hh.

Referenced by HadrontherapyLet().

G4double HadrontherapyLet::primaryEnergy
private

Definition at line 96 of file HadrontherapyLet.hh.

G4double * HadrontherapyLet::secondaryLetD
private

Definition at line 102 of file HadrontherapyLet.hh.

G4double* HadrontherapyLet::secondaryLetT
private

Definition at line 102 of file HadrontherapyLet.hh.

std::ofstream HadrontherapyLet::stopFile
private

Definition at line 93 of file HadrontherapyLet.hh.

G4double * HadrontherapyLet::totalLetD
private
G4double * HadrontherapyLet::totalLetT
private

Definition at line 102 of file HadrontherapyLet.hh.


The documentation for this class was generated from the following files: