ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
STCyclotronRun Class Reference

#include <geant4/tree/geant4-10.6-release/examples/advanced/STCyclotron/include/STCyclotronRun.hh>

+ Inheritance diagram for STCyclotronRun:
+ Collaboration diagram for STCyclotronRun:

Public Member Functions

 STCyclotronRun ()
 
virtual ~STCyclotronRun ()
 
virtual void Merge (const G4Run *)
 
virtual void EndOfRun (G4double)
 
void EnergyDepositionTarget (G4double)
 
void EnergyDepositionFoil (G4double)
 
void CountParticlesTarget ()
 
void SetTargetVolume (G4double)
 
void SetTargetDiameter (G4double)
 
void SetTargetThickness (G4double)
 
void SetFoilVolume (G4double)
 
void SetFoilThickness (G4double)
 
void SetIrradiationTime (G4double)
 
void SetBeamName (G4String)
 
void SetBeamEnergy (G4double)
 
void SetBeamCurrent (G4double)
 
void SetPrimariesPerEvent (G4int)
 
void SetTimePerEvent (G4double)
 
void StoreIsotopeID (G4int, G4String)
 
std::map< G4int, G4StringGetIsotopeID ()
 
void ParticleParent (G4String, G4String)
 
void PrimaryIsotopeCountTarget (G4String, G4double)
 
void CountStableIsotopes (G4String)
 
void DecayIsotopeCountTarget (G4String, G4String, G4double)
 
void ParticleCountTarget (G4String)
 
- Public Member Functions inherited from G4Run
 G4Run ()
 
virtual ~G4Run ()
 
virtual void RecordEvent (const G4Event *)
 
G4int GetRunID () const
 
G4int GetNumberOfEvent () const
 
G4int GetNumberOfEventToBeProcessed () const
 
const G4HCtableGetHCtable () const
 
const G4DCtableGetDCtable () const
 
const G4StringGetRandomNumberStatus () const
 
void SetRunID (G4int id)
 
void SetNumberOfEventToBeProcessed (G4int n_ev)
 
void SetHCtable (G4HCtable *HCtbl)
 
void SetDCtable (G4DCtable *DCtbl)
 
void SetRandomNumberStatus (G4String &st)
 
void StoreEvent (G4Event *evt)
 
const std::vector< const
G4Event * > * 
GetEventVector () const
 

Private Attributes

G4double fTotalEnergyDepositTarget
 
G4double fTotalEnergyDepositFoil
 
G4int fParticleTarget
 
std::map< G4String, G4intfPrimaryIsotopeCountTarget
 
std::map< G4String, G4doublefPrimaryIsotopeTimeTarget
 
std::map< G4String, G4intfParticleCountTarget
 
std::map< G4String, G4doublefDecayIsotopeTimeTarget
 
std::map< G4String, G4StringfDecayIsotopeCountTarget
 
std::map< G4String, G4StringfParticleParent
 
std::map< G4String, G4intfStableIsotopeCountTarget
 
std::map< G4String, G4StringfStableIsotopeMumTarget
 
std::map< G4int, G4StringfIsotopeIDTarget
 
G4double fTargetThickness
 
G4double fTargetDiameter
 
G4double fFoilThickness
 
G4double fTargetVolume
 
G4double fFoilVolume
 
G4int fPrimariesPerEvent
 
G4double fTimePerEvent
 
G4String fBeamName
 
G4double fBeamCurrent
 
G4double fBeamEnergy
 
std::ofstream fOutPut
 
std::ofstream fOutPut1
 
std::ofstream fOutPut2
 
std::ofstream fOutPut3
 
std::ofstream fOutPut4
 

Additional Inherited Members

- Protected Attributes inherited from G4Run
G4int runID
 
G4int numberOfEvent
 
G4int numberOfEventToBeProcessed
 
G4HCtableHCtable
 
G4DCtableDCtable
 
G4String randomNumberStatus
 
std::vector< const G4Event * > * eventVector
 

Detailed Description

Run class

In RecordEvent() there is collected information event per event from Hits Collections, and accumulated statistic for the run

Definition at line 42 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 42 of file STCyclotronRun.hh

Constructor & Destructor Documentation

STCyclotronRun::STCyclotronRun ( )

Definition at line 40 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 40 of file STCyclotronRun.cc

