Import Geant4 11.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2022-12-09 14:43:28 +01:00
parent c07cea1fe0
commit 9f34590941
3810 changed files with 200490 additions and 182326 deletions
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
/// \file ActionInitialization.hh
/// \file B5/include/ActionInitialization.hh
/// \brief Definition of the B5::ActionInitialization class
#ifndef B5ActionInitialization_h
@@ -40,8 +40,8 @@ namespace B5
class ActionInitialization : public G4VUserActionInitialization
{
public:
ActionInitialization();
~ActionInitialization() override;
ActionInitialization() = default;
~ActionInitialization() override = default;
void BuildForMaster() const override;
void Build() const override;
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
/// \file CellParameterisation.hh
/// \file B5/include/CellParameterisation.hh
/// \brief Definition of the B5::CellParameterisation class
#ifndef B5CellParameterisation_H
@@ -48,7 +48,7 @@ class CellParameterisation : public G4VPVParameterisation
{
public:
CellParameterisation();
~CellParameterisation() override;
~CellParameterisation() override = default;
void ComputeTransformation(
const G4int copyNo,G4VPhysicalVolume *physVol) const override;
+1 -1
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
/// \file Constants.hh
/// \file B5/include/Constants.hh
/// \brief Definition of B5 example constants.
#ifndef B5Constants_h
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
/// \file DetectorConstruction.hh
/// \file B5/include/DetectorConstruction.hh
/// \brief Definition of the B5::DetectorConstruction class
#ifndef B5DetectorConstruction_h
+3 -3
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
/// \file DriftChamberHit.hh
/// \file B5/include/DriftChamberHit.hh
/// \brief Definition of the B5::DriftChamberHit class
#ifndef B5DriftChamberHit_h
@@ -54,10 +54,10 @@ namespace B5
class DriftChamberHit : public G4VHit
{
public:
DriftChamberHit();
DriftChamberHit() = default;
DriftChamberHit(G4int layerID);
DriftChamberHit(const DriftChamberHit &right) = default;
~DriftChamberHit() override;
~DriftChamberHit() override = default;
DriftChamberHit& operator=(const DriftChamberHit &right) = default;
G4bool operator==(const DriftChamberHit &right) const;
+2 -2
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
/// \file DriftChamberSD.hh
/// \file B5/include/DriftChamberSD.hh
/// \brief Definition of the B5::DriftChamberSD class
#ifndef B5DriftChamberSD_h
@@ -47,7 +47,7 @@ class DriftChamberSD : public G4VSensitiveDetector
{
public:
DriftChamberSD(G4String name);
~DriftChamberSD() override;
~DriftChamberSD() override = default;
void Initialize(G4HCofThisEvent*HCE) override;
G4bool ProcessHits(G4Step* aStep, G4TouchableHistory* ROhist) override;
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
/// \file EmCalorimeterHit.hh
/// \file B5/include/EmCalorimeterHit.hh
/// \brief Definition of the B5::EmCalorimeterHit class
#ifndef B5EmCalorimeterHit_h
@@ -54,10 +54,10 @@ namespace B5
class EmCalorimeterHit : public G4VHit
{
public:
EmCalorimeterHit();
EmCalorimeterHit() = default;
EmCalorimeterHit(G4int cellID);
EmCalorimeterHit(const EmCalorimeterHit &right) = default;
~EmCalorimeterHit() override;
~EmCalorimeterHit() override = default;
EmCalorimeterHit& operator=(const EmCalorimeterHit &right) = default;
G4bool operator==(const EmCalorimeterHit &right) const;
+2 -2
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
/// \file EmCalorimeterSD.hh
/// \file B5/include/EmCalorimeterSD.hh
/// \brief Definition of the B5::EmCalorimeterSD class
#ifndef B5EmCalorimeterSD_h
@@ -47,7 +47,7 @@ class EmCalorimeterSD : public G4VSensitiveDetector
{
public:
EmCalorimeterSD(G4String name);
~EmCalorimeterSD() override;
~EmCalorimeterSD() override = default;
void Initialize(G4HCofThisEvent*HCE) override;
G4bool ProcessHits(G4Step*aStep,G4TouchableHistory*ROhist) override;
+2 -2
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
/// \file EventAction.hh
/// \file B5/include/EventAction.hh
/// \brief Definition of the B5::EventAction class
#ifndef B5EventAction_h
@@ -54,7 +54,7 @@ class EventAction : public G4UserEventAction
{
public:
EventAction();
~EventAction() override;
~EventAction() override = default;
void BeginOfEventAction(const G4Event*) override;
void EndOfEventAction(const G4Event*) override;
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
/// \file HadCalorimeterHit.hh
/// \file B5/include/HadCalorimeterHit.hh
/// \brief Definition of the B5::HadCalorimeterHit class
#ifndef B5HadCalorimeterHit_h
@@ -54,10 +54,10 @@ namespace B5
class HadCalorimeterHit : public G4VHit
{
public:
HadCalorimeterHit();
HadCalorimeterHit() = default;
HadCalorimeterHit(G4int iCol,G4int iRow);
HadCalorimeterHit(const HadCalorimeterHit &right) = default;
~HadCalorimeterHit() override;
~HadCalorimeterHit() override = default;
HadCalorimeterHit& operator=(const HadCalorimeterHit &right) = default;
G4bool operator==(const HadCalorimeterHit &right) const;
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
/// \file HadCalorimeterSD.hh
/// \file B5/include/HadCalorimeterSD.hh
/// \brief Definition of the B5::HadCalorimeterSD class
#ifndef B5HadCalorimeterSD_h
@@ -47,7 +47,7 @@ class HadCalorimeterSD : public G4VSensitiveDetector
{
public:
HadCalorimeterSD(G4String name);
~HadCalorimeterSD() override;
~HadCalorimeterSD() override = default;
void Initialize(G4HCofThisEvent*HCE) override;
G4bool ProcessHits(G4Step*aStep,G4TouchableHistory*ROhist) override;
+2 -2
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
/// \file HodoscopeHit.hh
/// \file B5/include/HodoscopeHit.hh
/// \brief Definition of the B5::HodoscopeHit class
#ifndef B5HodoscopeHit_h
@@ -56,7 +56,7 @@ class HodoscopeHit : public G4VHit
public:
HodoscopeHit(G4int i,G4double t);
HodoscopeHit(const HodoscopeHit &right) = default;
~HodoscopeHit() override;
~HodoscopeHit() override = default;
HodoscopeHit& operator=(const HodoscopeHit &right) = default;
G4bool operator==(const HodoscopeHit &right) const;
+2 -2
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
/// \file HodoscopeSD.hh
/// \file B5/include/HodoscopeSD.hh
/// \brief Definition of the B5::HodoscopeSD class
#ifndef B5HodoscopeSD_h
@@ -46,7 +46,7 @@ class HodoscopeSD : public G4VSensitiveDetector
{
public:
HodoscopeSD(G4String name);
~HodoscopeSD() override;
~HodoscopeSD() override = default;
void Initialize(G4HCofThisEvent*HCE) override;
G4bool ProcessHits(G4Step*aStep,G4TouchableHistory*ROhist) override;
+1 -1
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
/// \file MagneticField.hh
/// \file B5/include/MagneticField.hh
/// \brief Definition of the B5::MagneticField class
#ifndef B5MagneticField_H
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
/// \file PrimaryGeneratorAction.hh
/// \file B5/include/PrimaryGeneratorAction.hh
/// \brief Definition of the B5::PrimaryGeneratorAction class
#ifndef B5PrimaryGeneratorAction_h
+2 -2
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
/// \file RunAction.hh
/// \file B5/include/RunAction.hh
/// \brief Definition of the B5::RunAction class
#ifndef B5RunAction_h
@@ -46,7 +46,7 @@ class RunAction : public G4UserRunAction
{
public:
RunAction(EventAction* eventAction);
~RunAction() override;
~RunAction() override = default;
void BeginOfRunAction(const G4Run*) override;
void EndOfRunAction(const G4Run*) override;