Changeset 1055 for trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4VQCrossSection.cc
- Timestamp:
- May 28, 2009, 4:26:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4VQCrossSection.cc
r1007 r1055 25 25 // 26 26 // 27 // $Id: G4VQCrossSection.cc,v 1.1 4 2007/11/15 09:36:43mkossov Exp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4VQCrossSection.cc,v 1.16 2009/03/09 15:41:17 mkossov Exp $ 28 // GEANT4 tag $Name: geant4-09-03-beta-cand-01 $ 29 29 // 30 30 // … … 38 38 // ******* DO NOT MAKE ANY CHANGE! With time it'll move back to photolepton...(M.K.) ****** 39 39 // **************************************************************************************** 40 // Short description: a basic class for all CHIPS reaction cross-sections. 41 // ----------------------------------------------------------------------- 40 42 41 43 //#define debug … … 96 98 { 97 99 #ifdef pdebug 98 G4cout<<"G4VQCrossSection::EquLinearFit: ***Called*** X="<<DX<<", N="<<N<<", X0="<<X0100 G4cout<<"G4VQCrossSection::EquLinearFit: ***Called*** X="<<X<<", N="<<N<<", X0="<<X0 99 101 <<", DX="<<DX<<G4endl; 100 G4cout<<"G4VQCrossSection::EquLinearFit: Y[0]="<<Y[0]<<", Y[N-1]="<<Y[N-1]<<G4endl; 102 G4cout<<"G4VQCrossSection::EquLinearFit: Y[0]="<<Y[0]<<", Y[N-1]="<<Y[N-1]<<G4endl; 103 //for(G4int i=1; i<N; i++)G4cout<<"-----G4VQCS::EquLinearFit: Y["<<i<<"]="<<Y[i]<<G4endl; 101 104 #endif 102 105 if(DX<=0. || N<2) … … 113 116 G4double yi=Y[j]; 114 117 G4double sigma=yi+(Y[j+1]-yi)*d; 118 #ifdef pdebug 119 G4cout<<"G4VQCrossSection::EquLinearFit: CS="<<sigma<<G4endl; 120 #endif 115 121 return sigma; 116 122 }
Note: See TracChangeset
for help on using the changeset viewer.