116 lines
4.0 KiB
C++
116 lines
4.0 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. *
|
|
// ********************************************************************
|
|
//
|
|
// $Id$
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
//
|
|
// ClassName: HadronPhysicsQGSP_INCLXX
|
|
//
|
|
// Author: 2011 P. Kaitaniemi
|
|
//
|
|
// Modified:
|
|
// 31.10.2012 A.Ribon: Use G4MiscBuilder
|
|
// 27.11.2011 P.Kaitaniemi: Created using QGSP_INCL_ABLA as a template
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
//
|
|
#ifndef HadronPhysicsQGSP_INCLXX_h
|
|
#define HadronPhysicsQGSP_INCLXX_h 1
|
|
|
|
#include "globals.hh"
|
|
#include "G4ios.hh"
|
|
|
|
#include "G4VPhysicsConstructor.hh"
|
|
#include "G4MiscBuilder.hh"
|
|
|
|
#include "G4PiKBuilder.hh"
|
|
#include "G4LEPPiKBuilder.hh"
|
|
#include "G4QGSPPiKBuilder.hh"
|
|
#include "G4BertiniPiKBuilder.hh"
|
|
#include "G4INCLXXPiKBuilder.hh"
|
|
|
|
#include "G4ProtonBuilder.hh"
|
|
#include "G4LEPProtonBuilder.hh"
|
|
#include "G4QGSPProtonBuilder.hh"
|
|
#include "G4BertiniProtonBuilder.hh"
|
|
#include "G4INCLXXProtonBuilder.hh"
|
|
|
|
#include "G4NeutronBuilder.hh"
|
|
#include "G4LEPNeutronBuilder.hh"
|
|
#include "G4QGSPNeutronBuilder.hh"
|
|
#include "G4BertiniNeutronBuilder.hh"
|
|
#include "G4INCLXXNeutronBuilder.hh"
|
|
|
|
/**
|
|
* Build hadronic physics using INCL++ and QGSP models.
|
|
*
|
|
* @see G4INCLXXProtonBuilder
|
|
* @see G4INCLXXNeutronBuilder
|
|
* @see G4INCLXXPiKBuilder
|
|
*/
|
|
class HadronPhysicsQGSP_INCLXX : public G4VPhysicsConstructor
|
|
{
|
|
public:
|
|
HadronPhysicsQGSP_INCLXX(G4int verbose =1);
|
|
HadronPhysicsQGSP_INCLXX(const G4String& name, G4bool quasiElastic=true);
|
|
virtual ~HadronPhysicsQGSP_INCLXX();
|
|
|
|
public:
|
|
virtual void ConstructParticle();
|
|
virtual void ConstructProcess();
|
|
|
|
void SetQuasiElastic(G4bool value) {QuasiElastic = value;};
|
|
void SetProjectileDiffraction(G4bool value) {ProjectileDiffraction = value;};
|
|
|
|
private:
|
|
void CreateModels();
|
|
G4NeutronBuilder * theNeutrons;
|
|
G4LEPNeutronBuilder * theLEPNeutron;
|
|
G4QGSPNeutronBuilder * theQGSPNeutron;
|
|
G4BertiniNeutronBuilder * theBertiniNeutron;
|
|
G4INCLXXNeutronBuilder * theInclAblaNeutron;
|
|
|
|
G4PiKBuilder * thePiK;
|
|
G4LEPPiKBuilder * theLEPPiK;
|
|
G4QGSPPiKBuilder * theQGSPPiK;
|
|
G4BertiniPiKBuilder * theBertiniPiK;
|
|
G4INCLXXPiKBuilder * theInclAblaPiK;
|
|
|
|
G4ProtonBuilder * thePro;
|
|
G4LEPProtonBuilder * theLEPPro;
|
|
G4QGSPProtonBuilder * theQGSPPro;
|
|
G4BertiniProtonBuilder * theBertiniPro;
|
|
G4INCLXXProtonBuilder * theInclAblaPro;
|
|
|
|
G4MiscBuilder * theMisc;
|
|
|
|
G4bool QuasiElastic;
|
|
G4bool ProjectileDiffraction;
|
|
};
|
|
|
|
#endif
|
|
|