Belle II Software  release-05-02-19
Belle2::TrackFindingCDC::NIncDec Namespace Reference

Namespace hiding the constants of the enum. More...

Enumerations

enum  EIncDec : signed short {
  c_Increasing = 1,
  c_Constant = 0,
  c_Decreasing = -1,
  c_Invalid = SHRT_MIN
}
 Enumeration to represent the distinct possibilities of the right left passage information. More...
 

Functions

EIncDec reversed (EIncDec eIncDec)
 Return the reversed increasing decreasing indicator. Leaves EIncDec::c_Invalid the same.
 
bool isValid (EIncDec eIncDec)
 Check whether the given enum instance is one of the valid values.
 

Detailed Description

Namespace hiding the constants of the enum.

Enumeration Type Documentation

◆ EIncDec

enum EIncDec : signed short

Enumeration to represent the distinct possibilities of the right left passage information.

Enumerator
c_Increasing 

Constant for a variable that increases.

c_Constant 

Constant for a variable that is constant.

c_Decreasing 

Constant for a variable that decreases.

c_Invalid 

Constant for an invalid information.

Definition at line 35 of file EIncDec.h.

44  { return EIncDec(-eIncDec); }
45 
47  inline bool isValid(EIncDec eIncDec)
48  { return std::abs(eIncDec) <= 1; }
Belle2::TrackFindingCDC::NIncDec::EIncDec
EIncDec
Enumeration to represent the distinct possibilities of the right left passage information.
Definition: EIncDec.h:35
Belle2::TrackFindingCDC::NForwardBackward::isValid
bool isValid(EForwardBackward eForwardBackward)
Check whether the given enum instance is one of the valid values.
Definition: EForwardBackward.h:55