Changeset 962 for trunk/source/processes/hadronic/models/neutron_hp/include/G4NeutronHPFinalState.hh
- Timestamp:
- Apr 6, 2009, 12:30:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/neutron_hp/include/G4NeutronHPFinalState.hh
r819 r962 25 25 // 26 26 // 27 // $Id: G4NeutronHPFinalState.hh,v 1.13 2007/06/06 12:45:13 ahoward Exp $ 28 // GEANT4 tag $Name: $ 27 // $Id: G4NeutronHPFinalState.hh,v 1.15 2008/08/05 22:43:26 tkoi Exp $ 28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 // 30 // 080721 Create adjust_final_state method by T. Koi 31 // 080801 Introduce theNDLDataA,Z which has A and Z of NDL data by T. Koi 29 32 // 30 33 #ifndef G4NeutronHPFinalState_h … … 49 52 theBaseZ = 0; 50 53 theBaseA = 0; 54 55 theNDLDataZ = 0; 56 theNDLDataA = 0; 57 58 adjustResult = true; 59 if ( getenv( "G4NEUTRONHP_DO_NOT_ADJUST_FINAL_STATE" ) ) adjustResult = false; 60 51 61 }; 52 62 … … 58 68 throw G4HadronicException(__FILE__, __LINE__, "G4HadFinalState * ApplyYourself(const G4HadProjectile & theTrack) needs implementation"); 59 69 return 0; 60 } 70 }; 61 71 62 72 // of course this would better be Done templating G4NeutronHPChannel..., … … 65 75 virtual G4NeutronHPFinalState * New() = 0; 66 76 67 G4bool HasXsec() {return hasXsec;} 68 G4bool HasFSData() {return hasFSData;} 69 G4bool HasAnyData() {return hasAnyData;} 77 G4bool HasXsec() {return hasXsec;}; 78 G4bool HasFSData() {return hasFSData;}; 79 G4bool HasAnyData() {return hasAnyData;}; 70 80 71 virtual G4double GetXsec(G4double ) { return 0; } 72 virtual G4NeutronHPVector * GetXsec() { return 0; } 81 virtual G4double GetXsec(G4double ) { return 0; }; 82 virtual G4NeutronHPVector * GetXsec() { return 0; }; 73 83 74 void SetA_Z(G4double anA, G4double aZ) {theBaseA = anA; theBaseZ = aZ; } 75 G4double GetZ() { return theBaseZ; } 76 G4double GetN() { return theBaseA; } 84 void SetA_Z(G4double anA, G4double aZ) {theBaseA = anA; theBaseZ = aZ; }; 85 G4double GetZ() { return theBaseZ; }; 86 G4double GetN() { return theBaseA; }; 77 87 78 88 protected: … … 88 98 G4double theBaseZ; 89 99 90 private: 91 100 101 //080721 102 protected: 103 void adjust_final_state ( G4LorentzVector ); 104 G4int theNDLDataZ; 105 G4int theNDLDataA; 106 107 private: 108 G4bool adjustResult; 109 110 92 111 }; 93 112 #endif
Note: See TracChangeset
for help on using the changeset viewer.