66 lines
1.4 KiB
C++
66 lines
1.4 KiB
C++
// This code implementation is the intellectual property of
|
|
// the RD44 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: G4VKineticNucleon.hh,v 1.1 1998/08/22 08:57:57 hpw Exp $
|
|
// GEANT4 tag $Name: geant4-00 $
|
|
//
|
|
#ifndef G4VKineticNucleon_h
|
|
#define G4VKineticNucleon_h 1
|
|
|
|
#include "G4ThreeVector.hh"
|
|
#include "G4LorentzVector.hh"
|
|
#include "G4ParticleDefinition.hh"
|
|
|
|
class G4KineticTrackVector;
|
|
|
|
class G4VKineticNucleon
|
|
{
|
|
|
|
public:
|
|
|
|
G4VKineticNucleon();
|
|
|
|
G4VKineticNucleon(const G4VKineticNucleon &right);
|
|
|
|
virtual ~G4VKineticNucleon();
|
|
|
|
const G4VKineticNucleon& operator=(const G4VKineticNucleon& right);
|
|
|
|
int operator==(const G4VKineticNucleon& right) const;
|
|
|
|
int operator!=(const G4VKineticNucleon& right) const;
|
|
|
|
virtual G4KineticTrackVector* Decay();
|
|
|
|
virtual const G4LorentzVector& Get4Momentum() const =0;
|
|
|
|
virtual G4ParticleDefinition* GetDefinition()const =0;
|
|
|
|
virtual const G4ThreeVector& GetPosition() const =0;
|
|
|
|
protected:
|
|
|
|
private:
|
|
};
|
|
|
|
// Class G4VKineticNucleon
|
|
|
|
|
|
|
|
inline G4KineticTrackVector* G4VKineticNucleon::Decay()
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
inline const G4VKineticNucleon& G4VKineticNucleon::operator=(const G4VKineticNucleon& right)
|
|
{
|
|
return *this;
|
|
}
|
|
#endif
|
|
|
|
|