BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
ResultHistogram Class Reference

Result of comparing 2 histograms. More...

#include <ResultHistogram.hh>

Inheritance diagram for ResultHistogram:
Inheritance graph
Collaboration diagram for ResultHistogram:
Collaboration graph

Public Member Functions

virtual std::string print () const
 Print the result of the test - ie information store in the class.
 
- Public Member Functions inherited from Result
 Result (std::string nameIn, std::string objTypeIn)
 
virtual ~Result ()
 Virtual destructor.
 

Data Fields

double h1Entries
 
double h2Entries
 
int h1NXBins
 
int h2NXBins
 
double h1XMean
 
double h2XMean
 
double h1XRms
 
double h2XRms
 
double h1Integral
 
double h2Integral
 
double chi2
 
double tolerance
 
- Data Fields inherited from Result
std::string name
 Name of object being compared in files.
 
std::string objtype
 Name of class of object being compared in files.
 
bool passed
 Whether it passed or not.
 

Detailed Description

Result of comparing 2 histograms.

Author
Stewart Boogert.

Definition at line 34 of file ResultHistogram.hh.

Constructor & Destructor Documentation

◆ ~ResultHistogram()

virtual ResultHistogram::~ResultHistogram ( )
inlinevirtual

Definition at line 71 of file ResultHistogram.hh.

Member Function Documentation

◆ print()

virtual std::string ResultHistogram::print ( ) const
inlinevirtual

Print the result of the test - ie information store in the class.

Reimplemented from Result.

Reimplemented in ResultHistogram2D.

Definition at line 50 of file ResultHistogram.hh.

References Result::print().

Referenced by ResultHistogram2D::print().

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ chi2

double ResultHistogram::chi2

Definition at line 47 of file ResultHistogram.hh.

◆ h1Entries

double ResultHistogram::h1Entries

Definition at line 37 of file ResultHistogram.hh.

◆ h1Integral

double ResultHistogram::h1Integral

Definition at line 45 of file ResultHistogram.hh.

◆ h1NXBins

int ResultHistogram::h1NXBins

Definition at line 39 of file ResultHistogram.hh.

◆ h1XMean

double ResultHistogram::h1XMean

Definition at line 41 of file ResultHistogram.hh.

◆ h1XRms

double ResultHistogram::h1XRms

Definition at line 43 of file ResultHistogram.hh.

◆ h2Entries

double ResultHistogram::h2Entries

Definition at line 38 of file ResultHistogram.hh.

◆ h2Integral

double ResultHistogram::h2Integral

Definition at line 46 of file ResultHistogram.hh.

◆ h2NXBins

int ResultHistogram::h2NXBins

Definition at line 40 of file ResultHistogram.hh.

◆ h2XMean

double ResultHistogram::h2XMean

Definition at line 42 of file ResultHistogram.hh.

◆ h2XRms

double ResultHistogram::h2XRms

Definition at line 44 of file ResultHistogram.hh.

◆ tolerance

double ResultHistogram::tolerance

Definition at line 48 of file ResultHistogram.hh.


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