Belle II Software development
SecIDTriplet Class Reference

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

#include <FilterValueDataSet.h>

Public Member Functions

 SecIDTriplet ()
 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 center
 id of center sector.
 
unsigned inner
 id of inner sector.
 

Detailed Description

allows to set outer, center and inner secID.

Definition at line 53 of file FilterValueDataSet.h.

Constructor & Destructor Documentation

◆ SecIDTriplet()

SecIDTriplet ( )
inline

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

Definition at line 60 of file FilterValueDataSet.h.

60{ 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 72 of file FilterValueDataSet.h.

73 {
74 return ((outer == std::numeric_limits<unsigned>::max())
75 or (center == std::numeric_limits<unsigned>::max())
76 or (inner == std::numeric_limits<unsigned>::max()))
77 ? false : true;
78 }
unsigned center
id of center sector.
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 63 of file FilterValueDataSet.h.

64 {
65 outer = std::numeric_limits<unsigned>::max();
66 center = std::numeric_limits<unsigned>::max();
67 inner = std::numeric_limits<unsigned>::max();
68 }

Member Data Documentation

◆ center

unsigned center

id of center sector.

Definition at line 56 of file FilterValueDataSet.h.

◆ inner

unsigned inner

id of inner sector.

Definition at line 57 of file FilterValueDataSet.h.

◆ outer

unsigned outer

id of outer sector.

Definition at line 55 of file FilterValueDataSet.h.


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