Belle II Software  release-08-01-10
SecIDPair Class Reference

allows to set outer and inner secID. More...

#include <FilterValueDataSet.h>

Public Member Functions

 SecIDPair ()
 constructor - resets all values to outer = std::numeric_limits< unsigned>::max();
 
void reset ()
 sets all values to outer = std::numeric_limits< unsigned>::max();
 
bool isValid ()
 checks if any value is still not set and returns false if that is the case. More...
 

Public Attributes

unsigned outer
 id of outer sector.
 
unsigned inner
 id of inner sector.
 

Detailed Description

allows to set outer and inner secID.

Definition at line 25 of file FilterValueDataSet.h.

Member Function Documentation

◆ isValid()

bool isValid ( )
inline

checks if any value is still not set and returns false if that is the case.

(only completely set values in the dataSet are valid).

Definition at line 42 of file FilterValueDataSet.h.

43  {
44  return ((outer == std::numeric_limits<unsigned>::max())
45  or (inner == std::numeric_limits<unsigned>::max()))
46  ? false : true;
47  }
unsigned outer
id of outer sector.
unsigned inner
id of inner sector.

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