Geant4  10.02.p02
G4DNARevertProbability Class Reference

#include <G4DNARevertProbability.hh>

Public Member Functions

 G4DNARevertProbability (double toleranceY)
 
 G4DNARevertProbability (double xmin, double xmax, double toleranceY)
 
void Reset ()
 
void SetBoundaries (double xmin, double xmax)
 
void SetTolerance (double toleranceY)
 
bool Propose (double proposedXValue, double proposedProba, double nextProba, double &returnedValue)
 
double Revert (double probaForSearchedTime, std::function< double(double)> &funct)
 

Public Attributes

double fXmax
 
double fXmin
 
double fXmaxDef
 
double fXminDef
 
double fToleranceProba
 
double fIncreasingCumulativeFunction
 

Detailed Description

Definition at line 43 of file G4DNARevertProbability.hh.

Constructor & Destructor Documentation

G4DNARevertProbability::G4DNARevertProbability ( double  toleranceY)
inline

Definition at line 53 of file G4DNARevertProbability.hh.

G4DNARevertProbability::G4DNARevertProbability ( double  xmin,
double  xmax,
double  toleranceY 
)
inline

Definition at line 63 of file G4DNARevertProbability.hh.

References fXmax, and fXmin.

Member Function Documentation

bool G4DNARevertProbability::Propose ( double  proposedXValue,
double  proposedProba,
double  nextProba,
double &  returnedValue 
)
inline

Definition at line 104 of file G4DNARevertProbability.hh.

References fXmaxDef, fXmin, and fXminDef.

Referenced by Revert().

+ Here is the caller graph for this function:

void G4DNARevertProbability::Reset ( )
inline

Definition at line 78 of file G4DNARevertProbability.hh.

References fXmaxDef, and fXminDef.

Referenced by Revert().

+ Here is the caller graph for this function:

double G4DNARevertProbability::Revert ( double  probaForSearchedTime,
std::function< double(double)> &  funct 
)
inline

Definition at line 168 of file G4DNARevertProbability.hh.

References fXmax, Propose(), Reset(), and x.

Referenced by G4DNAWaterDissociationDisplacer::G4DNAWaterDissociationDisplacer().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4DNARevertProbability::SetBoundaries ( double  xmin,
double  xmax 
)
inline

Definition at line 84 of file G4DNARevertProbability.hh.

References fXmax, and fXmin.

void G4DNARevertProbability::SetTolerance ( double  toleranceY)
inline

Definition at line 99 of file G4DNARevertProbability.hh.

Member Data Documentation

double G4DNARevertProbability::fIncreasingCumulativeFunction

Definition at line 51 of file G4DNARevertProbability.hh.

double G4DNARevertProbability::fToleranceProba

Definition at line 50 of file G4DNARevertProbability.hh.

double G4DNARevertProbability::fXmax

Definition at line 46 of file G4DNARevertProbability.hh.

Referenced by G4DNARevertProbability(), Revert(), and SetBoundaries().

double G4DNARevertProbability::fXmaxDef

Definition at line 48 of file G4DNARevertProbability.hh.

Referenced by Propose(), and Reset().

double G4DNARevertProbability::fXmin

Definition at line 47 of file G4DNARevertProbability.hh.

Referenced by G4DNARevertProbability(), Propose(), and SetBoundaries().

double G4DNARevertProbability::fXminDef

Definition at line 49 of file G4DNARevertProbability.hh.

Referenced by Propose(), and Reset().


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