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

update processes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/electromagnetic/utils/include/G4EmModelManager.hh

    r819 r961  
    2424// ********************************************************************
    2525//
    26 // $Id: G4EmModelManager.hh,v 1.22 2007/11/09 11:35:54 vnivanch Exp $
    27 // GEANT4 tag $Name: $
     26// $Id: G4EmModelManager.hh,v 1.25 2008/10/13 14:56:56 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2828//
    2929// -------------------------------------------------------------------
     
    7474#include "G4DataVector.hh"
    7575#include "G4EmTableType.hh"
     76#include "G4EmProcessSubType.hh"
     77#include "G4Region.hh"
    7678
    7779class G4RegionModels
     
    8486private:
    8587
    86   G4RegionModels(G4int nMod, std::vector<G4int>& list, G4DataVector& lowE);
     88  G4RegionModels(G4int nMod, std::vector<G4int>& indx,
     89                 G4DataVector& lowE, const G4Region* reg);
    8790
    8891  ~G4RegionModels();
     
    105108  };
    106109
     110  G4double LowEdgeEnergy(G4int n) const {
     111    return lowKineticEnergy[n];
     112  };
     113
     114  const G4Region* Region() const {
     115    return theRegion;
     116  };
     117
     118  const G4Region*    theRegion;
    107119  G4int              nModelsForRegion;
    108120  G4int*             theListOfModelIndexes;
     
    150162  G4VEmModel* SelectModel(G4double& energy, size_t& index);
    151163
    152   G4VEmModel* GetModel(G4int);
     164  G4VEmModel* GetModel(G4int, G4bool ver = false);
    153165
    154166  G4int NumberOfModels() const;
     
    157169 
    158170  void UpdateEmModel(const G4String&, G4double, G4double);
     171
     172  void DumpModelList(G4int verb);
    159173
    160174private:
     
    176190  std::vector<const G4Region*>            regions;
    177191  std::vector<G4int>                      orderOfModels;
    178   G4DataVector                            upperEkin;
    179192
    180193  G4int                       nEmModels;
Note: See TracChangeset for help on using the changeset viewer.