Import Geant4 3.1.0 source tree
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4LPhysicsFreeVector.hh,v 1.2 1999/11/16 17:40:38 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-03-00 $
|
||||
// $Id: G4LPhysicsFreeVector.hh,v 1.6 2001/03/09 12:08:18 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-03-01 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------------
|
||||
@@ -27,6 +27,7 @@
|
||||
//
|
||||
// 27-MAR-97 FWJ: first version for Alpha release
|
||||
// 20-JUN-97 FWJ: added comment re GetValue(): no longer virtual
|
||||
// 11-NOV-00 H.Kurashige: use STL vector for dataVector and binVector
|
||||
//
|
||||
|
||||
#ifndef G4LPhysicsFreeVector_h
|
||||
@@ -36,19 +37,23 @@
|
||||
|
||||
class G4LPhysicsFreeVector : public G4PhysicsVector
|
||||
{
|
||||
public:
|
||||
|
||||
public:
|
||||
|
||||
G4LPhysicsFreeVector();
|
||||
|
||||
public: // with description
|
||||
|
||||
G4LPhysicsFreeVector(size_t nbin, G4double binmin, G4double binmax);
|
||||
|
||||
~G4LPhysicsFreeVector();
|
||||
|
||||
void PutValues(size_t binNumber, G4double binValue, G4double dataValue);
|
||||
// G4PhysicsVector has PutValue() but it is inconvenient.
|
||||
// Want to simultaneously fill the bin and data vectors.
|
||||
// G4PhysicsVector has PutValue() but it is inconvenient.
|
||||
// Want to simultaneously fill the bin and data vectors.
|
||||
|
||||
G4double GetValue(G4double theEnergy, G4bool& isOutRange);
|
||||
// Note that theEnergy could be energy, momentum, or whatever.
|
||||
// Note that theEnergy could be energy, momentum, or whatever.
|
||||
|
||||
void SetVerboseLevel(G4int value);
|
||||
|
||||
@@ -65,7 +70,7 @@ private:
|
||||
G4int verboseLevel;
|
||||
|
||||
size_t FindBinLocation(G4double theEnergy) const;
|
||||
// Pure virtual in G4PhysicsVector
|
||||
// Pure virtual in G4PhysicsVector
|
||||
};
|
||||
|
||||
#include "G4LPhysicsFreeVector.icc"
|
||||
|
||||
Reference in New Issue
Block a user