Import Geant4 11.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2021-12-10 16:15:15 +00:00
committed by Ben Morgan
parent 6399a014b6
commit 80e2389dd8
3932 changed files with 202519 additions and 246221 deletions
@@ -1,40 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
/// \file SAXSAnalysis.hh
/// \brief Implementation of the SAXSAnalysis class
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef SAXSAnalysis_h
#define SAXSAnalysis_h 1
#include "g4root.hh"
//#include "g4xml.hh"
//#include "g4csv.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#endif
@@ -53,10 +53,8 @@ public:
SAXSPhysicsList();
virtual ~SAXSPhysicsList();
public:
virtual void ConstructParticle();
virtual void ConstructProcess();
virtual void SetCuts();
void ConstructParticle() override;
void ConstructProcess() override;
//for the Messenger
void SetDefaultCutsValue(G4double);
@@ -64,9 +62,10 @@ public:
void SetUseMIFlag(G4bool val){fUseMIFlag = val;};
G4bool GetUseMIFlag(){return fUseMIFlag;};
SAXSPhysicsList & operator = (const SAXSPhysicsList &right) = delete;
SAXSPhysicsList(const SAXSPhysicsList&) = delete;
private:
SAXSPhysicsList & operator = (const SAXSPhysicsList &right);
SAXSPhysicsList(const SAXSPhysicsList&);
G4VPhysicsConstructor* fParticleList;
G4VPhysicsConstructor* fEmPhysicsList;
@@ -34,6 +34,7 @@
#include "SAXSRunActionMessenger.hh"
#include "G4UserRunAction.hh"
#include "G4AnalysisManager.hh"
#include "globals.hh"
class G4Run;
@@ -41,24 +42,23 @@ class SAXSRunActionMessenger;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
/// Run action class.
class SAXSRunAction : public G4UserRunAction
{
public:
SAXSRunAction();
virtual ~SAXSRunAction();
virtual void BeginOfRunAction(const G4Run*);
virtual void EndOfRunAction(const G4Run*);
void BeginOfRunAction(const G4Run*) override;
void EndOfRunAction(const G4Run*) override;
void SetFileName(G4String);
void SetFileName(const G4String&);
private:
G4String fFileName;
SAXSRunActionMessenger* fMessenger;
SAXSRunActionMessenger* fMessenger = nullptr;
G4AnalysisManager* fAnalysisManager = nullptr;
G4bool fIsFileOpened;
G4bool fIsFileOpened = false;
G4String fFileName = "";
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......