78 lines
2.6 KiB
C++
78 lines
2.6 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: ExN04GeneralPhysics.hh,v 1.1 2002/03/05 15:22:10 gcosmo Exp $
|
|
// GEANT4 tag $Name: geant4-05-00 $
|
|
//
|
|
//
|
|
// ------------------------------------------------------------
|
|
// GEANT 4 class header file
|
|
// Class Description:
|
|
// This class is an derived class of G4VPhysicsConstructor
|
|
//
|
|
// -------------------------------------------
|
|
// History
|
|
// first version 12 Nov. 2000 by H.Kurashige
|
|
// ------------------------------------------------------------
|
|
#ifndef ExN04GeneralPhysics_h
|
|
#define ExN04GeneralPhysics_h 1
|
|
|
|
#include "globals.hh"
|
|
#include "G4ios.hh"
|
|
|
|
#include "G4VPhysicsConstructor.hh"
|
|
|
|
|
|
#include "G4Decay.hh"
|
|
|
|
class ExN04GeneralPhysics : public G4VPhysicsConstructor
|
|
{
|
|
public:
|
|
ExN04GeneralPhysics(const G4String& name = "general");
|
|
virtual ~ExN04GeneralPhysics();
|
|
|
|
public:
|
|
// This method will be invoked in the Construct() method.
|
|
// each particle type will be instantiated
|
|
virtual void ConstructParticle();
|
|
|
|
// This method will be invoked in the Construct() method.
|
|
// each physics process will be instantiated and
|
|
// registered to the process manager of each particle type
|
|
virtual void ConstructProcess();
|
|
|
|
protected:
|
|
G4Decay fDecayProcess;
|
|
};
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|