Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
// 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: G4DiQuarks.hh,v 2.1 1998/07/13 17:19:01 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
//
|
||||
// For information related to this code contact:
|
||||
// CERN, CN Division, ASD group
|
||||
// History: first implementation, based on object model of
|
||||
// Hisaya Kurashige, 27 June 1998
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
|
||||
#ifndef G4DiQuarks_h
|
||||
#define G4DiQuarks_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4VShortLivedParticle.hh"
|
||||
|
||||
// ######################################################################
|
||||
// ### DiQuarks ###
|
||||
// ######################################################################
|
||||
|
||||
class G4DiQuarks : public G4VShortLivedParticle
|
||||
{
|
||||
public:
|
||||
G4DiQuarks(
|
||||
const G4String& aName, G4double mass,
|
||||
G4double width, G4double charge,
|
||||
G4int iSpin, G4int iParity,
|
||||
G4int iConjugation, G4int iIsospin,
|
||||
G4int iIsospin3, G4int gParity,
|
||||
const G4String& pType, G4int lepton,
|
||||
G4int baryon, G4int encoding,
|
||||
G4bool stable, G4double lifetime,
|
||||
G4DecayTable *decaytable
|
||||
);
|
||||
G4DiQuarks* DiQuarksDefinition(){return this;};
|
||||
G4DiQuarks* DiQuarks(){return this;};
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,83 @@
|
||||
// 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: G4ExcitedBaryonConstructor.hh,v 1.1 1998/10/13 12:15:10 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-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 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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
// 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: G4ExcitedBaryons.hh,v 2.1 1998/07/13 17:19:02 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
//
|
||||
// For information related to this code contact:
|
||||
// CERN, CN Division, ASD group
|
||||
// History: first implementation, based on object model of
|
||||
// Hisaya Kurashige, 27 June 1998
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
|
||||
#ifndef G4ExcitedBaryons_h
|
||||
#define G4ExcitedBaryons_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4VShortLivedParticle.hh"
|
||||
|
||||
// ######################################################################
|
||||
// ### ExcitedBaryons ###
|
||||
// ######################################################################
|
||||
|
||||
class G4ExcitedBaryons : public G4VShortLivedParticle
|
||||
{
|
||||
public:
|
||||
G4ExcitedBaryons(
|
||||
const G4String& aName, G4double mass,
|
||||
G4double width, G4double charge,
|
||||
G4int iSpin, G4int iParity,
|
||||
G4int iConjugation, G4int iIsospin,
|
||||
G4int iIsospin3, G4int gParity,
|
||||
const G4String& pType, G4int lepton,
|
||||
G4int baryon, G4int encoding,
|
||||
G4bool stable, G4double lifetime,
|
||||
G4DecayTable *decaytable
|
||||
);
|
||||
G4ExcitedBaryons* ExcitedBaryonsDefinition(){return this;};
|
||||
G4ExcitedBaryons* ExcitedBaryons(){return this;};
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,179 @@
|
||||
// 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: G4ExcitedDeltaConstructor.hh,v 1.3 1998/11/25 14:02:08 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-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 G4ExcitedDeltaConstructor_h
|
||||
#define G4ExcitedDeltaConstructor_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4ExcitedBaryonConstructor.hh"
|
||||
|
||||
class G4ExcitedDeltaConstructor: public G4ExcitedBaryonConstructor
|
||||
{
|
||||
//This class is a utility class for construction
|
||||
//short lived particles
|
||||
|
||||
public:
|
||||
G4ExcitedDeltaConstructor();
|
||||
virtual ~G4ExcitedDeltaConstructor();
|
||||
|
||||
protected:
|
||||
virtual G4int GetEncoding(G4int iIsoSpin3, G4int idxState);
|
||||
|
||||
protected:
|
||||
virtual G4bool Exist( G4int ){return true;}
|
||||
|
||||
virtual G4int GetQuarkContents(G4int, G4int);
|
||||
virtual G4String GetName(G4int iIso3, G4int iState);
|
||||
|
||||
virtual G4double GetMass(G4int iState);
|
||||
virtual G4double GetWidth(G4int iState);
|
||||
virtual G4int GetiSpin(G4int iState);
|
||||
virtual G4int GetiParity(G4int iState);
|
||||
virtual G4int GetEncodingOffset(G4int iState);
|
||||
|
||||
virtual G4DecayTable* CreateDecayTable(const G4String& name,
|
||||
G4int iIso3, G4int iState,
|
||||
G4bool fAnti = false);
|
||||
private:
|
||||
G4DecayTable* AddNGammaMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddNPiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddNRhoMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddDeltaPiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddNStarPiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
|
||||
public:
|
||||
enum { NStates = 9 };
|
||||
private:
|
||||
enum { DeltaIsoSpin = 3 };
|
||||
|
||||
private:
|
||||
static const G4String name[ NStates ];
|
||||
static const G4double mass[ NStates ];
|
||||
static const G4double width[ NStates ];
|
||||
static const G4int iSpin[ NStates ];
|
||||
static const G4int iParity[ NStates ];
|
||||
static const G4int encodingOffset[ NStates ];
|
||||
|
||||
public:
|
||||
enum { NumberOfDecayModes = 5};
|
||||
private:
|
||||
enum { NGamma=0, NPi=1, NRho=2, DeltaPi=3, NStarPi=4 };
|
||||
private:
|
||||
static const G4double bRatio[ NStates ][ NumberOfDecayModes];
|
||||
};
|
||||
|
||||
inline
|
||||
G4double G4ExcitedDeltaConstructor::GetMass(G4int iState)
|
||||
{
|
||||
return mass[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4ExcitedDeltaConstructor::GetWidth(G4int iState)
|
||||
{
|
||||
return width[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ExcitedDeltaConstructor::GetiSpin(G4int iState)
|
||||
{
|
||||
return iSpin[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ExcitedDeltaConstructor::GetiParity(G4int iState)
|
||||
{
|
||||
return iParity[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ExcitedDeltaConstructor::GetEncodingOffset(G4int iState)
|
||||
{
|
||||
return encodingOffset[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ExcitedDeltaConstructor::GetQuarkContents(G4int iQ, G4int iIso3)
|
||||
{
|
||||
// Quark contents
|
||||
// iIso3 = +3 : uuu
|
||||
// iIso3 = +1 : uud
|
||||
// iIso3 = -1 : udd
|
||||
// iIso3 = -3 : ddd
|
||||
G4int quark=0;
|
||||
if ( iQ == 0 ){
|
||||
if ( iIso3 == -3 ){
|
||||
// d-quark
|
||||
quark = 1;
|
||||
} else {
|
||||
// u-quark
|
||||
quark = 2;
|
||||
}
|
||||
} else if ( iQ == 2 ){
|
||||
if ( iIso3 == +3 ){
|
||||
// u-quark
|
||||
quark = 2;
|
||||
} else {
|
||||
// d-quark
|
||||
quark = 1;
|
||||
}
|
||||
} else {
|
||||
if (( iIso3 == -1 )||( iIso3 == -3 )) {
|
||||
// d-quark
|
||||
quark = 1;
|
||||
} else {
|
||||
// u-quark
|
||||
quark = 2;
|
||||
}
|
||||
}
|
||||
return quark;
|
||||
}
|
||||
|
||||
inline
|
||||
G4String G4ExcitedDeltaConstructor::GetName(G4int iIso3, G4int iState)
|
||||
{
|
||||
G4String particle = name[iState];
|
||||
if ( iIso3 == -3 ){
|
||||
particle += "-";
|
||||
} else if ( iIso3 == -1 ){
|
||||
particle += "0";
|
||||
} else if ( iIso3 == +1 ){
|
||||
particle += "+";
|
||||
} else {
|
||||
particle += "++";
|
||||
}
|
||||
return particle;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,152 @@
|
||||
// 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: G4ExcitedLambdaConstructor.hh,v 1.2 1998/11/08 12:14:19 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-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 G4ExcitedLambdaConstructor_h
|
||||
#define G4ExcitedLambdaConstructor_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4ExcitedBaryonConstructor.hh"
|
||||
|
||||
class G4ExcitedLambdaConstructor: public G4ExcitedBaryonConstructor
|
||||
{
|
||||
//This class is a utility class for construction
|
||||
//short lived particles
|
||||
|
||||
public:
|
||||
G4ExcitedLambdaConstructor();
|
||||
virtual ~G4ExcitedLambdaConstructor();
|
||||
|
||||
protected:
|
||||
virtual G4bool Exist( G4int ){return true;}
|
||||
|
||||
virtual G4int GetQuarkContents(G4int, G4int);
|
||||
virtual G4String GetName(G4int iIso3, G4int iState);
|
||||
|
||||
virtual G4double GetMass(G4int iState);
|
||||
virtual G4double GetWidth(G4int iState);
|
||||
virtual G4int GetiSpin(G4int iState);
|
||||
virtual G4int GetiParity(G4int iState);
|
||||
virtual G4int GetEncodingOffset(G4int iState);
|
||||
|
||||
virtual G4DecayTable* CreateDecayTable(const G4String& name,
|
||||
G4int iIso3, G4int iState,
|
||||
G4bool fAnti = false);
|
||||
private:
|
||||
G4DecayTable* AddNKMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddNKStarMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddSigmaPiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddSigmaStarPiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddLambdaGammaMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddLambdaEtaMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddLambdaOmegaMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
|
||||
public:
|
||||
enum { NStates = 12 };
|
||||
private:
|
||||
enum { LambdaIsoSpin = 0 };
|
||||
|
||||
private:
|
||||
static const G4String name[ NStates ];
|
||||
static const G4double mass[ NStates ];
|
||||
static const G4double width[ NStates ];
|
||||
static const G4int iSpin[ NStates ];
|
||||
static const G4int iParity[ NStates ];
|
||||
static const G4int encodingOffset[ NStates ];
|
||||
|
||||
public:
|
||||
enum { NumberOfDecayModes = 7 };
|
||||
private:
|
||||
enum { NK=0, NKStar=1, SigmaPi=2, SigmaStarPi=3, LambdaGamma=4,
|
||||
LambdaEta=5, LambdaOmega=6 };
|
||||
private:
|
||||
static const G4double bRatio[ NStates ][ NumberOfDecayModes];
|
||||
};
|
||||
|
||||
inline
|
||||
G4double G4ExcitedLambdaConstructor::GetMass(G4int iState)
|
||||
{
|
||||
return mass[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4ExcitedLambdaConstructor::GetWidth(G4int iState)
|
||||
{
|
||||
return width[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ExcitedLambdaConstructor::GetiSpin(G4int iState)
|
||||
{
|
||||
return iSpin[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ExcitedLambdaConstructor::GetiParity(G4int iState)
|
||||
{
|
||||
return iParity[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ExcitedLambdaConstructor::GetEncodingOffset(G4int iState)
|
||||
{
|
||||
return encodingOffset[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ExcitedLambdaConstructor::GetQuarkContents(G4int iQ, G4int iIso3)
|
||||
{
|
||||
G4int quark=0;
|
||||
if ( iQ == 0 ){
|
||||
// s-quark
|
||||
quark = 3;
|
||||
} else if ( iQ == 1 ){
|
||||
// u-quark
|
||||
quark = 2;
|
||||
} else if ( iQ == 2 ){
|
||||
// d-quark
|
||||
quark = 1;
|
||||
}
|
||||
return quark;
|
||||
}
|
||||
|
||||
inline
|
||||
G4String G4ExcitedLambdaConstructor::GetName(G4int iIso3, G4int iState)
|
||||
{
|
||||
G4String particle = name[iState];
|
||||
return particle;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,210 @@
|
||||
// This code plementation 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: G4ExcitedMesonConstructor.hh,v 1.2 1998/11/08 12:14:20 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-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 G4ExcitedMesonConstructor_h
|
||||
#define G4ExcitedMesonConstructor_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
class G4DecayTable;
|
||||
|
||||
class G4ExcitedMesonConstructor
|
||||
{
|
||||
//This class is a utility class for construction
|
||||
//short lived particles
|
||||
|
||||
public:
|
||||
G4ExcitedMesonConstructor(G4int nStates = 0, G4int isoSpin=0);
|
||||
virtual ~G4ExcitedMesonConstructor();
|
||||
|
||||
public:
|
||||
virtual void Construct(G4int indexOfState = -1);
|
||||
|
||||
protected:
|
||||
void ConstructMesons(G4int indexOfState, G4int indexOfType);
|
||||
|
||||
G4String GetName(G4int iIso3, G4int iState, G4int idxType);
|
||||
G4double GetCharge(G4int iIsoSpin3);
|
||||
G4int GetEncoding(G4int iIsoSpin3, G4int idxState, G4int idxType);
|
||||
G4int GetQuarkContents(G4int iQ, G4int iIso3, G4int iType);
|
||||
|
||||
public:
|
||||
enum { NMultiplets = 10 };
|
||||
protected:
|
||||
enum {
|
||||
N11P1 = 0, N13P0 = 1, N13P1 = 2, N13P2 = 3,
|
||||
N11D2 = 4, N13D1 = 5, N13D3 = 6,
|
||||
N21S0 = 7, N23S1 = 8, N23P2 = 9
|
||||
};
|
||||
|
||||
public:
|
||||
enum { NMesonTypes = 5 };
|
||||
protected:
|
||||
enum { TPi=0, TEta=1, TEtaPrime=2, TK=3, TAntiK=4 };
|
||||
|
||||
protected:
|
||||
const G4String type;
|
||||
const G4int leptonNumber;
|
||||
const G4int baryonNumber;
|
||||
|
||||
G4bool Exist(G4int idxState, G4int idxType);
|
||||
G4double GetCharge(G4int iIsoSpin3, G4int idxType);
|
||||
static const G4String name[ NMultiplets ][ NMesonTypes ];
|
||||
static const G4double mass[ NMultiplets ][ NMesonTypes ];
|
||||
static const G4double width[ NMultiplets ][ NMesonTypes ];
|
||||
static const G4int iIsoSpin[ NMesonTypes ];
|
||||
static const G4int iSpin[ NMultiplets ];
|
||||
static const G4int iParity[ NMultiplets ];
|
||||
static const G4int iGParity[ NMultiplets ][ NMesonTypes ];
|
||||
static const G4int iChargeConjugation[ NMultiplets ];
|
||||
static const G4int encodingOffset[ NMultiplets ];
|
||||
|
||||
public:
|
||||
enum { NumberOfDecayModes = 19 };
|
||||
protected:
|
||||
enum { MPiGamma = 0, MRhoGamma=1, M2Pi=2, MPiRho=3,
|
||||
M3Pi= 4, MPiEta=5, M4Pi=6, MKKStar=7,
|
||||
M2PiEta=8, MRhoEta=9, M2PiRho=10, M2PiOmega=11,
|
||||
M2Eta=12, M2K=13, M2KPi=14, MPiOmega=15,
|
||||
MPiF2=16, MPiF0=17, MPiA2=18 };
|
||||
enum { MKPi = 0, MKStarPi=1, MKRho=2, MKOmega=3,
|
||||
MKStar2Pi=4, MKTwoPi=5, MKEta=6};
|
||||
|
||||
|
||||
static const G4double bRatio[ NMultiplets ][ NMesonTypes ][ NumberOfDecayModes];
|
||||
|
||||
G4DecayTable* CreateDecayTable(const G4String&,
|
||||
G4int , G4int, G4int);
|
||||
|
||||
G4DecayTable* AddKPiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iType);
|
||||
G4DecayTable* AddKStarPiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iType);
|
||||
G4DecayTable* AddKStar2PiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iType);
|
||||
G4DecayTable* AddKRhoMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iType);
|
||||
G4DecayTable* AddKTwoPiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iType);
|
||||
G4DecayTable* AddKOmegaMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iType);
|
||||
G4DecayTable* AddKEtaMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iType);
|
||||
G4DecayTable* AddPiGammaMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3,G4int iIso);
|
||||
G4DecayTable* AddRhoGammaMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iIso);
|
||||
G4DecayTable* Add2PiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iIso);
|
||||
G4DecayTable* AddPiRhoMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iIso);
|
||||
G4DecayTable* AddPiEtaMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iIso);
|
||||
G4DecayTable* AddPiF2Mode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iIso);
|
||||
G4DecayTable* AddPiF0Mode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iIso);
|
||||
G4DecayTable* AddPiA2Mode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iIso);
|
||||
G4DecayTable* Add3PiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iIso);
|
||||
G4DecayTable* Add4PiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iIso);
|
||||
G4DecayTable* AddKKStarMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iIso);
|
||||
G4DecayTable* Add2PiEtaMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iIso);
|
||||
G4DecayTable* AddRhoEtaMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iIso);
|
||||
G4DecayTable* Add2PiRhoMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iIso);
|
||||
G4DecayTable* Add2PiOmegaMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iIso);
|
||||
G4DecayTable* AddPiOmegaMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iIso);
|
||||
G4DecayTable* Add2EtaMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iIso);
|
||||
G4DecayTable* Add2KMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iIso);
|
||||
G4DecayTable* Add2KPiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4int iIso);
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
inline
|
||||
G4String G4ExcitedMesonConstructor::GetName(G4int iIso3,
|
||||
G4int iState,
|
||||
G4int iType)
|
||||
{
|
||||
G4String particle = name[iState][iType];
|
||||
if (iType == TPi) {
|
||||
if ( iIso3 == +2 ){
|
||||
particle += "+";
|
||||
} else if ( iIso3 == -2 ){
|
||||
particle += "-";
|
||||
} else {
|
||||
particle += "0";
|
||||
}
|
||||
} else if (iType == TK) {
|
||||
if ( iIso3 == +1 ){
|
||||
particle += "+";
|
||||
} else if ( iIso3 == -1 ){
|
||||
particle += "0";
|
||||
}
|
||||
} else if (iType == TAntiK) {
|
||||
if ( iIso3 == +1 ){
|
||||
particle += "0";
|
||||
particle = "anti_" + particle;
|
||||
} else if ( iIso3 == -1 ){
|
||||
particle += "-";
|
||||
}
|
||||
}
|
||||
return particle;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
// 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: G4ExcitedMesons.hh,v 2.1 1998/07/13 17:19:03 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
//
|
||||
// For information related to this code contact:
|
||||
// CERN, CN Division, ASD group
|
||||
// History: first implementation, based on object model of
|
||||
// Hisaya Kurashige, 27 June 1998
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
|
||||
#ifndef G4ExcitedMesons_h
|
||||
#define G4ExcitedMesons_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4VShortLivedParticle.hh"
|
||||
|
||||
// ######################################################################
|
||||
// ### ExcitedMesons ###
|
||||
// ######################################################################
|
||||
|
||||
class G4ExcitedMesons : public G4VShortLivedParticle
|
||||
{
|
||||
public:
|
||||
G4ExcitedMesons(
|
||||
const G4String& aName, G4double mass,
|
||||
G4double width, G4double charge,
|
||||
G4int iSpin, G4int iParity,
|
||||
G4int iConjugation, G4int iIsospin,
|
||||
G4int iIsospin3, G4int gParity,
|
||||
const G4String& pType, G4int lepton,
|
||||
G4int baryon, G4int encoding,
|
||||
G4bool stable, G4double lifetime,
|
||||
G4DecayTable *decaytable
|
||||
);
|
||||
G4ExcitedMesons* ExcitedMesonsDefinition(){return this;};
|
||||
G4ExcitedMesons* ExcitedMesons(){return this;};
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,172 @@
|
||||
// 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: G4ExcitedNucleonConstructor.hh,v 1.4 1998/11/26 10:09:07 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-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 G4ExcitedNucleonConstructor_h
|
||||
#define G4ExcitedNucleonConstructor_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4ExcitedBaryonConstructor.hh"
|
||||
|
||||
class G4ExcitedNucleonConstructor: public G4ExcitedBaryonConstructor
|
||||
{
|
||||
//This class is a utility class for construction
|
||||
//short lived particles
|
||||
|
||||
public:
|
||||
G4ExcitedNucleonConstructor();
|
||||
virtual ~G4ExcitedNucleonConstructor();
|
||||
|
||||
protected:
|
||||
virtual G4int GetEncoding(G4int iIsoSpin3, G4int idxState);
|
||||
|
||||
protected:
|
||||
virtual G4bool Exist( G4int ){return true;}
|
||||
|
||||
virtual G4int GetQuarkContents(G4int, G4int);
|
||||
virtual G4String GetName(G4int iIso3, G4int iState);
|
||||
|
||||
virtual G4double GetMass(G4int iState);
|
||||
virtual G4double GetWidth(G4int iState);
|
||||
virtual G4int GetiSpin(G4int iState);
|
||||
virtual G4int GetiParity(G4int iState);
|
||||
virtual G4int GetEncodingOffset(G4int iState);
|
||||
|
||||
virtual G4DecayTable* CreateDecayTable(const G4String& name,
|
||||
G4int iIso3, G4int iState,
|
||||
G4bool fAnti = false);
|
||||
private:
|
||||
G4DecayTable* AddNGammaMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddNPiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddNEtaMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddNOmegaMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddNRhoMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddN2PiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddDeltaPiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddNStarPiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddLambdaKMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
|
||||
public:
|
||||
enum { NStates = 15 };
|
||||
private:
|
||||
enum { NucleonIsoSpin = 1 };
|
||||
|
||||
private:
|
||||
static const G4String name[ NStates ];
|
||||
static const G4double mass[ NStates ];
|
||||
static const G4double width[ NStates ];
|
||||
static const G4int iSpin[ NStates ];
|
||||
static const G4int iParity[ NStates ];
|
||||
static const G4int encodingOffset[ NStates ];
|
||||
|
||||
public:
|
||||
enum { NumberOfDecayModes = 9 };
|
||||
private:
|
||||
enum { NGamma=0, NPi=1, NEta=2, NOmega=3, NRho=4,
|
||||
N2Pi=5, DeltaPi=6, NStarPi=7, LambdaK = 8 };
|
||||
private:
|
||||
static const G4double bRatio[ NStates ][ NumberOfDecayModes];
|
||||
};
|
||||
|
||||
inline
|
||||
G4double G4ExcitedNucleonConstructor::GetMass(G4int iState)
|
||||
{
|
||||
return mass[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4ExcitedNucleonConstructor::GetWidth(G4int iState)
|
||||
{
|
||||
return width[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ExcitedNucleonConstructor::GetiSpin(G4int iState)
|
||||
{
|
||||
return iSpin[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ExcitedNucleonConstructor::GetiParity(G4int iState)
|
||||
{
|
||||
return iParity[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ExcitedNucleonConstructor::GetEncodingOffset(G4int iState)
|
||||
{
|
||||
return encodingOffset[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ExcitedNucleonConstructor::GetQuarkContents(G4int iQ, G4int iIso3)
|
||||
{
|
||||
// Quark contents
|
||||
// iIso3 = -1 : udd
|
||||
// iIso3 = +1 : uud
|
||||
G4int quark=0;
|
||||
if ( iQ == 0 ){
|
||||
// u-quark
|
||||
quark = 2;
|
||||
} else if ( iQ == 2 ){
|
||||
// d-quark
|
||||
quark = 1;
|
||||
} else {
|
||||
if ( iIso3 == -1 ){
|
||||
// d-quark
|
||||
quark = 1;
|
||||
} else {
|
||||
// u-quark
|
||||
quark = 2;
|
||||
}
|
||||
}
|
||||
return quark;
|
||||
}
|
||||
|
||||
inline
|
||||
G4String G4ExcitedNucleonConstructor::GetName(G4int iIso3, G4int iState)
|
||||
{
|
||||
G4String particle = name[iState];
|
||||
if ( iIso3 == -1 ){
|
||||
particle += "0";
|
||||
} else {
|
||||
particle += "+";
|
||||
}
|
||||
return particle;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,171 @@
|
||||
// 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: G4ExcitedSigmaConstructor.hh,v 1.2 1998/11/08 12:14:22 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-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 G4ExcitedSigmaConstructor_h
|
||||
#define G4ExcitedSigmaConstructor_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4ExcitedBaryonConstructor.hh"
|
||||
|
||||
class G4ExcitedSigmaConstructor: public G4ExcitedBaryonConstructor
|
||||
{
|
||||
//This class is a utility class for construction
|
||||
//short lived particles
|
||||
|
||||
public:
|
||||
G4ExcitedSigmaConstructor();
|
||||
virtual ~G4ExcitedSigmaConstructor();
|
||||
|
||||
protected:
|
||||
virtual G4bool Exist( G4int ){return true;}
|
||||
|
||||
virtual G4int GetQuarkContents(G4int, G4int);
|
||||
virtual G4String GetName(G4int iIso3, G4int iState);
|
||||
|
||||
virtual G4double GetMass(G4int iState);
|
||||
virtual G4double GetWidth(G4int iState);
|
||||
virtual G4int GetiSpin(G4int iState);
|
||||
virtual G4int GetiParity(G4int iState);
|
||||
virtual G4int GetEncodingOffset(G4int iState);
|
||||
|
||||
virtual G4DecayTable* CreateDecayTable(const G4String& name,
|
||||
G4int iIso3, G4int iState,
|
||||
G4bool fAnti = false);
|
||||
private:
|
||||
G4DecayTable* AddNKMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddNKStarMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddSigmaPiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddSigmaStarPiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddLambdaPiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddSigmaEtaMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddLambdaStarPiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddDeltaKMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
|
||||
public:
|
||||
enum { NStates = 8 };
|
||||
private:
|
||||
enum { SigmaIsoSpin = 2 };
|
||||
|
||||
private:
|
||||
static const G4String name[ NStates ];
|
||||
static const G4double mass[ NStates ];
|
||||
static const G4double width[ NStates ];
|
||||
static const G4int iSpin[ NStates ];
|
||||
static const G4int iParity[ NStates ];
|
||||
static const G4int encodingOffset[ NStates ];
|
||||
|
||||
public:
|
||||
enum { NumberOfDecayModes = 8 };
|
||||
private:
|
||||
enum { NK=0, NKStar=1, SigmaPi=2, SigmaStarPi=3, LambdaPi=4,
|
||||
SigmaEta=5, LambdaStarPi=6, DeltaK=7};
|
||||
private:
|
||||
static const G4double bRatio[ NStates ][ NumberOfDecayModes];
|
||||
};
|
||||
|
||||
inline
|
||||
G4double G4ExcitedSigmaConstructor::GetMass(G4int iState)
|
||||
{
|
||||
return mass[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4ExcitedSigmaConstructor::GetWidth(G4int iState)
|
||||
{
|
||||
return width[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ExcitedSigmaConstructor::GetiSpin(G4int iState)
|
||||
{
|
||||
return iSpin[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ExcitedSigmaConstructor::GetiParity(G4int iState)
|
||||
{
|
||||
return iParity[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ExcitedSigmaConstructor::GetEncodingOffset(G4int iState)
|
||||
{
|
||||
return encodingOffset[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ExcitedSigmaConstructor::GetQuarkContents(G4int iQ, G4int iIso3)
|
||||
{
|
||||
G4int quark=0;
|
||||
if ( iQ == 0 ){
|
||||
// s-quark
|
||||
quark = 3;
|
||||
} else if ( iQ == 1 ){
|
||||
if (iIso3 == -2) {
|
||||
// d-quark
|
||||
quark = 1;
|
||||
} else {
|
||||
// u-quark
|
||||
quark = 2;
|
||||
}
|
||||
} else if ( iQ == 2 ){
|
||||
if (iIso3 == +2) {
|
||||
// u-quark
|
||||
quark = 2;
|
||||
} else {
|
||||
// d-quark
|
||||
quark = 1;
|
||||
}
|
||||
}
|
||||
return quark;
|
||||
}
|
||||
|
||||
inline
|
||||
G4String G4ExcitedSigmaConstructor::GetName(G4int iIso3, G4int iState)
|
||||
{
|
||||
G4String particle = name[iState];
|
||||
if (iIso3 == +2) {
|
||||
particle += "+";
|
||||
} else if (iIso3 == 0) {
|
||||
particle += "0";
|
||||
} else if (iIso3 == -2) {
|
||||
particle += "-";
|
||||
}
|
||||
return particle;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,155 @@
|
||||
// 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: G4ExcitedXiConstructor.hh,v 1.2 1998/11/08 12:14:23 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-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 G4ExcitedXiConstructor_h
|
||||
#define G4ExcitedXiConstructor_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4ExcitedBaryonConstructor.hh"
|
||||
|
||||
class G4ExcitedXiConstructor: public G4ExcitedBaryonConstructor
|
||||
{
|
||||
//This class is a utility class for construction
|
||||
//short lived particles
|
||||
|
||||
public:
|
||||
G4ExcitedXiConstructor();
|
||||
virtual ~G4ExcitedXiConstructor();
|
||||
|
||||
protected:
|
||||
virtual G4bool Exist( G4int ){return true;}
|
||||
|
||||
virtual G4int GetQuarkContents(G4int, G4int);
|
||||
virtual G4String GetName(G4int iIso3, G4int iState);
|
||||
|
||||
virtual G4double GetMass(G4int iState);
|
||||
virtual G4double GetWidth(G4int iState);
|
||||
virtual G4int GetiSpin(G4int iState);
|
||||
virtual G4int GetiParity(G4int iState);
|
||||
virtual G4int GetEncodingOffset(G4int iState);
|
||||
|
||||
virtual G4DecayTable* CreateDecayTable(const G4String& name,
|
||||
G4int iIso3, G4int iState,
|
||||
G4bool fAnti = false);
|
||||
private:
|
||||
G4DecayTable* AddXiPiMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddXiGammaMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddLambdaKMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
G4DecayTable* AddSigmaKMode( G4DecayTable* table, const G4String& name,
|
||||
G4double br, G4int iIso3, G4bool fAnti);
|
||||
|
||||
public:
|
||||
enum { NStates = 5 };
|
||||
private:
|
||||
enum { XiIsoSpin = 1 };
|
||||
|
||||
private:
|
||||
static const G4String name[ NStates ];
|
||||
static const G4double mass[ NStates ];
|
||||
static const G4double width[ NStates ];
|
||||
static const G4int iSpin[ NStates ];
|
||||
static const G4int iParity[ NStates ];
|
||||
static const G4int encodingOffset[ NStates ];
|
||||
|
||||
public:
|
||||
enum { NumberOfDecayModes = 4 };
|
||||
private:
|
||||
enum { XiPi=0, XiGamma=1, LambdaK=2, SigmaK=3 };
|
||||
private:
|
||||
static const G4double bRatio[ NStates ][ NumberOfDecayModes];
|
||||
};
|
||||
|
||||
inline
|
||||
G4double G4ExcitedXiConstructor::GetMass(G4int iState)
|
||||
{
|
||||
return mass[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4ExcitedXiConstructor::GetWidth(G4int iState)
|
||||
{
|
||||
return width[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ExcitedXiConstructor::GetiSpin(G4int iState)
|
||||
{
|
||||
return iSpin[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ExcitedXiConstructor::GetiParity(G4int iState)
|
||||
{
|
||||
return iParity[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ExcitedXiConstructor::GetEncodingOffset(G4int iState)
|
||||
{
|
||||
return encodingOffset[iState];
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ExcitedXiConstructor::GetQuarkContents(G4int iQ, G4int iIso3)
|
||||
{
|
||||
G4int quark=0;
|
||||
if ( iQ == 0 ){
|
||||
// s-quark
|
||||
quark = 3;
|
||||
} else if ( iQ == 1 ){
|
||||
// s-quark
|
||||
quark = 3;
|
||||
} else if ( iQ == 2 ){
|
||||
if (iIso3 == +1) {
|
||||
// u-quark
|
||||
quark = 2;
|
||||
} else {
|
||||
// d-quark
|
||||
quark = 1;
|
||||
}
|
||||
}
|
||||
return quark;
|
||||
}
|
||||
|
||||
inline
|
||||
G4String G4ExcitedXiConstructor::GetName(G4int iIso3, G4int iState)
|
||||
{
|
||||
G4String particle = name[iState];
|
||||
if (iIso3 == +1) {
|
||||
particle += "0";
|
||||
} else if (iIso3 ==-1) {
|
||||
particle += "-";
|
||||
}
|
||||
return particle;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
// 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: G4Gluons.hh,v 2.1 1998/07/13 17:19:05 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
//
|
||||
// For information related to this code contact:
|
||||
// CERN, CN Division, ASD group
|
||||
// History: first implementation, based on object model of
|
||||
// Hisaya Kurashige, 27 June 1998
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
|
||||
#ifndef G4Gluons_h
|
||||
#define G4Gluons_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4VShortLivedParticle.hh"
|
||||
|
||||
// ######################################################################
|
||||
// ### Gluons ###
|
||||
// ######################################################################
|
||||
|
||||
class G4Gluons : public G4VShortLivedParticle
|
||||
{
|
||||
public:
|
||||
G4Gluons(
|
||||
const G4String& aName, G4double mass,
|
||||
G4double width, G4double charge,
|
||||
G4int iSpin, G4int iParity,
|
||||
G4int iConjugation, G4int iIsospin,
|
||||
G4int iIsospin3, G4int gParity,
|
||||
const G4String& pType, G4int lepton,
|
||||
G4int baryon, G4int encoding,
|
||||
G4bool stable, G4double lifetime,
|
||||
G4DecayTable *decaytable
|
||||
);
|
||||
G4Gluons* GluonsDefinition(){return this;};
|
||||
G4Gluons* Gluons(){return this;};
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
// 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: G4Quarks.hh,v 2.1 1998/07/13 17:19:07 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
//
|
||||
// For information related to this code contact:
|
||||
// CERN, CN Division, ASD group
|
||||
// History: first implementation, based on object model of
|
||||
// Hisaya Kurashige, 27 June 1998
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
|
||||
#ifndef G4Quarks_h
|
||||
#define G4Quarks_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4VShortLivedParticle.hh"
|
||||
|
||||
// ######################################################################
|
||||
// ### Quarks ###
|
||||
// ######################################################################
|
||||
|
||||
class G4Quarks : public G4VShortLivedParticle
|
||||
{
|
||||
public:
|
||||
G4Quarks(
|
||||
const G4String& aName, G4double mass,
|
||||
G4double width, G4double charge,
|
||||
G4int iSpin, G4int iParity,
|
||||
G4int iConjugation, G4int iIsospin,
|
||||
G4int iIsospin3, G4int gParity,
|
||||
const G4String& pType, G4int lepton,
|
||||
G4int baryon, G4int encoding,
|
||||
G4bool stable, G4double lifetime,
|
||||
G4DecayTable *decaytable
|
||||
);
|
||||
G4Quarks* QuarksDefinition(){return this;};
|
||||
G4Quarks* Quarks(){return this;};
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
// 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: G4ShortLivedConstructor.hh,v 2.2 1998/12/02 09:57:56 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
// GEANT 4 class implementation file
|
||||
//
|
||||
#ifndef G4ShortLivedConstructor_h
|
||||
#define G4ShortLivedConstructor_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
|
||||
class G4ShortLivedConstructor
|
||||
{
|
||||
//This class is a utility class for construction
|
||||
//short lived particles
|
||||
|
||||
public:
|
||||
G4ShortLivedConstructor();
|
||||
~G4ShortLivedConstructor();
|
||||
|
||||
public:
|
||||
void ConstructParticle();
|
||||
|
||||
protected:
|
||||
void ConstructResonances();
|
||||
void ConstructBarions();
|
||||
void ConstructMesons();
|
||||
void ConstructQuarks();
|
||||
|
||||
private:
|
||||
static G4bool isConstructed;
|
||||
// flag for checking whether resonces exist or not
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
// 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: G4VShortLivedParticle.hh,v 2.1 1998/07/13 17:19:10 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
//
|
||||
// For information related to this code contact:
|
||||
// CERN, CN Division, ASD group
|
||||
// History: first implementation, based on object model of
|
||||
// Hisaya Kurashige, 27 June 1998
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
#ifndef G4VShortLivedParticle_h
|
||||
#define G4VShortLivedParticle_h 1
|
||||
|
||||
#include "G4ios.hh"
|
||||
#include "globals.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
|
||||
class G4VShortLivedParticle : public G4ParticleDefinition
|
||||
{
|
||||
// A virtual class for short lived particles.
|
||||
// ShortLivedParticle particles will not be tracked by the TrackingManager
|
||||
// So, G4VShortLivedParticle is not derived from G4ParticleWIthCuts
|
||||
private:
|
||||
|
||||
const G4VShortLivedParticle & operator=(const G4VShortLivedParticle &right);
|
||||
|
||||
public:
|
||||
|
||||
G4VShortLivedParticle(const G4String& aName,
|
||||
G4double mass,
|
||||
G4double width,
|
||||
G4double charge,
|
||||
G4int iSpin,
|
||||
G4int iParity,
|
||||
G4int iConjugation,
|
||||
G4int iIsospin,
|
||||
G4int iIsospinZ,
|
||||
G4int gParity,
|
||||
const G4String& pType,
|
||||
G4int lepton,
|
||||
G4int baryon,
|
||||
G4int encoding,
|
||||
G4bool stable,
|
||||
G4double lifetime,
|
||||
G4DecayTable *decaytable);
|
||||
|
||||
virtual ~G4VShortLivedParticle() {};
|
||||
|
||||
G4int operator==(const G4VShortLivedParticle &right) const;
|
||||
G4int operator!=(const G4VShortLivedParticle &right) const;
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user