File indexing completed on 2025-01-18 09:59:07
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031 #ifndef G4StatMFChannel_h
0032 #define G4StatMFChannel_h 1
0033
0034 #include <deque>
0035 #include <vector>
0036
0037 #include "G4StatMFParameters.hh"
0038 #include "G4StatMFFragment.hh"
0039
0040
0041 class G4StatMFChannel {
0042
0043 public:
0044
0045 G4StatMFChannel();
0046
0047
0048 ~G4StatMFChannel();
0049
0050 private:
0051
0052
0053 G4StatMFChannel(const G4StatMFChannel & right);
0054
0055
0056 G4StatMFChannel & operator=(const G4StatMFChannel & right);
0057
0058 G4bool operator==(const G4StatMFChannel & right) const;
0059 G4bool operator!=(const G4StatMFChannel & right) const;
0060
0061 public:
0062
0063 void CreateFragment(G4int A, G4int Z);
0064
0065 inline size_t GetMultiplicity(void) { return _theFragments.size();}
0066
0067
0068 G4bool CheckFragments(void);
0069
0070 G4double GetFragmentsCoulombEnergy(void);
0071
0072 G4double GetFragmentsEnergy(G4double T) const;
0073
0074 G4FragmentVector * GetFragments(G4int anA, G4int anZ, G4double T);
0075
0076 private:
0077
0078
0079 void CoulombImpulse(G4int anA, G4int anZ, G4double T);
0080
0081 void PlaceFragments(G4int anA);
0082
0083 void SolveEqOfMotion(G4int anA, G4int anZ, G4double T);
0084
0085
0086
0087
0088 void FragmentsMomenta(G4int NF, G4int idx, G4double T);
0089
0090
0091 G4ThreeVector RotateMomentum(G4ThreeVector Pa, G4ThreeVector V,
0092 G4ThreeVector P);
0093
0094 private:
0095
0096 std::deque<G4StatMFFragment*> _theFragments;
0097 std::vector<G4ThreeVector> Pos;
0098 std::vector<G4ThreeVector> Vel;
0099 std::vector<G4ThreeVector> Accel;
0100
0101 G4int _NumOfNeutralFragments;
0102
0103 G4int _NumOfChargedFragments;
0104
0105 struct DeleteFragment
0106 {
0107 template<typename T>
0108 void operator()(const T* ptr) const
0109 {
0110 delete ptr;
0111 }
0112 };
0113
0114 };
0115
0116 #endif
0117
0118
0119
0120
0121
0122
0123