Geant4
10.00.p01
|
#include <Run.hh>
Classes | |
struct | ParticleData |
Private Member Functions | |
void | Reset () |
Additional Inherited Members | |
Protected Attributes inherited from G4Run | |
G4int | runID |
G4int | numberOfEvent |
G4int | numberOfEventToBeProcessed |
G4HCtable * | HCtable |
G4DCtable * | DCtable |
G4String | randomNumberStatus |
std::vector< const G4Event * > * | eventVector |
Run::Run | ( | DetectorConstruction * | det | ) |
Run::Run | ( | DetectorConstruction * | detector | ) |
Run::~Run | ( | ) |
Run::Run | ( | DetectorConstruction * | det, |
PrimaryGeneratorAction * | kin | ||
) |
|
virtual |
Run::Run | ( | DetectorConstruction * | ) |
Run::~Run | ( | ) |
Run::Run | ( | DetectorConstruction * | ) |
Run::~Run | ( | ) |
|
inline |
Definition at line 55 of file Run.hh.
References fEdeposit, and fEdeposit2.
|
inline |
Definition at line 60 of file Run.hh.
References fEnergyDeposit, and fEnergyDeposit2.
Definition at line 93 of file Run.hh.
References fEnergyLeak, and fEnergyLeak2.
|
inline |
Definition at line 69 of file Run.hh.
References fMscEntryCentral, fMscProjecTheta, fMscProjecTheta2, and fMscThetaCentral.
|
inline |
Definition at line 57 of file Run.hh.
References fProjRange, and fProjRange2.
|
inline |
Definition at line 61 of file Run.hh.
References fProjRange, and fProjRange2.
|
inline |
Definition at line 129 of file Run.hh.
References fChargedStep, and fNeutralStep.
Definition at line 58 of file Run.hh.
References fNbOfSteps, fNbOfSteps2, fStepSize, fStepSize2, and s.
|
inline |
Definition at line 56 of file Run.hh.
References fTrackLen, and fTrackLen2.
|
inline |
|
inline |
Definition at line 63 of file Run.hh.
References fTrakLenCharged, and fTrakLenCharged2.
|
inline |
Definition at line 66 of file Run.hh.
References fTrakLenNeutral, and fTrakLenNeutral2.
|
inline |
Definition at line 62 of file Run.hh.
References fTransvDev, and fTransvDev2.
|
inline |
Definition at line 60 of file Run.hh.
References fTrueRange, and fTrueRange2.
G4double Run::ComputeMscHighland | ( | ) |
Definition at line 310 of file Run.cc.
References DBL_MIN, eplus, fDetector, fEkin, fParticle, DetectorConstruction::GetAbsorberMaterial(), DetectorConstruction::GetAbsorberThickness(), G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGMass(), G4Material::GetRadlen(), MeV, and z.
Referenced by PrintSummary().
void Run::ComputeStatistics | ( | ) |
void Run::ComputeStatistics | ( | ) |
void Run::ComputeStatistics | ( | ) |
Definition at line 97 of file Run.cc.
References density, fDetector, fEdep, fEkin, fNbOfSteps0, fNbOfSteps1, fNbOfTraks0, fNbOfTraks1, fParticle, fProcCounter, fProjRange, fProjRange2, fTransvDev, fTransvDev2, fTrueRange, fTrueRange2, G4BestUnit, G4cout, G4endl, G4EmCalculator::GetCSDARange(), G4Material::GetDensity(), DetectorConstruction::GetMaterial(), G4ParticleDefinition::GetPDGCharge(), G4Run::numberOfEvent, and CLHEP::prec.
Definition at line 193 of file Run.cc.
References assert, EmAcceptance::BeginOfAcceptance(), DBL_MAX, EmAcceptance::EmAcceptanceGauss(), EmAcceptance::EndOfAcceptance(), f_nLbin, f_nRbin, fChargedStep, fDet, fKin, fNeutralStep, fSum2ChargTrLength, fSum2NeutrTrLength, fSumChargTrLength, fSumE2Longit, fSumE2LongitCumul, fSumE2Radial, fSumE2RadialCumul, fSumELongit, fSumELongitCumul, fSumERadial, fSumERadialCumul, fSumNeutrTrLength, fVerbose, G4BestUnit, G4cout, G4endl, DetectorConstruction::GetdLradl(), DetectorConstruction::GetdRlength(), DetectorConstruction::GetdRradl(), DetectorConstruction::GetMaterial(), DetectorConstruction::GetnLtot(), G4Run::GetNumberOfEvent(), G4ParticleGun::GetParticleDefinition(), G4ParticleGun::GetParticleEnergy(), PrimaryGeneratorAction::GetParticleGun(), G4ParticleDefinition::GetPDGMass(), G4Material::GetRadlen(), and CLHEP::prec.
|
inline |
Definition at line 80 of file Run.hh.
References G4Electron::Electron(), fNbElect, fNbGamma, fNbPosit, G4Gamma::Gamma(), and G4Positron::Positron().
void Run::CountProcesses | ( | const G4VProcess * | process | ) |
Definition at line 56 of file Run.cc.
References fProcCounter.
|
inline |
Definition at line 57 of file Run.hh.
References fProcCounter.
|
inline |
|
inline |
Definition at line 55 of file Run.hh.
References fNbOfSteps0, and ns.
|
inline |
Definition at line 56 of file Run.hh.
References fNbOfSteps1, and ns.
|
inline |
Definition at line 74 of file Run.hh.
References fNbStepsCharged, and fNbStepsCharged2.
|
inline |
Definition at line 77 of file Run.hh.
References fNbStepsNeutral, and fNbStepsNeutral2.
|
inline |
Definition at line 53 of file Run.hh.
References fNbOfTraks0.
|
inline |
Definition at line 54 of file Run.hh.
References fNbOfTraks1.
|
inline |
void Run::FillPerEvent | ( | ) |
Definition at line 118 of file Run.cc.
References f_dEdL, f_dEdR, f_nLbin, f_nRbin, fChargTrLength, fDet, fKin, fNeutrTrLength, fSum2ChargTrLength, fSum2NeutrTrLength, fSumChargTrLength, fSumE2Longit, fSumE2LongitCumul, fSumE2Radial, fSumE2RadialCumul, fSumELongit, fSumELongitCumul, fSumERadial, fSumERadialCumul, fSumNeutrTrLength, DetectorConstruction::GetMaterial(), G4ParticleGun::GetParticleDefinition(), G4ParticleGun::GetParticleEnergy(), PrimaryGeneratorAction::GetParticleGun(), G4ParticleDefinition::GetPDGMass(), and G4Material::GetRadlen().
Definition at line 113 of file Run.hh.
References fChargTrLength, and fNeutrTrLength.
Definition at line 66 of file Run.hh.
References fCsdaRange.
Definition at line 67 of file Run.hh.
References fXfrontNorm.
void Run::InitializePerEvent | ( | ) |
Definition at line 103 of file Run.cc.
References f_dEdL, f_dEdR, f_nLbin, f_nRbin, fChargTrLength, and fNeutrTrLength.
|
virtual |
Reimplemented from G4Run.
Definition at line 180 of file Run.cc.
References fEdep, fEkin, fNbOfSteps0, fNbOfSteps1, fNbOfTraks0, fNbOfTraks1, fParticle, fProcCounter, fProjRange, fProjRange2, fTransvDev, fTransvDev2, fTrueRange, fTrueRange2, and G4Run::Merge().
Definition at line 69 of file Run.cc.
References Run::ParticleData::fCount, Run::ParticleData::fEmax, Run::ParticleData::fEmean, Run::ParticleData::fEmin, fParticleDataMap, and name.
void Run::PrintSummary | ( | ) | const |
Definition at line 73 of file Run.cc.
References density, fDetector, fEkin, fParticle, G4BestUnit, G4cout, G4endl, G4Material::GetDensity(), DetectorConstruction::GetMaterial(), G4Material::GetName(), G4Run::GetNumberOfEvent(), G4ParticleDefinition::GetParticleName(), DetectorConstruction::GetSize(), and CLHEP::prec.
void Run::PrintSummary | ( | ) |
Definition at line 130 of file Run.cc.
References cm, cm2, ComputeMscHighland(), G4EmCalculator::ComputeTotalDEDX(), density, fDetector, fEkin, fEnergyDeposit, fEnergyDeposit2, fEnergyLeak, fEnergyLeak2, fMscEntryCentral, fMscProjecTheta, fMscProjecTheta2, fMscThetaCentral, fNbElect, fNbGamma, fNbPosit, fNbStepsCharged, fNbStepsCharged2, fNbStepsNeutral, fNbStepsNeutral2, fParticle, fReflect, fTrakLenCharged, fTrakLenCharged2, fTrakLenNeutral, fTrakLenNeutral2, fTransmit, g, G4BestUnit, G4cout, G4endl, DetectorConstruction::GetAbsorberMaterial(), DetectorConstruction::GetAbsorberThickness(), G4EmCalculator::GetDEDX(), G4Material::GetDensity(), G4Material::GetName(), G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetPDGCharge(), MeV, mrad, G4Run::numberOfEvent, and CLHEP::prec.
|
private |
Definition at line 62 of file Run.cc.
References f_dEdL, f_dEdR, f_nLbin, f_nRbin, fChargedStep, fDet, fNeutralStep, fSum2ChargTrLength, fSum2NeutrTrLength, fSumChargTrLength, fSumE2Longit, fSumE2LongitCumul, fSumE2Radial, fSumE2RadialCumul, fSumELongit, fSumELongitCumul, fSumERadial, fSumERadialCumul, fSumNeutrTrLength, fVerbose, DetectorConstruction::GetnLtot(), and DetectorConstruction::GetnRtot().
Referenced by Run().
Definition at line 63 of file Run.hh.
References fCsdaRange.
void Run::SetPrimary | ( | G4ParticleDefinition * | particle, |
G4double | energy | ||
) |
void Run::SetPrimary | ( | G4ParticleDefinition * | particle, |
G4double | energy | ||
) |
Definition at line 65 of file Run.cc.
References G4INCL::KinematicsUtils::energy(), fEkin, and fParticle.
|
inline |
Definition at line 74 of file Run.hh.
References fVerbose.
Referenced by RunAction::SetVerbose().
Definition at line 64 of file Run.hh.
References fXfrontNorm.
void Run::SumTrackLength | ( | G4int | nstep1, |
G4int | nstep2, | ||
G4double | trackl1, | ||
G4double | trackl2, | ||
G4double | time1, | ||
G4double | time2 | ||
) |
Definition at line 89 of file Run.cc.
References fNbStep1, fNbStep2, fTime1, fTime2, fTrackLen1, and fTrackLen2.
|
private |
Definition at line 83 of file Run.hh.
Referenced by FillPerEvent(), FillPerStep(), InitializePerEvent(), and Reset().
|
private |
Definition at line 90 of file Run.hh.
Referenced by FillPerEvent(), FillPerStep(), InitializePerEvent(), and Reset().
|
private |
Definition at line 82 of file Run.hh.
Referenced by ComputeStatistics(), FillPerEvent(), InitializePerEvent(), and Reset().
|
private |
Definition at line 89 of file Run.hh.
Referenced by ComputeStatistics(), FillPerEvent(), InitializePerEvent(), and Reset().
|
private |
Definition at line 104 of file Run.hh.
Referenced by AddStep(), ComputeStatistics(), and Reset().
|
private |
Definition at line 96 of file Run.hh.
Referenced by FillPerEvent(), FillPerTrack(), and InitializePerEvent().
Definition at line 80 of file Run.hh.
Referenced by GetCsdaRange(), and SetCsdaRange().
|
private |
Definition at line 79 of file Run.hh.
Referenced by ComputeStatistics(), FillPerEvent(), and Reset().
|
private |
Definition at line 72 of file Run.hh.
Referenced by ComputeMscHighland(), ComputeStatistics(), and PrintSummary().
|
private |
Definition at line 78 of file Run.hh.
Referenced by AddEdep(), ComputeStatistics(), and Merge().
|
private |
Definition at line 74 of file Run.hh.
Referenced by ComputeMscHighland(), ComputeStatistics(), Merge(), PrintSummary(), and SetPrimary().
|
private |
Definition at line 107 of file Run.hh.
Referenced by AddEnergy(), and PrintSummary().
|
private |
Definition at line 107 of file Run.hh.
Referenced by AddEnergy(), and PrintSummary().
|
private |
Definition at line 119 of file Run.hh.
Referenced by AddEnergyLeak(), and PrintSummary().
|
private |
Definition at line 119 of file Run.hh.
Referenced by AddEnergyLeak(), and PrintSummary().
|
private |
Definition at line 80 of file Run.hh.
Referenced by ComputeStatistics(), and FillPerEvent().
|
private |
Definition at line 117 of file Run.hh.
Referenced by AddMscProjTheta(), and PrintSummary().
|
private |
Definition at line 112 of file Run.hh.
Referenced by AddMscProjTheta(), and PrintSummary().
|
private |
Definition at line 112 of file Run.hh.
Referenced by AddMscProjTheta(), and PrintSummary().
|
private |
Definition at line 113 of file Run.hh.
Referenced by AddMscProjTheta(), and PrintSummary().
|
private |
Definition at line 115 of file Run.hh.
Referenced by CountParticles(), and PrintSummary().
|
private |
Definition at line 115 of file Run.hh.
Referenced by CountParticles(), and PrintSummary().
|
private |
Definition at line 76 of file Run.hh.
Referenced by AddStepSize().
|
private |
Definition at line 77 of file Run.hh.
Referenced by ComputeStatistics(), CountSteps0(), and Merge().
|
private |
Definition at line 77 of file Run.hh.
Referenced by ComputeStatistics(), CountSteps1(), and Merge().
|
private |
Definition at line 76 of file Run.hh.
Referenced by AddStepSize().
|
private |
Definition at line 76 of file Run.hh.
Referenced by ComputeStatistics(), CountTraks0(), and Merge().
|
private |
Definition at line 76 of file Run.hh.
Referenced by ComputeStatistics(), CountTraks1(), and Merge().
|
private |
Definition at line 115 of file Run.hh.
Referenced by CountParticles(), and PrintSummary().
|
private |
Definition at line 78 of file Run.hh.
Referenced by SumTrackLength().
|
private |
Definition at line 78 of file Run.hh.
Referenced by SumTrackLength().
|
private |
Definition at line 110 of file Run.hh.
Referenced by CountStepsCharg(), and PrintSummary().
|
private |
Definition at line 110 of file Run.hh.
Referenced by CountStepsCharg(), and PrintSummary().
|
private |
Definition at line 111 of file Run.hh.
Referenced by CountStepsNeutr(), and PrintSummary().
|
private |
Definition at line 111 of file Run.hh.
Referenced by CountStepsNeutr(), and PrintSummary().
|
private |
Definition at line 105 of file Run.hh.
Referenced by AddStep(), ComputeStatistics(), and Reset().
|
private |
Definition at line 100 of file Run.hh.
Referenced by FillPerEvent(), FillPerTrack(), and InitializePerEvent().
|
private |
Definition at line 73 of file Run.hh.
Referenced by ComputeMscHighland(), ComputeStatistics(), Merge(), PrintSummary(), and SetPrimary().
|
private |
Definition at line 76 of file Run.hh.
Referenced by ParticleCount().
|
private |
Definition at line 82 of file Run.hh.
Referenced by ComputeStatistics(), CountProcesses(), and Merge().
|
private |
Definition at line 80 of file Run.hh.
Referenced by AddProjRange(), ComputeStatistics(), and Merge().
|
private |
Definition at line 80 of file Run.hh.
Referenced by AddProjRange(), ComputeStatistics(), and Merge().
|
private |
Definition at line 116 of file Run.hh.
Referenced by CountReflect(), and PrintSummary().
|
private |
Definition at line 78 of file Run.hh.
Referenced by AddTrackStatus().
|
private |
Definition at line 77 of file Run.hh.
Referenced by AddStepSize().
|
private |
Definition at line 77 of file Run.hh.
Referenced by AddStepSize().
|
private |
Definition at line 98 of file Run.hh.
Referenced by ComputeStatistics(), FillPerEvent(), and Reset().
|
private |
Definition at line 102 of file Run.hh.
Referenced by ComputeStatistics(), FillPerEvent(), and Reset().
|
private |
Definition at line 97 of file Run.hh.
Referenced by ComputeStatistics(), FillPerEvent(), and Reset().
|
private |
Definition at line 85 of file Run.hh.
Referenced by ComputeStatistics(), FillPerEvent(), and Reset().
|
private |
Definition at line 87 of file Run.hh.
Referenced by ComputeStatistics(), FillPerEvent(), and Reset().
|
private |
Definition at line 92 of file Run.hh.
Referenced by ComputeStatistics(), FillPerEvent(), and Reset().
|
private |
Definition at line 94 of file Run.hh.
Referenced by ComputeStatistics(), FillPerEvent(), and Reset().
|
private |
Definition at line 84 of file Run.hh.
Referenced by ComputeStatistics(), FillPerEvent(), and Reset().
|
private |
Definition at line 86 of file Run.hh.
Referenced by ComputeStatistics(), FillPerEvent(), and Reset().
|
private |
Definition at line 91 of file Run.hh.
Referenced by ComputeStatistics(), FillPerEvent(), and Reset().
|
private |
Definition at line 93 of file Run.hh.
Referenced by ComputeStatistics(), FillPerEvent(), and Reset().
|
private |
Definition at line 101 of file Run.hh.
Referenced by ComputeStatistics(), FillPerEvent(), and Reset().
|
private |
Definition at line 80 of file Run.hh.
Referenced by SumTrackLength().
|
private |
Definition at line 80 of file Run.hh.
Referenced by SumTrackLength().
|
private |
Definition at line 74 of file Run.hh.
Referenced by AddTrackLength().
|
private |
Definition at line 79 of file Run.hh.
Referenced by SumTrackLength().
|
private |
Definition at line 74 of file Run.hh.
Referenced by AddTrackLength(), and SumTrackLength().
|
private |
Definition at line 108 of file Run.hh.
Referenced by AddTrakLenCharg(), and PrintSummary().
|
private |
Definition at line 108 of file Run.hh.
Referenced by AddTrakLenCharg(), and PrintSummary().
|
private |
Definition at line 109 of file Run.hh.
Referenced by AddTrakLenNeutr(), and PrintSummary().
|
private |
Definition at line 109 of file Run.hh.
Referenced by AddTrakLenNeutr(), and PrintSummary().
|
private |
Definition at line 116 of file Run.hh.
Referenced by CountTransmit(), and PrintSummary().
|
private |
Definition at line 81 of file Run.hh.
Referenced by AddTransvDev(), ComputeStatistics(), and Merge().
|
private |
Definition at line 81 of file Run.hh.
Referenced by AddTransvDev(), ComputeStatistics(), and Merge().
|
private |
Definition at line 79 of file Run.hh.
Referenced by AddTrueRange(), ComputeStatistics(), and Merge().
|
private |
Definition at line 79 of file Run.hh.
Referenced by AddTrueRange(), ComputeStatistics(), and Merge().
|
private |
Definition at line 107 of file Run.hh.
Referenced by ComputeStatistics(), Reset(), and SetVerbose().
Definition at line 81 of file Run.hh.
Referenced by GetXfrontNorm(), and SetXfrontNorm().