ATLAS Offline Software
Functions
LArSCIdVsIdTest.cxx File Reference
#include "LArSCIdVsIdTest.h"
#include "CaloDetDescr/CaloDetDescrElement.h"
Include dependency graph for LArSCIdVsIdTest.cxx:

Go to the source code of this file.

Functions

bool inRange (const double *boundaries, const double value, const double tolerance=0.02)
 

Function Documentation

◆ inRange()

bool inRange ( const double *  boundaries,
const double  value,
const double  tolerance = 0.02 
)

Definition at line 5 of file LArSCIdVsIdTest.cxx.

5  {
6  return value >= boundaries[0] - tolerance && value <= boundaries[1] + tolerance;
7 }
tolerance
constexpr double tolerance
Definition: runMdtGeoComparison.cxx:104
athena.value
value
Definition: athena.py:124
tolerance
Definition: suep_shower.h:17