ATLAS Offline Software
Loading...
Searching...
No Matches
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}