STCyclotronRun::~STCyclotronRun ( )
virtual

Definition at line 44 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 44 of file STCyclotronRun.cc

Member Function Documentation

void STCyclotronRun::CountParticlesTarget ( )

Definition at line 529 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 529 of file STCyclotronRun.cc

References fParticleTarget.

Referenced by STCyclotronSensitiveTarget::ProcessHits().

+ Here is the caller graph for this function:

void STCyclotronRun::CountStableIsotopes ( G4String  name)

Definition at line 478 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 478 of file STCyclotronRun.cc

References fStableIsotopeCountTarget.

Referenced by STCyclotronSensitiveTarget::ProcessHits().

+ Here is the caller graph for this function:

void STCyclotronRun::DecayIsotopeCountTarget ( G4String  nameDaughter,
G4String  mum,
G4double  time 
)

Definition at line 483 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 483 of file STCyclotronRun.cc

References fDecayIsotopeCountTarget, fDecayIsotopeTimeTarget, G4InuclParticleNames::mum, and Acts::VectorHelpers::time().

Referenced by STCyclotronSensitiveTarget::ProcessHits().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void STCyclotronRun::EndOfRun ( G4double  irradiationTime)
virtual

Definition at line 149 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 149 of file STCyclotronRun.cc

References E, fBeamCurrent, fBeamEnergy, fBeamName, fDecayIsotopeCountTarget, fDecayIsotopeTimeTarget, fFoilThickness, fFoilVolume, fIsotopeIDTarget, fOutPut, fOutPut1, fOutPut2, fOutPut3, fOutPut4, fParticleCountTarget, fParticleParent, fParticleTarget, fPrimariesPerEvent, fPrimaryIsotopeCountTarget, fPrimaryIsotopeTimeTarget, fStableIsotopeCountTarget, fTargetDiameter, fTargetThickness, fTargetVolume, fTimePerEvent, fTotalEnergyDepositFoil, fTotalEnergyDepositTarget, G4endl, G4Run::GetNumberOfEvent(), it, and second.

Referenced by STCyclotronRunAction::EndOfRunAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void STCyclotronRun::EnergyDepositionFoil ( G4double  edep)

Definition at line 524 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 524 of file STCyclotronRun.cc

References edep, and fTotalEnergyDepositFoil.

Referenced by STCyclotronSensitiveFoil::ProcessHits().

+ Here is the caller graph for this function:

void STCyclotronRun::EnergyDepositionTarget ( G4double  edep)

Definition at line 519 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 519 of file STCyclotronRun.cc

References edep, and fTotalEnergyDepositTarget.

Referenced by STCyclotronSensitiveTarget::ProcessHits().

+ Here is the caller graph for this function:

std::map< G4int, G4String > STCyclotronRun::GetIsotopeID ( )

Definition at line 513 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 513 of file STCyclotronRun.cc

References fIsotopeIDTarget.

Referenced by STCyclotronSensitiveTarget::ProcessHits().

+ Here is the caller graph for this function:

void STCyclotronRun::Merge ( const G4Run aRun)
virtual
void STCyclotronRun::ParticleCountTarget ( G4String  name)

Definition at line 496 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 496 of file STCyclotronRun.cc

References fParticleCountTarget.

Referenced by STCyclotronSensitiveTarget::ProcessHits().

+ Here is the caller graph for this function:

void STCyclotronRun::ParticleParent ( G4String  isotope,
G4String  parent 
)

Definition at line 489 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 489 of file STCyclotronRun.cc

References fParticleParent.

Referenced by STCyclotronSensitiveTarget::ProcessHits().

+ Here is the caller graph for this function:

void STCyclotronRun::PrimaryIsotopeCountTarget ( G4String  name,
G4double  time 
)

Definition at line 472 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 472 of file STCyclotronRun.cc

References fPrimaryIsotopeCountTarget, fPrimaryIsotopeTimeTarget, and Acts::VectorHelpers::time().

Referenced by STCyclotronSensitiveTarget::ProcessHits().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void STCyclotronRun::SetBeamCurrent ( G4double  beamCurrent)

Definition at line 574 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 574 of file STCyclotronRun.cc

References fBeamCurrent.

Referenced by STCyclotronPrimaryGeneratorAction::GeneratePrimaries().

+ Here is the caller graph for this function:

