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: G4DecayPhysics.hh,v 1.3 2005/12/05 12:55:27 vnivanch Exp $
|
|
// GEANT4 tag $Name: geant4-08-00 $
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
//
|
|
// ClassName: G4DecayPhysics
|
|
//
|
|
// Author: 2002 J.P. Wellisch
|
|
//
|
|
// Modified:
|
|
// 10.11.2005 V.Ivanchenko edit to provide a standard
|
|
// 05.12.2005 V.Ivanchenko add controlled verbosity
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
//
|
|
|
|
#ifndef G4DecayPhysics_h
|
|
#define G4DecayPhysics_h 1
|
|
|
|
#include "globals.hh"
|
|
#include "G4VPhysicsConstructor.hh"
|
|
|
|
#include "G4Decay.hh"
|
|
|
|
class G4DecayPhysics : public G4VPhysicsConstructor
|
|
{
|
|
public:
|
|
G4DecayPhysics(const G4String& name = "decay", G4int ver = 1);
|
|
virtual ~G4DecayPhysics();
|
|
|
|
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();
|
|
|
|
private:
|
|
G4Decay* fDecayProcess;
|
|
G4int verbose;
|
|
G4bool wasActivated;
|
|
};
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|