G4PhysicsLnVector


Directory: source/global/management/include
File Name: G4PhysicsLnVector.hh






Class Description :

  
  
      A physics vector which has values of energy-loss, cross-section, 
      and other physics values of a particle in matter in a given 
      range of the energy, momentum, etc. The scale of energy/momentum
      bins is natural logarithmic.
  
    History:
      27 Apr. 1999, M.G. Pia: Created, copying from G4PhysicsLogVector 
      11 Nov. 2000, H.Kurashige : Use STL vector for dataVector and binVector
      16 Aug. 2011  H.Kurashige : Move dBin, baseBin to the base class
  
  --------------------------------------------------------------------


Public members :

    G4PhysicsLnVector(G4double theEmin, G4double theEmax, size_t theNbin);
      // Because of logarithmic scale, note that 'theEmin' has to be 
      // greater than zero. No protection exists against this error.

    ~G4PhysicsLnVector();
      // Destructor.

    virtual G4bool Retrieve(std::ifstream& fIn, G4bool ascii);
      // To retrieve persistent data from file stream.

    virtual void ScaleVector(G4double factorE, G4double factorV);
      // Scale all values of the vector and second derivatives
      // by factorV, energies by vectorE.