Ignore:
Timestamp:
Jun 18, 2010, 11:42:07 AM (14 years ago)
Author:
garnier
Message:

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/cross_sections/src/G4NeutronElasticXS.cc

    r1228 r1315  
    2424// ********************************************************************
    2525//
    26 // $Id: G4NeutronElasticXS.cc,v 1.3 2009/11/19 12:01:54 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03 $
     26// $Id: G4NeutronElasticXS.cc,v 1.4 2010/06/03 11:50:21 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-04-beta-cand-01 $
    2828//
    2929// -------------------------------------------------------------------
     
    140140  // check environment variable
    141141  // Build the complete string identifying the file with the data set
    142   char* path = getenv("G4NEUTRONXS");
     142  char* path = getenv("G4NEUTRONXSDATA");
    143143  if (!path){
    144     G4cout << "G4NEUTRONXS environment variable not set" << G4endl;
     144    G4cout << "G4NEUTRONXSDATA environment variable not set" << G4endl;
    145145  }
    146146
     
    178178  // check environment variable
    179179  // Build the complete string identifying the file with the data set
    180     path = getenv("G4NEUTRONXS");
     180    path = getenv("G4NEUTRONXSDATA");
    181181    if (!path) {
    182182      if(verboseLevel > 1) {
    183         G4cout << "G4NEUTRONXS environment variable not set" << G4endl;
     183        G4cout << "G4NEUTRONXSDATA environment variable not set" << G4endl;
    184184      }
    185185      return;
     
    217217    ggXsection->GetCrossSection(dynParticle, Elem);
    218218    G4double sig2 = ggXsection->GetElasticGlauberGribovXsc();
    219     if(sig2 > 0.) coeff[Z] = sig1/sig2;
     219    if(sig2 > 0.) { coeff[Z] = sig1/sig2; }
    220220  }
    221   if(!dp) delete dynParticle;
    222 }
     221  if(!dp) { delete dynParticle; }
     222}
Note: See TracChangeset for help on using the changeset viewer.