85 lines
2.3 KiB
C++
85 lines
2.3 KiB
C++
// 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: G4ExcitedBaryonConstructor.hh,v 1.4 2000/02/27 07:48:50 kurasige Exp $
|
|
// GEANT4 tag $Name: geant4-03-00 $
|
|
//
|
|
//
|
|
// --------------------------------------------------------------
|
|
// GEANT 4 class implementation file
|
|
//
|
|
// For information related to this code contact:
|
|
// CERN, IT Division, ASD Group
|
|
// History: first implementation, based on object model of
|
|
// 10 oct 1998 H.Kurashige
|
|
// ---------------------------------------------------------------
|
|
#ifndef G4ExcitedBaryonConstructor_h
|
|
#define G4ExcitedBaryonConstructor_h 1
|
|
|
|
#include "globals.hh"
|
|
#include "G4ios.hh"
|
|
class G4DecayTable;
|
|
|
|
class G4ExcitedBaryonConstructor
|
|
{
|
|
//This class is a utility class for construction
|
|
//short lived particles
|
|
|
|
public:
|
|
G4ExcitedBaryonConstructor(G4int nStates = 0, G4int isoSpin=0);
|
|
virtual ~G4ExcitedBaryonConstructor();
|
|
|
|
public:
|
|
virtual void Construct(G4int indexOfState = -1);
|
|
|
|
protected:
|
|
virtual void ConstructParticle(G4int indexOfState);
|
|
virtual void ConstructAntiParticle(G4int indexOfState);
|
|
|
|
|
|
virtual G4double GetCharge(G4int iIsoSpin3);
|
|
virtual G4int GetEncoding(G4int iIsoSpin3, G4int idxState);
|
|
|
|
protected:
|
|
G4int NumberOfStates;
|
|
G4int iIsoSpin;
|
|
|
|
const G4String type;
|
|
const G4int iConjugation;
|
|
const G4int iGParity;
|
|
const G4int leptonNumber;
|
|
const G4int baryonNumber;
|
|
|
|
// following methods are pure virtual
|
|
// thes methods should be implemented in derived classes
|
|
virtual G4bool Exist( G4int ) = 0;
|
|
virtual G4int GetQuarkContents(G4int, G4int)=0;
|
|
virtual G4String GetName(G4int, G4int )=0;
|
|
virtual G4String GetMultipletName(G4int)=0;
|
|
virtual G4double GetMass( G4int )=0;
|
|
virtual G4double GetWidth( G4int )=0;
|
|
virtual G4int GetiSpin( G4int )=0;
|
|
virtual G4int GetiParity( G4int )=0;
|
|
virtual G4int GetEncodingOffset( G4int )=0;
|
|
virtual G4DecayTable* CreateDecayTable(const G4String&,
|
|
G4int , G4int, G4bool)=0;
|
|
};
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|