Geant4  10.00.p02
CML2Convergence Class Reference

#include <ML2Convergence.hh>

+ Collaboration diagram for CML2Convergence:

Public Member Functions

 CML2Convergence ()
 
 CML2Convergence (G4int seed, G4int saving_in_Selected_Voxels_every_events, G4String FileExperimentalData, G4String FileExperimentalDataOut, G4bool bCompareExp, G4int maxNumberOfEvents, G4int nRecycling, G4int nMaxLoops)
 
 ~CML2Convergence (void)
 
void add (const G4Step *aStep)
 
G4bool stopRun ()
 
void setMaxNumberOfEvents (G4int val)
 
G4double getMaxNumberOfEvents ()
 
CML2ExpVoxelsgetExpVoxels ()
 
void saveResults ()
 
void setNewGeometry ()
 
int getNMaxLoops ()
 

Private Member Functions

G4bool convergenceCriteria ()
 

Private Attributes

std::vector< Svoxelvoxels
 
CML2ExpVoxelsML2ExpVoxels
 
G4String fileExperimentalData
 
G4bool bCompareExp
 
G4int maxNumberOfEvents
 
G4int nGeometry
 
G4int nAccumulatedEvents
 
int nMaxLoops
 
int idCurrentLoop
 

Detailed Description

Definition at line 52 of file ML2Convergence.hh.

Constructor & Destructor Documentation

CML2Convergence::CML2Convergence ( void  )

Definition at line 46 of file ML2Convergence.cc.

CML2Convergence::CML2Convergence ( G4int  seed,
G4int  saving_in_Selected_Voxels_every_events,
G4String  FileExperimentalData,
G4String  FileExperimentalDataOut,
G4bool  bCompareExp,
G4int  maxNumberOfEvents,
G4int  nRecycling,
G4int  nMaxLoops 
)

Definition at line 49 of file ML2Convergence.cc.

References bCompareExp, fileExperimentalData, G4endl, idCurrentLoop, CML2ExpVoxels::loadData(), maxNumberOfEvents, ML2ExpVoxels, nAccumulatedEvents, nGeometry, nMaxLoops, and CML2ExpVoxels::setRecycling().

+ Here is the call graph for this function:

CML2Convergence::~CML2Convergence ( void  )

Definition at line 79 of file ML2Convergence.cc.

References ML2ExpVoxels.

Member Function Documentation

void CML2Convergence::add ( const G4Step aStep)

Definition at line 85 of file ML2Convergence.cc.

References CML2ExpVoxels::add(), G4Step::GetTotalEnergyDeposit(), and ML2ExpVoxels.

Referenced by CML2SteppingAction::UserSteppingAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool CML2Convergence::convergenceCriteria ( )
private

Definition at line 112 of file ML2Convergence.cc.

References bCompareExp, CML2ExpVoxels::getMaxNumberOfEvents(), maxNumberOfEvents, ML2ExpVoxels, nGeometry, and CML2ExpVoxels::resetNEventsInVoxels().

Referenced by stopRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

CML2ExpVoxels* CML2Convergence::getExpVoxels ( )
inline

Definition at line 62 of file ML2Convergence.hh.

References ML2ExpVoxels.

G4double CML2Convergence::getMaxNumberOfEvents ( )
inline

Definition at line 61 of file ML2Convergence.hh.

References maxNumberOfEvents.

int CML2Convergence::getNMaxLoops ( )
inline

Definition at line 65 of file ML2Convergence.hh.

References nMaxLoops.

Referenced by CML2RunAction::BeginOfRunAction().

+ Here is the caller graph for this function:

void CML2Convergence::saveResults ( )
inline

Definition at line 63 of file ML2Convergence.hh.

References ML2ExpVoxels, and CML2ExpVoxels::saveResults().

Referenced by CML2RunAction::EndOfRunAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CML2Convergence::setMaxNumberOfEvents ( G4int  val)
inline

Definition at line 60 of file ML2Convergence.hh.

void CML2Convergence::setNewGeometry ( )
inline

Definition at line 64 of file ML2Convergence.hh.

References idCurrentLoop, nGeometry, and nMaxLoops.

Referenced by main().

+ Here is the caller graph for this function:

G4bool CML2Convergence::stopRun ( )

Definition at line 94 of file ML2Convergence.cc.

References convergenceCriteria(), idCurrentLoop, and ML2ExpVoxels.

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4bool CML2Convergence::bCompareExp
private

Definition at line 74 of file ML2Convergence.hh.

Referenced by CML2Convergence(), and convergenceCriteria().

G4String CML2Convergence::fileExperimentalData
private

Definition at line 72 of file ML2Convergence.hh.

Referenced by CML2Convergence().

int CML2Convergence::idCurrentLoop
private

Definition at line 76 of file ML2Convergence.hh.

Referenced by CML2Convergence(), setNewGeometry(), and stopRun().

G4int CML2Convergence::maxNumberOfEvents
private

Definition at line 75 of file ML2Convergence.hh.

Referenced by CML2Convergence(), convergenceCriteria(), and getMaxNumberOfEvents().

CML2ExpVoxels* CML2Convergence::ML2ExpVoxels
private
G4int CML2Convergence::nAccumulatedEvents
private

Definition at line 75 of file ML2Convergence.hh.

Referenced by CML2Convergence().

G4int CML2Convergence::nGeometry
private

Definition at line 75 of file ML2Convergence.hh.

Referenced by CML2Convergence(), convergenceCriteria(), and setNewGeometry().

int CML2Convergence::nMaxLoops
private

Definition at line 76 of file ML2Convergence.hh.

Referenced by CML2Convergence(), getNMaxLoops(), and setNewGeometry().

std::vector<Svoxel> CML2Convergence::voxels
private

Definition at line 69 of file ML2Convergence.hh.


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