|
Lines 51-81
public:
Link Here
|
| 51 |
|
51 |
|
| 52 |
inline G4PhysicsVector * MakePhysicsVector(G4Element * thE, G4NeutronHPFissionData * theP) |
52 |
inline G4PhysicsVector * MakePhysicsVector(G4Element * thE, G4NeutronHPFissionData * theP) |
| 53 |
{ |
53 |
{ |
|
|
54 |
InitialiseTheData(); |
| 54 |
return DoPhysicsVector(theData[thE->GetIndex()].GetData(theP)); |
55 |
return DoPhysicsVector(theData[thE->GetIndex()].GetData(theP)); |
| 55 |
} |
56 |
} |
| 56 |
inline G4PhysicsVector * MakePhysicsVector(G4Element * thE, G4NeutronHPCaptureData * theP) |
57 |
inline G4PhysicsVector * MakePhysicsVector(G4Element * thE, G4NeutronHPCaptureData * theP) |
| 57 |
{ |
58 |
{ |
|
|
59 |
InitialiseTheData(); |
| 58 |
return DoPhysicsVector(theData[thE->GetIndex()].GetData(theP)); |
60 |
return DoPhysicsVector(theData[thE->GetIndex()].GetData(theP)); |
| 59 |
} |
61 |
} |
| 60 |
inline G4PhysicsVector * MakePhysicsVector(G4Element * thE, G4NeutronHPElasticData * theP) |
62 |
inline G4PhysicsVector * MakePhysicsVector(G4Element * thE, G4NeutronHPElasticData * theP) |
| 61 |
{ |
63 |
{ |
|
|
64 |
InitialiseTheData(); |
| 62 |
return DoPhysicsVector(theData[thE->GetIndex()].GetData(theP)); |
65 |
return DoPhysicsVector(theData[thE->GetIndex()].GetData(theP)); |
| 63 |
} |
66 |
} |
| 64 |
inline G4PhysicsVector * MakePhysicsVector(G4Element * thE, G4NeutronHPInelasticData * theP) |
67 |
inline G4PhysicsVector * MakePhysicsVector(G4Element * thE, G4NeutronHPInelasticData * theP) |
| 65 |
{ |
68 |
{ |
| 66 |
// G4cout << "entered G4NeutronHPData::MakePhysicsVector!!!"<<G4endl; |
69 |
// G4cout << "entered G4NeutronHPData::MakePhysicsVector(G4Element * thE, G4NeutronHPInelasticData * theP)!!!"<<G4endl; |
| 67 |
// G4cout << "thE->GetIndex()="<<thE->GetIndex()<<G4endl; |
70 |
// G4cout << "thE->GetIndex()="<<thE->GetIndex()<<G4endl; |
|
|
71 |
InitialiseTheData(); |
| 68 |
return DoPhysicsVector(theData[thE->GetIndex()].GetData(theP)); |
72 |
return DoPhysicsVector(theData[thE->GetIndex()].GetData(theP)); |
| 69 |
} |
73 |
} |
| 70 |
|
74 |
|
| 71 |
G4PhysicsVector * DoPhysicsVector(G4NeutronHPVector * theVector); |
75 |
G4PhysicsVector * DoPhysicsVector(G4NeutronHPVector * theVector); |
| 72 |
|
76 |
|
|
|
77 |
void InitialiseTheData(); |
| 78 |
|
| 73 |
static G4NeutronHPData * Instance(); |
79 |
static G4NeutronHPData * Instance(); |
| 74 |
|
80 |
|
| 75 |
private: |
81 |
private: |
| 76 |
|
82 |
|
| 77 |
G4NeutronHPElementData * theData; |
83 |
G4NeutronHPElementData * theData; |
| 78 |
G4int numEle; |
84 |
size_t numEle; |
| 79 |
|
85 |
|
| 80 |
}; |
86 |
}; |
| 81 |
|
87 |
|