Files
geant4/source/physics_lists/builders/include/G4QInelasticCHIPS_HPBuilder.hh
T
2016-06-09 17:01:34 +02:00

105 lines
4.3 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. *
// ********************************************************************
//
// GEANT4 tag $Name: not supported by cvs2svn $
//
//---------------------------------------------------------------------------
//
// ClassName: G4QInelasticCHIPS_HPBuilder
//
// Author: 2012 M. Kossov
//
// Modified:
//
//----------------------------------------------------------------------------
//
// Short comment: This is a physics list of only one model G4QInelastic for
// all hadron-nuclear interactions at all energies. There is the only
// process-mixing (G4QProcessMixer) with the G4_HP processes at low (< 20 MeV)
// energies with the G4QInelastic for neutrons, as CHIS does not include yet
// all nA inelastic processes necessary for some applications. In this particular
// builder the G4QInelastic process (with HP mix for neutrons) is attached to
// all hadrons other than nucleons or pi and K-mesons. Previously it could be
// done only using the LHEP parameterized package or in a temporary form by the
// QGSC model conditionally extended (just not crashing) to low energies.
// *** Important *** As the CHIPS treatment of all hadrons is very simple,
// this builder with time can be not used in the CHIPS physics list.
//
// -----------------------------------------------------------------------------
#ifndef G4QInelasticCHIPS_HPBuilder_h
#define G4QInelasticCHIPS_HPBuilder_h 1
#include "globals.hh"
#include "G4VPhysicsConstructor.hh"
#include "G4QInelastic.hh"
#include "G4QNGamma.hh"
//#include "G4QFission.hh"
#include "G4QDiscProcessMixer.hh"
//#include "G4NeutronBuilder.hh"
#include "G4VNeutronBuilder.hh"
#include "G4NeutronInelasticProcess.hh"
#include "G4HadronFissionProcess.hh"
#include "G4HadronCaptureProcess.hh"
#include "G4NeutronHPBuilder.hh"
#include "G4ParticleDefinition.hh"
#include "G4ParticleTable.hh"
#include "G4ProcessManager.hh"
class G4QInelasticCHIPS_HPBuilder
{
public:
G4QInelasticCHIPS_HPBuilder(G4int verbose);
virtual ~G4QInelasticCHIPS_HPBuilder();
public:
void Build();
protected:
// the particle table has the complete List of existing particle types
G4ParticleTable* theParticleTable;
G4ParticleTable::G4PTblDicIterator* theParticleIterator;
private:
G4int verbose;
G4bool wasActivated;
G4QInelastic* inelastic;
G4QDiscProcessMixer* theInProcessMixer;
G4QDiscProcessMixer* theNgProcessMixer;
G4QDiscProcessMixer* theFiProcessMixer;
G4NeutronInelasticProcess* theNeutronInelastic;
G4HadronFissionProcess* theNeutronFission;
G4HadronCaptureProcess* theNeutronCapture;
G4QInelastic* theCHIPSInelastic;
G4QNGamma* theCHIPSNGamma;
//G4QFission* theCHIPSFission;
G4NeutronHPBuilder* theHPNeutron;
};
// 2012 by M. Kossov
#endif