Import Geant4 4.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:39:52 +02:00
parent 921d3b1cda
commit 330b82b769
4524 changed files with 178689 additions and 43575 deletions
@@ -22,7 +22,7 @@
//
//
// $Id: Em5CalorHit.hh,v 1.4 2001/10/16 11:56:27 maire Exp $
// GEANT4 tag $Name: geant4-04-00 $
// GEANT4 tag $Name: geant4-04-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em5CalorimeterSD.hh,v 1.4 2001/10/16 11:56:27 maire Exp $
// GEANT4 tag $Name: geant4-04-00 $
// GEANT4 tag $Name: geant4-04-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em5DetectorConstruction.hh,v 1.4 2001/10/16 11:56:27 maire Exp $
// GEANT4 tag $Name: geant4-04-00 $
// GEANT4 tag $Name: geant4-04-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em5DetectorMessenger.hh,v 1.4 2001/10/16 11:56:27 maire Exp $
// GEANT4 tag $Name: geant4-04-00 $
// GEANT4 tag $Name: geant4-04-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em5EventAction.hh,v 1.4 2001/10/16 11:56:27 maire Exp $
// GEANT4 tag $Name: geant4-04-00 $
// GEANT4 tag $Name: geant4-04-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em5EventActionMessenger.hh,v 1.4 2001/10/16 11:56:27 maire Exp $
// GEANT4 tag $Name: geant4-04-00 $
// GEANT4 tag $Name: geant4-04-01 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em5PhysicsList.hh,v 1.5 2001/10/16 11:56:27 maire Exp $
// GEANT4 tag $Name: geant4-04-00 $
// $Id: Em5PhysicsList.hh,v 1.7 2002/06/05 15:43:42 urban Exp $
// GEANT4 tag $Name: geant4-04-01 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -70,7 +70,6 @@ class Em5PhysicsList: public G4VUserPhysicsList
void SetGammaCut(G4double);
void SetElectronCut(G4double);
void SetProtonCut(G4double);
void SetCutsByEnergy(G4double);
void GetRange(G4double);
void SetMaxStep(G4double);
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em5PhysicsListMessenger.hh,v 1.4 2001/10/16 11:56:27 maire Exp $
// GEANT4 tag $Name: geant4-04-00 $
// $Id: Em5PhysicsListMessenger.hh,v 1.6 2002/06/05 15:43:42 urban Exp $
// GEANT4 tag $Name: geant4-04-01 $
//
//
@@ -57,7 +57,6 @@ class Em5PhysicsListMessenger: public G4UImessenger
G4UIcmdWithADoubleAndUnit* cutECmd;
G4UIcmdWithADoubleAndUnit* cutPCmd;
G4UIcmdWithADoubleAndUnit* rCmd;
G4UIcmdWithADoubleAndUnit* eCmd;
G4UIcmdWithADoubleAndUnit* setMaxStepCmd;
};
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em5PrimaryGeneratorAction.hh,v 1.4 2001/10/16 11:56:28 maire Exp $
// GEANT4 tag $Name: geant4-04-00 $
// $Id: Em5PrimaryGeneratorAction.hh,v 1.6 2002/06/05 15:43:42 urban Exp $
// GEANT4 tag $Name: geant4-04-01 $
//
//
@@ -49,15 +49,14 @@ class Em5PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
~Em5PrimaryGeneratorAction();
public:
void SetDefaultKinematic();
void SetDefaultKinematic();
void SetRndmBeam(G4double val) {rndmBeam = val;};
void GeneratePrimaries(G4Event*);
static G4String GetPrimaryName() ;
private:
G4ParticleGun* particleGun;
Em5DetectorConstruction* Em5Detector;
static G4String thePrimaryParticleName;
G4double rndmBeam;
Em5PrimaryGeneratorMessenger* gunMessenger;
};
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em5PrimaryGeneratorMessenger.hh,v 1.4 2001/10/16 11:56:28 maire Exp $
// GEANT4 tag $Name: geant4-04-00 $
// $Id: Em5PrimaryGeneratorMessenger.hh,v 1.6 2002/06/05 15:43:42 urban Exp $
// GEANT4 tag $Name: geant4-04-01 $
//
//
@@ -37,6 +37,7 @@
class Em5PrimaryGeneratorAction;
class G4UIcmdWithoutParameter;
class G4UIcmdWithADouble;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -51,6 +52,7 @@ class Em5PrimaryGeneratorMessenger: public G4UImessenger
private:
Em5PrimaryGeneratorAction* Em5Action;
G4UIcmdWithoutParameter* DefaultCmd;
G4UIcmdWithADouble* RndmCmd;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em5RunAction.hh,v 1.8 2001/11/28 16:08:18 maire Exp $
// GEANT4 tag $Name: geant4-04-00 $
// $Id: Em5RunAction.hh,v 1.10 2002/06/06 17:23:22 maire Exp $
// GEANT4 tag $Name: geant4-04-01 $
//
//
@@ -42,8 +42,8 @@ class Em5RunMessenger;
class G4Run;
#ifndef G4NOHIST
class HepTupleManager;
class HepHistogram;
class ITree;
class IHistogram1D;
#endif
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -68,17 +68,6 @@ class Em5RunAction : public G4UserRunAction
void AddTrRef(G4double tr,G4double ref);
void FillEn(G4double En);
void FillTh(G4double Th);
void FillThBack(G4double Th);
void FillR(G4double R);
void FillTt(G4double Tt);
void FillTb(G4double Tt);
void FillTsec(G4double T);
void FillGammaSpectrum(G4double E);
void FillNbOfSteps(G4double nstep);
void Fillvertexz(G4double z);
void SethistName(G4String name) ;
void SetnbinStep(G4int nbin);
@@ -121,63 +110,54 @@ class Em5RunAction : public G4UserRunAction
void Setzlow(G4double z);
void Setzhigh(G4double z);
G4double GetdTh() { return dTh;};
G4double GetdThback() { return dThback;};
#ifndef G4NOHIST
IHistogram1D* GetHisto(G4int id) {return histo[id];}
#endif
private:
void bookHisto();
private:
G4String histName ;
G4String histName;
#ifndef G4NOHIST
HepTupleManager* hbookManager;
HepHistogram *histo1, *histo2, *histo3, *histo4, *histo5 ;
HepHistogram *histo6, *histo7, *histo8, *histo9, *histo10;
HepHistogram *hi2bis;
ITree* tree;
IHistogram1D* histo[10];
#endif
G4double EnergySumAbs,EnergySquareSumAbs;
G4double tlSumAbs,tlsquareSumAbs;
G4double nStepSumCharged,nStepSum2Charged ;
G4double nStepSumNeutral,nStepSum2Neutral ;
G4double nStepSumCharged,nStepSum2Charged;
G4double nStepSumNeutral,nStepSum2Neutral;
G4double TotNbofEvents;
G4double SumCharged,Sum2Charged,SumNeutral,Sum2Neutral;
G4double Selectron,Spositron;
G4double Transmitted,Reflected ;
G4double Transmitted,Reflected;
G4double entryStep,underStep,overStep,distStep[200];
G4double Steplow,Stephigh,dStep;
G4double Steplow,Stephigh;
G4int nbinStep;
G4double entryEn,underEn,overEn,distEn[200];
G4double Enlow,Enhigh,dEn;
G4double Enlow,Enhigh;
G4int nbinEn;
G4double entryTt,underTt,overTt,distTt[200];
G4double Ttlow,Tthigh,dTt;
G4double Ttlow,Tthigh;
G4int nbinTt;
G4double Ttmean,Tt2mean;
G4double entryTb,underTb,overTb,distTb[200];
G4double Tblow,Tbhigh,dTb;
G4double Tblow,Tbhigh;
G4int nbinTb;
G4double Tbmean,Tb2mean;
G4double entryTsec,underTsec,overTsec,distTsec[200];
G4double Tseclow,Tsechigh,dTsec;
G4double Tseclow,Tsechigh;
G4int nbinTsec;
G4double entryTh,underTh,overTh,distTh[200];
G4double Thlow,Thhigh,dTh;
G4int nbinTh;
G4double entryThback,underThback,overThback,distThback[200];
G4double Thlowback,Thhighback,dThback;
G4int nbinThback;
G4double entryR ,underR ,overR ,distR[200];
G4double Rlow,Rhigh,dR;
G4double Rlow,Rhigh;
G4int nbinR;
G4double Rmean,R2mean;
G4double entryGamma,underGamma,overGamma,distGamma[200];
G4double ElowGamma,EhighGamma,dEGamma;
G4double ElowGamma,EhighGamma;
G4int nbinGamma ;
G4double entryvertexz,undervertexz,oververtexz,distvertexz[200];
G4double zlow,zhigh,dz;
G4double zlow,zhigh;
G4int nbinvertexz;
Em5RunMessenger* runMessenger;
@@ -23,7 +23,7 @@
//
// $Id: Em5RunMessenger.hh,v 1.5 2001/11/28 16:08:18 maire Exp $
// GEANT4 tag $Name: geant4-04-00 $
// GEANT4 tag $Name: geant4-04-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em5StepCut.hh,v 1.5 2001/10/16 11:56:28 maire Exp $
// GEANT4 tag $Name: geant4-04-00 $
// GEANT4 tag $Name: geant4-04-01 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em5SteppingAction.hh,v 1.4 2001/10/16 11:56:28 maire Exp $
// GEANT4 tag $Name: geant4-04-00 $
// $Id: Em5SteppingAction.hh,v 1.5 2002/06/05 15:43:43 urban Exp $
// GEANT4 tag $Name: geant4-04-01 $
//
//
@@ -45,6 +45,11 @@ class Em5SteppingMessenger;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef G4NOHIST
class HepTupleManager;
class HepHistogram;
#endif
class Em5SteppingAction : public G4UserSteppingAction
{
public:
@@ -22,7 +22,7 @@
//
//
// $Id: Em5SteppingMessenger.hh,v 1.3 2001/07/11 09:57:49 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
// GEANT4 tag $Name: geant4-04-01 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
@@ -22,7 +22,7 @@
//
//
// $Id: Em5SteppingVerbose.hh,v 1.7 2001/10/16 11:56:28 maire Exp $
// GEANT4 tag $Name: geant4-04-00 $
// GEANT4 tag $Name: geant4-04-01 $
//
// This class manages the verbose outputs in G4SteppingManager.
// It inherits from G4SteppingVerbose.
@@ -22,7 +22,7 @@
//
//
// $Id: Em5VisManager.hh,v 1.4 2001/10/16 11:56:28 maire Exp $
// GEANT4 tag $Name: geant4-04-00 $
// GEANT4 tag $Name: geant4-04-01 $
//
//