ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
tolerance Class Reference

#include <suep_shower.h>

Collaboration diagram for tolerance:

Public Member Functions

 tolerance (double eps)
 
bool operator() (double a, double b)
 

Private Attributes

double m_eps
 

Detailed Description

Definition at line 17 of file suep_shower.h.

Constructor & Destructor Documentation

◆ tolerance()

tolerance::tolerance ( double  eps)
inline

Definition at line 19 of file suep_shower.h.

19  :
20  m_eps(eps) {
21  }

Member Function Documentation

◆ operator()()

bool tolerance::operator() ( double  a,
double  b 
)
inline

Definition at line 22 of file suep_shower.h.

22  {
23  return (std::abs(b - a) <= m_eps);
24  }

Member Data Documentation

◆ m_eps

double tolerance::m_eps
private

Definition at line 26 of file suep_shower.h.


The documentation for this class was generated from the following file:
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
a
TList * a
Definition: liststreamerinfos.cxx:10
tolerance::m_eps
double m_eps
Definition: suep_shower.h:26