void STCyclotronRun::SetBeamEnergy ( G4double  beamEnergy)

Definition at line 579 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 579 of file STCyclotronRun.cc

References fBeamEnergy.

Referenced by STCyclotronPrimaryGeneratorAction::GeneratePrimaries().

+ Here is the caller graph for this function:

void STCyclotronRun::SetBeamName ( G4String  beamName)

Definition at line 569 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 569 of file STCyclotronRun.cc

References fBeamName.

Referenced by STCyclotronPrimaryGeneratorAction::GeneratePrimaries().

+ Here is the caller graph for this function:

void STCyclotronRun::SetFoilThickness ( G4double  foilThickness)

Definition at line 539 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 539 of file STCyclotronRun.cc

References fFoilThickness.

Referenced by STCyclotronSensitiveFoil::ProcessHits().

+ Here is the caller graph for this function:

void STCyclotronRun::SetFoilVolume ( G4double  foilVolume)

Definition at line 534 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 534 of file STCyclotronRun.cc

References fFoilVolume.

Referenced by STCyclotronSensitiveFoil::ProcessHits().

+ Here is the caller graph for this function:

void STCyclotronRun::SetIrradiationTime ( G4double  )
void STCyclotronRun::SetPrimariesPerEvent ( G4int  primaries)

Definition at line 559 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 559 of file STCyclotronRun.cc

References fPrimariesPerEvent.

Referenced by STCyclotronPrimaryGeneratorAction::GeneratePrimaries().

+ Here is the caller graph for this function:

void STCyclotronRun::SetTargetDiameter ( G4double  targetDiameter)

Definition at line 554 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 554 of file STCyclotronRun.cc

References fTargetDiameter.

Referenced by STCyclotronSensitiveTarget::ProcessHits().

+ Here is the caller graph for this function:

void STCyclotronRun::SetTargetThickness ( G4double  targetThickness)

Definition at line 549 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 549 of file STCyclotronRun.cc

References fTargetThickness.

Referenced by STCyclotronSensitiveTarget::ProcessHits().

+ Here is the caller graph for this function:

void STCyclotronRun::SetTargetVolume ( G4double  targetVolume)

Definition at line 544 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 544 of file STCyclotronRun.cc

References fTargetVolume.

Referenced by STCyclotronSensitiveTarget::ProcessHits().

+ Here is the caller graph for this function:

void STCyclotronRun::SetTimePerEvent ( G4double  timePerEvent)

Definition at line 564 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 564 of file STCyclotronRun.cc

References fTimePerEvent.

Referenced by STCyclotronPrimaryGeneratorAction::GeneratePrimaries().

+ Here is the caller graph for this function:

void STCyclotronRun::StoreIsotopeID ( G4int  ID,
G4String  name 
)

Definition at line 508 of file STCyclotronRun.cc.

View newest version in sPHENIX GitHub at line 508 of file STCyclotronRun.cc

References fIsotopeIDTarget.

Referenced by STCyclotronSensitiveTarget::ProcessHits().

+ Here is the caller graph for this function:

Member Data Documentation

G4double STCyclotronRun::fBeamCurrent
private

Definition at line 127 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 127 of file STCyclotronRun.hh

Referenced by EndOfRun(), Merge(), and SetBeamCurrent().

G4double STCyclotronRun::fBeamEnergy
private

Definition at line 128 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 128 of file STCyclotronRun.hh

Referenced by EndOfRun(), Merge(), and SetBeamEnergy().

G4String STCyclotronRun::fBeamName
private

Definition at line 126 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 126 of file STCyclotronRun.hh

Referenced by EndOfRun(), Merge(), and SetBeamName().

std::map<G4String,G4String> STCyclotronRun::fDecayIsotopeCountTarget
private

Definition at line 105 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 105 of file STCyclotronRun.hh

Referenced by DecayIsotopeCountTarget(), EndOfRun(), and Merge().

std::map<G4String,G4double> STCyclotronRun::fDecayIsotopeTimeTarget
private

Definition at line 104 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 104 of file STCyclotronRun.hh

Referenced by DecayIsotopeCountTarget(), EndOfRun(), and Merge().

G4double STCyclotronRun::fFoilThickness
private

Definition at line 119 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 119 of file STCyclotronRun.hh

Referenced by EndOfRun(), Merge(), and SetFoilThickness().

