Jpp 19.3.0-rc.2
the software that should make you happy
Loading...
Searching...
No Matches
rec_stages_range Struct Reference

Range of reconstruction stages. More...

#include <reconstruction.hh>

Public Member Functions

 rec_stages_range ()
 Defaut constructor.
 
 rec_stages_range (const int lower, const int upper)
 Constructor.
 
 rec_stages_range (const int stage)
 Constructor.
 
bool operator() (const int stage) const
 Test if given reconstruction stage is within range.
 

Public Attributes

int lower
 
int upper
 

Detailed Description

Range of reconstruction stages.

Definition at line 26 of file tools/reconstruction.hh.

Constructor & Destructor Documentation

◆ rec_stages_range() [1/3]

rec_stages_range::rec_stages_range ( )
inline

Defaut constructor.

Definition at line 30 of file tools/reconstruction.hh.

30 :
31 lower(0),
32 upper(std::numeric_limits<int>::max())
33 {}

◆ rec_stages_range() [2/3]

rec_stages_range::rec_stages_range ( const int lower,
const int upper )
inline

Constructor.

Parameters
lowerlower reconstruction stage
upperupper reconstruction stage

Definition at line 42 of file tools/reconstruction.hh.

42 :
43 lower(lower),
45 {}

◆ rec_stages_range() [3/3]

rec_stages_range::rec_stages_range ( const int stage)
inline

Constructor.

Parameters
stagereconstruction stage

Definition at line 53 of file tools/reconstruction.hh.

53 :
54 lower(stage),
55 upper(stage)
56 {}

Member Function Documentation

◆ operator()()

bool rec_stages_range::operator() ( const int stage) const
inline

Test if given reconstruction stage is within range.

Parameters
stagereconstruction stage
Returns
true if within range; else false

Definition at line 65 of file tools/reconstruction.hh.

66 {
67 return (stage >= lower && stage <= upper);
68 }

Member Data Documentation

◆ lower

int rec_stages_range::lower

Definition at line 70 of file tools/reconstruction.hh.

◆ upper

int rec_stages_range::upper

Definition at line 71 of file tools/reconstruction.hh.


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