Geant4  10.02
G4LEPTSElossDistr Class Reference

#include <G4LEPTSElossDistr.hh>

+ Collaboration diagram for G4LEPTSElossDistr:

Public Member Functions

 G4LEPTSElossDistr (std::string)
 
void ReadFile ()
 
G4double Sample (G4double, G4double)
 
G4bool IsFileFound () const
 

Private Attributes

mdmddist theDistributions
 
G4int theNDistributions
 
std::string fileName
 
int NoBins
 
G4bool bFileFound
 

Detailed Description

Definition at line 42 of file G4LEPTSElossDistr.hh.

Constructor & Destructor Documentation

G4LEPTSElossDistr::G4LEPTSElossDistr ( std::string  file)

Definition at line 30 of file G4LEPTSElossDistr.cc.

References fileName, and ReadFile().

+ Here is the call graph for this function:

Member Function Documentation

G4bool G4LEPTSElossDistr::IsFileFound ( ) const
inline

Definition at line 50 of file G4LEPTSElossDistr.hh.

References bFileFound.

void G4LEPTSElossDistr::ReadFile ( )

Definition at line 37 of file G4LEPTSElossDistr.cc.

References bFileFound, FatalException, fileName, G4Exception(), NoBins, G4LEPTSDistribution::ReadFile(), theDistributions, and theNDistributions.

Referenced by G4LEPTSElossDistr().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4LEPTSElossDistr::Sample ( G4double  eMin,
G4double  eMax 
)

Definition at line 85 of file G4LEPTSElossDistr.cc.

References G4LEPTSDistribution::Sample(), second, theDistributions, and theNDistributions.

+ Here is the call graph for this function:

Member Data Documentation

G4bool G4LEPTSElossDistr::bFileFound
private

Definition at line 60 of file G4LEPTSElossDistr.hh.

Referenced by IsFileFound(), and ReadFile().

std::string G4LEPTSElossDistr::fileName
private

Definition at line 57 of file G4LEPTSElossDistr.hh.

Referenced by G4LEPTSElossDistr(), and ReadFile().

int G4LEPTSElossDistr::NoBins
private

Definition at line 58 of file G4LEPTSElossDistr.hh.

Referenced by ReadFile().

mdmddist G4LEPTSElossDistr::theDistributions
private

Definition at line 55 of file G4LEPTSElossDistr.hh.

Referenced by ReadFile(), and Sample().

G4int G4LEPTSElossDistr::theNDistributions
private

Definition at line 56 of file G4LEPTSElossDistr.hh.

Referenced by ReadFile(), and Sample().


The documentation for this class was generated from the following files: