PandaRoot
PndSdsDigiTopix4Header Class Reference

Data class to store the header of topix4 frames. More...

#include <PndSdsDigiTopix4Header.h>

Inheritance diagram for PndSdsDigiTopix4Header:

Public Member Functions

 PndSdsDigiTopix4Header ()
 
 PndSdsDigiTopix4Header (UInt_t framecount, Int_t fe, UInt_t chipaddress, UInt_t ecc, UInt_t framecountindependent, Int_t deltaframecount, UInt_t numberofevents, UInt_t numberofeventsinframe)
 
PndSdsDigiTopix4Headeroperator= (const PndSdsDigiTopix4Header &pix)
 
UInt_t GetFrameCount () const
 
UInt_t GetFE () const
 
UInt_t GetChipAddress () const
 
UInt_t GetECC () const
 
UInt_t GetFrameCountIndependent () const
 
Int_t GetDeltaFrameCount () const
 
UInt_t GetNumberOfEvents () const
 
UInt_t GetNumberOfEventsInFrame () const
 
void SetFrameCount (UInt_t fc)
 
void SetFE (Int_t fe)
 
void SetChipAddress (UInt_t ca)
 
void SetECC (UInt_t ecc)
 
void SetFrameCountIndependent (UInt_t fc)
 
void SetDeltaFrameCount (Int_t dfc)
 
void SetNumberOfEvents (UInt_t noe)
 
void SetNumberOfEventsInFrame (UInt_t noe)
 
 ~PndSdsDigiTopix4Header ()
 
void Print ()
 

Friends

std::ostream & operator<< (std::ostream &out, PndSdsDigiTopix4Header &digi)
 

Detailed Description

Data class to store the header of topix4 frames.

PndSdsDigiTopix4Header.h

Author
S.Esch s.esc.nosp@m.h@fz.nosp@m.-juel.nosp@m.ich..nosp@m.de

Definition at line 22 of file PndSdsDigiTopix4Header.h.

Constructor & Destructor Documentation

◆ PndSdsDigiTopix4Header() [1/2]

PndSdsDigiTopix4Header::PndSdsDigiTopix4Header ( )

◆ PndSdsDigiTopix4Header() [2/2]

PndSdsDigiTopix4Header::PndSdsDigiTopix4Header ( UInt_t  framecount,
Int_t  fe,
UInt_t  chipaddress,
UInt_t  ecc,
UInt_t  framecountindependent,
Int_t  deltaframecount,
UInt_t  numberofevents,
UInt_t  numberofeventsinframe 
)

◆ ~PndSdsDigiTopix4Header()

PndSdsDigiTopix4Header::~PndSdsDigiTopix4Header ( )
inline

Definition at line 68 of file PndSdsDigiTopix4Header.h.

68 {};

Member Function Documentation

◆ GetChipAddress()

UInt_t PndSdsDigiTopix4Header::GetChipAddress ( ) const
inline

Definition at line 52 of file PndSdsDigiTopix4Header.h.

Referenced by operator=().

52 { return fChipAddress; }

◆ GetDeltaFrameCount()

Int_t PndSdsDigiTopix4Header::GetDeltaFrameCount ( ) const
inline

Definition at line 55 of file PndSdsDigiTopix4Header.h.

Referenced by operator=().

55 { return fDeltaFrameCount; }

◆ GetECC()

UInt_t PndSdsDigiTopix4Header::GetECC ( ) const
inline

Definition at line 53 of file PndSdsDigiTopix4Header.h.

Referenced by operator=().

53 { return fECC; }

◆ GetFE()

UInt_t PndSdsDigiTopix4Header::GetFE ( ) const
inline

Definition at line 51 of file PndSdsDigiTopix4Header.h.

Referenced by operator=().

51 { return fFE; }

◆ GetFrameCount()

UInt_t PndSdsDigiTopix4Header::GetFrameCount ( ) const
inline

Definition at line 50 of file PndSdsDigiTopix4Header.h.

Referenced by operator=().

50 { return fFrameCount; }

◆ GetFrameCountIndependent()

UInt_t PndSdsDigiTopix4Header::GetFrameCountIndependent ( ) const
inline

Definition at line 54 of file PndSdsDigiTopix4Header.h.

Referenced by operator=().

54 { return fFrameCountIndependent; }

◆ GetNumberOfEvents()

UInt_t PndSdsDigiTopix4Header::GetNumberOfEvents ( ) const
inline

