84 G4cout <<
" BinsCluster= " << binsCluster <<
" BinsE= " <<
fNbins 98 if(nEvt > 0) { norm = 1.0/
norm; }
107 if(y2 > 0.0) { y2 = std::sqrt(y2); }
114 G4cout <<
" ================== run summary =====================" <<
G4endl;
116 G4cout <<
" End of Run TotNbofEvents = " 118 G4cout <<
" Energy(keV) per ADC channel = " 122 G4cout <<
" Mean energy deposit in absorber = " <<
123 y1/
keV <<
" +- " << y2*std::sqrt(norm)/
keV <<
" keV; ";
124 if(y1 > 0.0) {
G4cout <<
" RMS/Emean = " << y2/
y1; }
126 G4cout <<
" Mean number of steps in absorber= " 127 <<
fTotStepGas <<
"; mean number of ion-clusters = " 132 G4cout <<
" ====== Energy deposit distribution Noverflows= " <<
fOverflow 136 std::ofstream fileOut(
"distribution.out", std::ios::out );
137 fileOut.setf( std::ios::scientific, std::ios::floatfield );
145 G4cout << std::setw(5) << j << std::setw(10) << x1/
keV 146 << std::setw(12) <<
fEgas[j] << std::setw(12) <<
fEgas[j]*norm
156 analysisManager->ScaleH1(1,norm);
157 analysisManager->ScaleH1(2,norm);
158 analysisManager->ScaleH1(3,norm*normf);
160 G4cout <<
" ================== run end ==========================" <<
G4endl;
182 if(x <= 0.0) { x = 1.0; }
188 if(idx < 0) {
fEgas[0] += 1.0; }
190 else {
fEgas[idx] += 1.0; }
195 analysisManager->FillH1(2,
fCluster,1.0);
204 const Run* localRun =
static_cast<const Run*
>(run);
228 G4cout <<
"Run::AddEnergy: e(keV)= " << edep/
keV 233 if(1 == step->GetTrack()->GetTrackID()) {
fStepGas += 1.0; }
void AddEnergy(G4double edep)
ThreeVector shoot(const G4int Ap, const G4int Af)
virtual void Merge(const G4Run *)
G4double MeanNumberOfIonsAlongStep(const G4ParticleDefinition *, const G4Material *, G4double edepTotal, G4double edepNIEL=0.0)
static G4LossTableManager * Instance()
void SetVerbose(G4int val)
const G4StatDouble * GetStat() const
G4int GetNumberBinsCluster() const
G4GLOB_DLL std::ostream G4cout
G4int SampleNumberOfIonsAlongStep(const G4Step *)
G4ElectronIonPair * ElectronIonPair()
ExG4HbookAnalysisManager G4AnalysisManager
G4double GetEnergySmear() const
G4int GetNumberBins() const
G4ElectronIonPair * fElIonPair
G4double GetMaxEnergy() const
G4double GetNormFactor() const
G4double GetFactorALICE() const
G4int GetNumberOfEvent() const
virtual void Merge(const G4Run *)