Import Geant4 11.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2024-06-28 13:08:51 +02:00
parent f7b23877ed
commit e58e650b32
5232 changed files with 239416 additions and 244360 deletions
@@ -27,8 +27,8 @@
/// \brief Definition of the RE02RunAction class
//
//
//
//
//
//
//
#ifndef RE02RunAction_h
@@ -36,13 +36,14 @@
#include "G4UserRunAction.hh"
#include "globals.hh"
#include <vector>
class G4Run;
//=======================================================================
// RE02RunAction
//
//
// Generate Run object and Dumping Run summary.
//
// T.Aso Created. 2007.Nov.
@@ -55,7 +56,7 @@ class G4Run;
/// instanciates a run of RE02Run with a sensitive detector name
///
/// - void BeginOfRunAction(const G4Run*)
/// shows the run number
/// shows the run number
///
/// - void EndOfRunAction(const G4Run*)
/// shows accumulated information of primitive scorers and
@@ -67,38 +68,31 @@ class G4Run;
//
class RE02RunAction : public G4UserRunAction
{
public:
// constructor and destructor
RE02RunAction();
virtual ~RE02RunAction();
public:
// constructor and destructor
RE02RunAction();
virtual ~RE02RunAction();
public:
// virtual method from G4UserRunAction.
virtual G4Run* GenerateRun();
virtual void BeginOfRunAction(const G4Run*);
virtual void EndOfRunAction(const G4Run*);
public:
// virtual method from G4UserRunAction.
virtual G4Run* GenerateRun();
virtual void BeginOfRunAction(const G4Run*);
virtual void EndOfRunAction(const G4Run*);
public:
// Utility method for converting segment number of
// water phantom to copyNo of HitsMap.
G4int CopyNo(G4int ix, G4int iy, G4int iz)
{ return (iy*(fNx*fNz)+ix*fNz+iz); }
public:
// Utility method for converting segment number of
// water phantom to copyNo of HitsMap.
G4int CopyNo(G4int ix, G4int iy, G4int iz) { return (iy * (fNx * fNz) + ix * fNz + iz); }
private:
// Data member
// - vector of MultiFunctionalDetecor names.
std::vector<G4String> fSDName;
// for conversion of sengment number to copyNo.
G4int fNx, fNy, fNz;
private:
// Data member
// - vector of MultiFunctionalDetecor names.
std::vector<G4String> fSDName;
// for conversion of sengment number to copyNo.
G4int fNx, fNy, fNz;
};
//
#endif