Belle II Software development
SecIDQuadruplet Class Reference

allows to set outer, outerCenter, innerCenter and inner secID. More...

#include <FilterValueDataSet.h>

Public Member Functions

 SecIDQuadruplet ()
 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 outerCenter
 id of outer-center sector.
 
unsigned innerCenter
 id of inner-center sector.
 
unsigned inner
 id of inner sector.
 

Detailed Description

allows to set outer, outerCenter, innerCenter and inner secID.

Definition at line 84 of file FilterValueDataSet.h.

Constructor & Destructor Documentation

◆ SecIDQuadruplet()

SecIDQuadruplet ( )
inline

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

Definition at line 92 of file FilterValueDataSet.h.

92{ 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 105 of file FilterValueDataSet.h.

106 {
107 return ((outer == std::numeric_limits<unsigned>::max())
108 or (outerCenter == std::numeric_limits<unsigned>::max())
109 or (innerCenter == std::numeric_limits<unsigned>::max())
110 or (inner == std::numeric_limits<unsigned>::max()))
111 ? false : true;
112 }
unsigned outer
id of outer sector.
unsigned innerCenter
id of inner-center sector.
unsigned outerCenter
id of outer-center sector.
unsigned inner
id of inner sector.

◆ reset()

void reset ( )
inline

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

Definition at line 95 of file FilterValueDataSet.h.

96 {
97 outer = std::numeric_limits<unsigned>::max();
98 outerCenter = std::numeric_limits<unsigned>::max();
99 innerCenter = std::numeric_limits<unsigned>::max();
100 inner = std::numeric_limits<unsigned>::max();
101 }

Member Data Documentation

◆ inner

unsigned inner

id of inner sector.

Definition at line 89 of file FilterValueDataSet.h.

◆ innerCenter

unsigned innerCenter

id of inner-center sector.

Definition at line 88 of file FilterValueDataSet.h.

◆ outer

unsigned outer

id of outer sector.

Definition at line 86 of file FilterValueDataSet.h.

◆ outerCenter

unsigned outerCenter

id of outer-center sector.

Definition at line 87 of file FilterValueDataSet.h.


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