Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
@@ -0,0 +1,50 @@
//
// ********************************************************************
// * 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 GB07ActionInitialization.hh
/// \brief Definition of the GB07ActionInitialization class
#ifndef GB07ActionInitialization_hh
#define GB07ActionInitialization_hh 1
#include "G4VUserActionInitialization.hh"
/// Action initialization class.
///
class GB07ActionInitialization : public G4VUserActionInitialization
{
public:
GB07ActionInitialization();
virtual ~GB07ActionInitialization();
virtual void BuildForMaster() const;
virtual void Build() const;
};
#endif
@@ -0,0 +1,84 @@
//
// ********************************************************************
// * 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 GB07/include/GB07BOptrLeadingParticle.hh
/// \brief Definition of the GB07BOptrLeadingParticle class
//
#ifndef GB07BOptrLeadingParticle_hh
#define GB07BOptrLeadingParticle_hh 1
#include "G4VBiasingOperator.hh"
class G4BOptnLeadingParticle;
class G4VProcess;
#include <map>
class GB07BOptrLeadingParticle : public G4VBiasingOperator {
public:
GB07BOptrLeadingParticle( G4String operatorName = "LeadingParticleBiasingOperator");
virtual ~GB07BOptrLeadingParticle();
private:
// -----------------------------
// -- Mandatory from base class:
// -----------------------------
// -- Unsused:
virtual G4VBiasingOperation*
ProposeNonPhysicsBiasingOperation(const G4Track*,
const G4BiasingProcessInterface*) final
{ return nullptr; }
// -- Unused:
virtual G4VBiasingOperation*
ProposeOccurenceBiasingOperation (const G4Track*,
const G4BiasingProcessInterface*) final
{ return nullptr; }
// -- Used:
// -- Will return the biasing operation at the final state generation stage
virtual G4VBiasingOperation*
ProposeFinalStateBiasingOperation(const G4Track* track,
const G4BiasingProcessInterface* callingProcess) final;
public:
// ------------------------------------
// -- Optional methods from base class:
// ------------------------------------
virtual void StartRun() final;
virtual void StartTracking( const G4Track* track ) final;
private:
// -- The leading particle biasing operation that will actually
// -- trim the final state generation:
G4BOptnLeadingParticle* fLeadingParticleBiasingOperation;
// -- Two-particle final states, they will be biased with a
// -- "further killing probability" for particles accompanying
// -- the leading particle, we remember what processes are concerned:
const G4VProcess* fAnnihilation;
const G4VProcess* fConversion;
const G4VProcess* fDecay;
const G4VProcess* fTwoParticleProcess;
};
#endif
@@ -0,0 +1,56 @@
//
// ********************************************************************
// * 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 GB07/include/GB07DetectorConstruction.hh
/// \brief Definition of the GB07DetectorConstruction class
//
#ifndef GB07DetectorConstruction_h
#define GB07DetectorConstruction_h 1
#include "G4VUserDetectorConstruction.hh"
#include "globals.hh"
class G4Box;
class G4LogicalVolume;
class G4VPhysicalVolume;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
class GB07DetectorConstruction : public G4VUserDetectorConstruction
{
public:
GB07DetectorConstruction();
~GB07DetectorConstruction();
public:
virtual G4VPhysicalVolume* Construct();
virtual void ConstructSDandField();
};
#endif
@@ -0,0 +1,53 @@
//
// ********************************************************************
// * 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 GB07/include/GB07PrimaryGeneratorAction.hh
/// \brief Definition of the GB07PrimaryGeneratorAction class
//
#ifndef GB07PrimaryGeneratorAction_h
#define GB07PrimaryGeneratorAction_h 1
#include "G4VUserPrimaryGeneratorAction.hh"
#include "globals.hh"
class G4ParticleGun;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
class GB07PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
{
public:
GB07PrimaryGeneratorAction();
virtual ~GB07PrimaryGeneratorAction();
virtual void GeneratePrimaries(G4Event*);
private:
G4ParticleGun* fParticleGun; //pointer a to G4 class
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#endif
@@ -0,0 +1,49 @@
//
// ********************************************************************
// * 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 GB07/include/GB07SD.hh
/// \brief Definition of the GB07SD class
//
//
#ifndef GB07SD_h
#define GB07SD_h 1
#include "G4VSensitiveDetector.hh"
class GB07SD : public G4VSensitiveDetector
{
public:
GB07SD(G4String name);
virtual ~GB07SD(); //// {}
virtual void Initialize(G4HCofThisEvent* ) {}
virtual G4bool ProcessHits(G4Step* aStep, G4TouchableHistory* ROhist);
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#endif