Ignore:
Timestamp:
Apr 6, 2009, 12:30:29 PM (15 years ago)
Author:
garnier
Message:

update processes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/neutron_hp/include/G4NeutronHPFinalState.hh

    r819 r962  
    2525//
    2626//
    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
    2932//
    3033#ifndef G4NeutronHPFinalState_h
     
    4952    theBaseZ = 0;
    5053    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
    5161  };
    5262 
     
    5868    throw G4HadronicException(__FILE__, __LINE__, "G4HadFinalState * ApplyYourself(const G4HadProjectile & theTrack) needs implementation");
    5969    return 0;
    60   }
     70  };
    6171 
    6272  // of course this would better be Done templating G4NeutronHPChannel...,
     
    6575  virtual G4NeutronHPFinalState * New() = 0;
    6676 
    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;};
    7080 
    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; };
    7383 
    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; };
    7787 
    7888  protected:
     
    8898  G4double theBaseZ;
    8999
    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
    92111};
    93112#endif
Note: See TracChangeset for help on using the changeset viewer.