G4double STCyclotronRun::fFoilVolume
private

Definition at line 121 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 121 of file STCyclotronRun.hh

Referenced by EndOfRun(), Merge(), and SetFoilVolume().

std::map<G4int,G4String> STCyclotronRun::fIsotopeIDTarget
private

Definition at line 111 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 111 of file STCyclotronRun.hh

Referenced by EndOfRun(), GetIsotopeID(), Merge(), and StoreIsotopeID().

std::ofstream STCyclotronRun::fOutPut
private

Definition at line 131 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 131 of file STCyclotronRun.hh

Referenced by EndOfRun().

std::ofstream STCyclotronRun::fOutPut1
private

Definition at line 132 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 132 of file STCyclotronRun.hh

Referenced by EndOfRun().

std::ofstream STCyclotronRun::fOutPut2
private

Definition at line 133 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 133 of file STCyclotronRun.hh

Referenced by EndOfRun().

std::ofstream STCyclotronRun::fOutPut3
private

Definition at line 134 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 134 of file STCyclotronRun.hh

Referenced by EndOfRun().

std::ofstream STCyclotronRun::fOutPut4
private

Definition at line 135 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 135 of file STCyclotronRun.hh

Referenced by EndOfRun().

std::map<G4String,G4int> STCyclotronRun::fParticleCountTarget
private

Definition at line 103 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 103 of file STCyclotronRun.hh

Referenced by EndOfRun(), Merge(), and ParticleCountTarget().

std::map<G4String,G4String> STCyclotronRun::fParticleParent
private

Definition at line 106 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 106 of file STCyclotronRun.hh

Referenced by EndOfRun(), Merge(), and ParticleParent().

G4int STCyclotronRun::fParticleTarget
private

Definition at line 98 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 98 of file STCyclotronRun.hh

Referenced by CountParticlesTarget(), EndOfRun(), and Merge().

G4int STCyclotronRun::fPrimariesPerEvent
private

Definition at line 123 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 123 of file STCyclotronRun.hh

Referenced by EndOfRun(), Merge(), and SetPrimariesPerEvent().

std::map<G4String,G4int> STCyclotronRun::fPrimaryIsotopeCountTarget
private

Definition at line 101 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 101 of file STCyclotronRun.hh

Referenced by EndOfRun(), Merge(), and PrimaryIsotopeCountTarget().

std::map<G4String,G4double> STCyclotronRun::fPrimaryIsotopeTimeTarget
private

Definition at line 102 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 102 of file STCyclotronRun.hh

Referenced by EndOfRun(), Merge(), and PrimaryIsotopeCountTarget().

std::map<G4String,G4int> STCyclotronRun::fStableIsotopeCountTarget
private

Definition at line 107 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 107 of file STCyclotronRun.hh

Referenced by CountStableIsotopes(), EndOfRun(), and Merge().

std::map<G4String,G4String> STCyclotronRun::fStableIsotopeMumTarget
private

Definition at line 108 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 108 of file STCyclotronRun.hh

G4double STCyclotronRun::fTargetDiameter
private

Definition at line 118 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 118 of file STCyclotronRun.hh

Referenced by EndOfRun(), Merge(), and SetTargetDiameter().

G4double STCyclotronRun::fTargetThickness
private

Definition at line 117 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 117 of file STCyclotronRun.hh

Referenced by EndOfRun(), Merge(), and SetTargetThickness().

G4double STCyclotronRun::fTargetVolume
private

Definition at line 120 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 120 of file STCyclotronRun.hh

Referenced by EndOfRun(), Merge(), and SetTargetVolume().

G4double STCyclotronRun::fTimePerEvent
private

Definition at line 124 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 124 of file STCyclotronRun.hh

Referenced by EndOfRun(), Merge(), and SetTimePerEvent().

G4double STCyclotronRun::fTotalEnergyDepositFoil
private

Definition at line 97 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 97 of file STCyclotronRun.hh

Referenced by EndOfRun(), EnergyDepositionFoil(), and Merge().

G4double STCyclotronRun::fTotalEnergyDepositTarget
private

Definition at line 96 of file STCyclotronRun.hh.

View newest version in sPHENIX GitHub at line 96 of file STCyclotronRun.hh

Referenced by EndOfRun(), EnergyDepositionTarget(), and Merge().


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