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 40 of file PndEmcCluster.h.

Member Function Documentation

◆ GetValShift()

Bool_t LinkScoreBoard::GetValShift ( Int_t  shift)
inline

Definition at line 49 of file PndEmcCluster.h.

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

◆ SetValShift()

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

Definition at line 43 of file PndEmcCluster.h.

44  {
45  if (shift < 4)
46  score |= val << shift;
47  }

Member Data Documentation

◆ score

Short_t LinkScoreBoard::score

Definition at line 41 of file PndEmcCluster.h.


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