Files
geant4/examples/extended/parameterisations/Par02/include/Par02PhysicsList.hh
T
2018-12-07 15:15:39 +01:00

93 lines
3.5 KiB
C++

//
// ********************************************************************
// * 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 Par02PhysicsList.hh
/// \brief Definition of the Par02PhysicsList class
#ifndef PAR02_PHYSICS_LIST_H
#define PAR02_PHYSICS_LIST_H
#include "G4VUserPhysicsList.hh"
#include "globals.hh"
/// Construction of a physics list.
///
/// A mandatory initialization class of the physics list.
/// For the purposes of fast simulation, only transportation, decays and
/// parametrisation is used. Based on G4
/// examples/extended/parametrisations/Par01/include/Par01PhysicsList.hh .
/// @author Anna Zaborowska
class Par02PhysicsList : public G4VUserPhysicsList {
public:
/// A default constructor. Sets the default cut value.
Par02PhysicsList();
virtual ~Par02PhysicsList();
protected:
/// Constructs particles: bosons, leptons, mesons, baryons and ions.
virtual void ConstructParticle();
/// Constructs physics processes: particle transportation, decays,
/// parametrisation (for the purpose of fast parametric simulation).
virtual void ConstructProcess();
/// Sets cuts with the default value for all particle types.
virtual void SetCuts();
/// Constructs bosons (including geantino)
virtual void ConstructBosons();
/// Constructs all leptons.
virtual void ConstructLeptons();
/// Constructs all mesons.
virtual void ConstructMesons();
/// Constructs all barions.
virtual void ConstructBaryons();
/// Constructs light ions.
virtual void ConstructIons();
/// Creates a G4FastSimulationManagerProcess object for all the particle types.
void AddParameterisation();
/// Adds decay process.
virtual void ConstructGeneral();
/// Adds the particle transport.
/// G4CoupledTransportation is used to allow the calculation of the expected
/// position of the particle within a G4VFastSimulationModel.
virtual void AddTransportation();
};
#endif