Files
geant4/source/processes/decay/include/G4VExtDecayer.hh
T
2016-06-08 16:57:27 +02:00

99 lines
2.9 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: G4VExtDecayer.hh,v 1.3 2001/07/11 10:02:27 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// ------------------------------------------------------------
// GEANT 4 class header file
//
//
// ------------------------------------------------------------
// New scheme 23 Feb. 2001 H.Kurahige
// ------------------------------------------------------------
//
#ifndef G4VExtDecayer_h
#define G4VExtDecayer_h 1
#include "G4ios.hh"
#include "globals.hh"
#include "G4DecayProducts.hh"
class G4Track;
class G4VExtDecayer
{
// Class Description
// This class is a Abstract class for external decayer
// G4VExtDecayer has one pure virtual method of
// ImportDecayProducts which return decay products
public: //With Description
// Constructors
G4VExtDecayer(const G4String& name ="");
// Destructor
virtual ~G4VExtDecayer(){}
private:
// copy constructor
G4VExtDecayer(const G4VExtDecayer &){}
// Assignment Operation (generated)
G4VExtDecayer & operator=(const G4VExtDecayer&){return *this;};
public: //With Description
virtual G4DecayProducts* ImportDecayProducts(
const G4Track& aTrack
) = 0;
const G4String& GetName() const;
protected:
G4String decayerName;
};
inline
G4VExtDecayer::G4VExtDecayer(const G4String& name):
decayerName(name)
{
}
inline
const G4String& G4VExtDecayer::GetName() const
{
return decayerName;
}
#endif