00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 #define INCLXX_IN_GEANT4_MODE 1
00034
00035 #include "globals.hh"
00036
00037 #ifndef G4INCLClusterUtils_hh
00038 #define G4INCLClusterUtils_hh 1
00039
00040 #include "G4INCLParticle.hh"
00041 #include "G4INCLCluster.hh"
00042
00043 namespace G4INCL {
00044
00045 class ClusterUtils {
00046 public:
00047 static G4int getZ(const ParticleList &);
00048 static G4int getZ(const ParticleList &, Particle *);
00049 static G4int getA(const ParticleList &);
00050 static G4int getA(const ParticleList &, Particle *);
00051 static G4double getKineticEnergy(const ParticleList &pl);
00052 static G4double getTotalEnergy(const ParticleList &);
00053 static G4double getTotalEnergy(const ParticleList &, Particle *);
00054 static ThreeVector getNewPositionVector(const ParticleList &pl, Particle *p);
00055 static ThreeVector getNewPositionVector(const ParticleList &pl);
00056 static ThreeVector getNewPositionVector(const ThreeVector &,
00057 const ParticleList &,
00058 Particle *);
00059 static G4double getPhaseSpace(const ThreeVector &clusterPosition,
00060 const ThreeVector &clusterMomentum,
00061 G4int clusterA,
00062 Particle *p);
00063 static G4double getPhaseSpace(const ParticleList &);
00064 static G4double getPhaseSpace(const ParticleList &, Particle *);
00065 static G4bool isBetterCluster(ParticleList *newCluster, ParticleList *originalCluster);
00066
00067 protected:
00068 ClusterUtils();
00069 ~ClusterUtils();
00070
00071 };
00072
00073 }
00074
00075 #endif