Definition at line 56 of file PndSdsDigiTopix4Header.h.

Referenced by operator=().

56 { return fNumberOfEvents; }

◆ GetNumberOfEventsInFrame()

UInt_t PndSdsDigiTopix4Header::GetNumberOfEventsInFrame ( ) const
inline

Definition at line 57 of file PndSdsDigiTopix4Header.h.

Referenced by operator=().

57 { return fNumberOfEvents; }

◆ operator=()

PndSdsDigiTopix4Header& PndSdsDigiTopix4Header::operator= ( const PndSdsDigiTopix4Header pix)
inline

Definition at line 36 of file PndSdsDigiTopix4Header.h.

References GetChipAddress(), GetDeltaFrameCount(), GetECC(), GetFE(), GetFrameCount(), GetFrameCountIndependent(), GetNumberOfEvents(), GetNumberOfEventsInFrame(), SetChipAddress(), SetDeltaFrameCount(), SetECC(), SetFE(), SetFrameCount(), SetFrameCountIndependent(), SetNumberOfEvents(), and SetNumberOfEventsInFrame().

37  {
38 
40  SetFE(pix.GetFE());
42  SetECC(pix.GetECC());
47  return *this;
48  }
void SetNumberOfEvents(UInt_t noe)
UInt_t GetFrameCountIndependent() const
void SetNumberOfEventsInFrame(UInt_t noe)
UInt_t GetNumberOfEventsInFrame() const
void SetDeltaFrameCount(Int_t dfc)
void SetFrameCountIndependent(UInt_t fc)

◆ Print()

void PndSdsDigiTopix4Header::Print ( )
inline

Definition at line 70 of file PndSdsDigiTopix4Header.h.

70 { std::cout << *this; }

◆ SetChipAddress()

void PndSdsDigiTopix4Header::SetChipAddress ( UInt_t  ca)
inline

Definition at line 61 of file PndSdsDigiTopix4Header.h.

Referenced by operator=().

61 { fChipAddress = ca; }

◆ SetDeltaFrameCount()

void PndSdsDigiTopix4Header::SetDeltaFrameCount ( Int_t  dfc)
inline

Definition at line 64 of file PndSdsDigiTopix4Header.h.

Referenced by operator=().

64 { fDeltaFrameCount = dfc; }

◆ SetECC()

void PndSdsDigiTopix4Header::SetECC ( UInt_t  ecc)
inline

Definition at line 62 of file PndSdsDigiTopix4Header.h.

Referenced by operator=().

62 { fECC = ecc; }

◆ SetFE()

void PndSdsDigiTopix4Header::SetFE ( Int_t  fe)
inline

Definition at line 60 of file PndSdsDigiTopix4Header.h.

Referenced by operator=().

60 { fFE = fe; }

◆ SetFrameCount()

void PndSdsDigiTopix4Header::SetFrameCount ( UInt_t  fc)
inline

Definition at line 59 of file PndSdsDigiTopix4Header.h.

Referenced by operator=().

59 { fFrameCount = fc; }

◆ SetFrameCountIndependent()

void PndSdsDigiTopix4Header::SetFrameCountIndependent ( UInt_t  fc)
inline

Definition at line 63 of file PndSdsDigiTopix4Header.h.

Referenced by operator=().

63 { fFrameCountIndependent = fc; }

◆ SetNumberOfEvents()

void PndSdsDigiTopix4Header::SetNumberOfEvents ( UInt_t  noe)
inline

Definition at line 65 of file PndSdsDigiTopix4Header.h.

Referenced by operator=().

65 { fNumberOfEvents = noe; }

◆ SetNumberOfEventsInFrame()

void PndSdsDigiTopix4Header::SetNumberOfEventsInFrame ( UInt_t  noe)
inline

Definition at line 66 of file PndSdsDigiTopix4Header.h.

Referenced by operator=().

66 { fNumberOfEventsInFrame = noe; }

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
PndSdsDigiTopix4Header digi 
)
friend

Definition at line 23 of file PndSdsDigiTopix4Header.h.

24  {
25  out << "PndSdsDigiTopix4Header : Frame Count" << digi.GetFrameCount() << " FE: " << digi.GetFE() << " Chip Address " << digi.GetChipAddress() << " Error Correction Code "
26  << digi.GetECC() << " Frame Count Independent " << digi.GetFrameCountIndependent() << std::endl;
27 
28  return out;
29  }
UInt_t GetFrameCountIndependent() const

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