Belle II Software development
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.
 

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.

Constructor & Destructor Documentation

◆ SecIDPair()

SecIDPair ( )
inline

constructor - resets all values to outer = std::numeric_limits< unsigned>::max();

Definition at line 31 of file FilterValueDataSet.h.

31{ reset(); }
void reset()
sets all values to outer = std::numeric_limits< unsigned>::max();

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.

◆ reset()

void reset ( )
inline

sets all values to outer = std::numeric_limits< unsigned>::max();

Definition at line 34 of file FilterValueDataSet.h.

35 {
36 outer = std::numeric_limits<unsigned>::max();
37 inner = std::numeric_limits<unsigned>::max();
38 }

Member Data Documentation

◆ inner

unsigned inner

id of inner sector.

Definition at line 28 of file FilterValueDataSet.h.

◆ outer

unsigned outer

id of outer sector.

Definition at line 27 of file FilterValueDataSet.h.


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