PandaRoot
LinkScoreBoard Struct Reference

#include <PndEmcCluster.h>

Public Member Functions

void SetValShift (Bool_t val, Int_t shift)
 
Bool_t GetValShift (Int_t shift)
 

Public Attributes

Short_t score
 

Detailed Description

Definition at line 28 of file PndEmcCluster.h.

Member Function Documentation

◆ GetValShift()

Bool_t LinkScoreBoard::GetValShift ( Int_t  shift)
inline

Definition at line 37 of file PndEmcCluster.h.

37 { return score >> shift & 0x1; }

◆ SetValShift()

void LinkScoreBoard::SetValShift ( Bool_t  val,
Int_t  shift 
)
inline

Definition at line 31 of file PndEmcCluster.h.

32  {
33  if (shift < 4)
34  score |= val << shift;
35  }

Member Data Documentation

◆ score

Short_t LinkScoreBoard::score

Definition at line 29 of file PndEmcCluster.h.


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