ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4DNARevertProbability Class Reference

#include <geant4/tree/geant4-10.6-release/source/processes/electromagnetic/dna/utils/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.

View newest version in sPHENIX GitHub at line 43 of file G4DNARevertProbability.hh

Constructor & Destructor Documentation

G4DNARevertProbability::G4DNARevertProbability ( double  toleranceY)
inline

Definition at line 53 of file G4DNARevertProbability.hh.

View newest version in sPHENIX GitHub at line 53 of file G4DNARevertProbability.hh

References fIncreasingCumulativeFunction, fXmax, fXmaxDef, fXmin, and fXminDef.

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

Definition at line 63 of file G4DNARevertProbability.hh.

View newest version in sPHENIX GitHub at line 63 of file G4DNARevertProbability.hh

References fIncreasingCumulativeFunction, fXmax, fXmaxDef, fXmin, fXminDef, and tmp.

Member Function Documentation

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

Definition at line 104 of file G4DNARevertProbability.hh.

View newest version in sPHENIX GitHub at line 104 of file G4DNARevertProbability.hh

References fIncreasingCumulativeFunction, fToleranceProba, fXmax, 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.

View newest version in sPHENIX GitHub at line 78 of file G4DNARevertProbability.hh

References fXmax, fXmaxDef, fXmin, 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.

View newest version in sPHENIX GitHub at line 168 of file G4DNARevertProbability.hh

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

+ Here is the call graph for this function:

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

Definition at line 84 of file G4DNARevertProbability.hh.

View newest version in sPHENIX GitHub at line 84 of file G4DNARevertProbability.hh

References fXmax, fXmaxDef, fXmin, fXminDef, tmp, xmax, and xmin.

void G4DNARevertProbability::SetTolerance ( double  toleranceY)
inline

Definition at line 99 of file G4DNARevertProbability.hh.

View newest version in sPHENIX GitHub at line 99 of file G4DNARevertProbability.hh

References fToleranceProba.

Member Data Documentation

double G4DNARevertProbability::fIncreasingCumulativeFunction

Definition at line 51 of file G4DNARevertProbability.hh.

View newest version in sPHENIX GitHub at line 51 of file G4DNARevertProbability.hh

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

double G4DNARevertProbability::fToleranceProba

Definition at line 50 of file G4DNARevertProbability.hh.

View newest version in sPHENIX GitHub at line 50 of file G4DNARevertProbability.hh

Referenced by Propose(), and SetTolerance().

double G4DNARevertProbability::fXmax

Definition at line 46 of file G4DNARevertProbability.hh.

View newest version in sPHENIX GitHub at line 46 of file G4DNARevertProbability.hh

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

double G4DNARevertProbability::fXmaxDef

Definition at line 48 of file G4DNARevertProbability.hh.

View newest version in sPHENIX GitHub at line 48 of file G4DNARevertProbability.hh

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

double G4DNARevertProbability::fXmin

Definition at line 47 of file G4DNARevertProbability.hh.

View newest version in sPHENIX GitHub at line 47 of file G4DNARevertProbability.hh

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

double G4DNARevertProbability::fXminDef

Definition at line 49 of file G4DNARevertProbability.hh.

View newest version in sPHENIX GitHub at line 49 of file G4DNARevertProbability.hh

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


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