85 lines
2.8 KiB
C++
85 lines
2.8 KiB
C++
//
|
|
// ********************************************************************
|
|
// * DISCLAIMER *
|
|
// * *
|
|
// * The following disclaimer summarizes all the specific disclaimers *
|
|
// * of contributors to this software. The specific disclaimers,which *
|
|
// * govern, are listed with their locations in: *
|
|
// * http://cern.ch/geant4/license *
|
|
// * *
|
|
// * 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. *
|
|
// * *
|
|
// * This code implementation is the intellectual property of the *
|
|
// * GEANT4 collaboration. *
|
|
// * By copying, distributing or modifying the Program (or any work *
|
|
// * based on the Program) you indicate your acceptance of this *
|
|
// * statement, and all its terms. *
|
|
// ********************************************************************
|
|
//
|
|
// $Id: HadronPhysicsLHEP.hh,v 1.2 2005/11/29 17:01:20 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-08-00 $
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
//
|
|
// ClassName: HadronPhysicsLHEP
|
|
//
|
|
// Author: 2002 J.P. Wellisch
|
|
//
|
|
// Modified:
|
|
// 21.11.2005 G.Folger: don't keep processes as data members, but new these
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
//
|
|
#ifndef HadronPhysicsLHEP_h
|
|
#define HadronPhysicsLHEP_h 1
|
|
|
|
#include "globals.hh"
|
|
#include "G4ios.hh"
|
|
|
|
#include "G4VPhysicsConstructor.hh"
|
|
#include "G4StoppingHadronBuilder.hh"
|
|
#include "G4MiscLHEPBuilder.hh"
|
|
|
|
#include "G4LHEPPiKBuilder.hh"
|
|
#include "G4PiKBuilder.hh"
|
|
|
|
#include "G4ProtonBuilder.hh"
|
|
#include "G4LHEPProtonBuilder.hh"
|
|
|
|
#include "G4NeutronBuilder.hh"
|
|
#include "G4LHEPNeutronBuilder.hh"
|
|
|
|
class HadronPhysicsLHEP : public G4VPhysicsConstructor
|
|
{
|
|
public:
|
|
HadronPhysicsLHEP(const G4String& name ="hadron");
|
|
virtual ~HadronPhysicsLHEP();
|
|
|
|
public:
|
|
virtual void ConstructParticle();
|
|
virtual void ConstructProcess();
|
|
|
|
private:
|
|
void CreateModels();
|
|
G4NeutronBuilder * theNeutrons;
|
|
G4LHEPNeutronBuilder * theLHEPNeutron;
|
|
|
|
G4PiKBuilder * thePiK;
|
|
G4LHEPPiKBuilder * theLHEPPiK;
|
|
|
|
G4ProtonBuilder * thePro;
|
|
G4LHEPProtonBuilder * theLHEPPro;
|
|
|
|
G4MiscLHEPBuilder * theMiscLHEP;
|
|
G4StoppingHadronBuilder * theStoppingHadron;
|
|
};
|
|
|
|
// 2002 by J.P. Wellisch
|
|
|
|
#endif
|
|
|