FairRoot/PandaRoot
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
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 ()
 

Private Member Functions

 ClassDef (PndSdsDigiTopix4Header, 1)
 

Private Attributes

UInt_t fFrameCount
 
Int_t fFE
 
UInt_t fChipAddress
 
UInt_t fECC
 
UInt_t fFrameCountIndependent
 
Int_t fDeltaFrameCount
 
UInt_t fNumberOfEvents
 
UInt_t fNumberOfEventsInFrame
 

Friends

std::ostreamoperator<< (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 23 of file PndSdsDigiTopix4Header.h.

Constructor & Destructor Documentation

PndSdsDigiTopix4Header::PndSdsDigiTopix4Header ( )
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 
)

Definition at line 7 of file PndSdsDigiTopix4Header.cxx.

7  :
8  fFrameCount(framecount), fFE(fe), fChipAddress(chipaddress), fECC(ecc), fFrameCountIndependent(framecountindependent), fDeltaFrameCount(deltaframecount), fNumberOfEvents(numberofevents), fNumberOfEventsInFrame(numberofeventsinfame)
9 {
10 
11 }
int fe
Definition: anaLmdDigi.C:67
PndSdsDigiTopix4Header::~PndSdsDigiTopix4Header ( )
inline

Definition at line 72 of file PndSdsDigiTopix4Header.h.

72 {};

Member Function Documentation

PndSdsDigiTopix4Header::ClassDef ( PndSdsDigiTopix4Header  ,
 
)
private
UInt_t PndSdsDigiTopix4Header::GetChipAddress ( ) const
inline

Definition at line 56 of file PndSdsDigiTopix4Header.h.

References fChipAddress.

Referenced by operator=().

Int_t PndSdsDigiTopix4Header::GetDeltaFrameCount ( ) const
inline

Definition at line 59 of file PndSdsDigiTopix4Header.h.

References fDeltaFrameCount.

Referenced by operator=().

UInt_t PndSdsDigiTopix4Header::GetECC ( ) const
inline

Definition at line 57 of file PndSdsDigiTopix4Header.h.

References fECC.

Referenced by operator=().

57 { return fECC;}
UInt_t PndSdsDigiTopix4Header::GetFE ( ) const
inline

Definition at line 55 of file PndSdsDigiTopix4Header.h.

References fFE.

Referenced by operator=().

55 { return fFE;}
UInt_t PndSdsDigiTopix4Header::GetFrameCount ( ) const
inline

Definition at line 54 of file PndSdsDigiTopix4Header.h.

References fFrameCount.

Referenced by operator=().

UInt_t PndSdsDigiTopix4Header::GetFrameCountIndependent ( ) const
inline

Definition at line 58 of file PndSdsDigiTopix4Header.h.

References fFrameCountIndependent.

Referenced by operator=().

UInt_t PndSdsDigiTopix4Header::GetNumberOfEvents ( ) const
inline

Definition at line 60 of file PndSdsDigiTopix4Header.h.

References fNumberOfEvents.

Referenced by operator=().

UInt_t PndSdsDigiTopix4Header::GetNumberOfEventsInFrame ( ) const
inline

Definition at line 61 of file PndSdsDigiTopix4Header.h.

References fNumberOfEvents.

Referenced by operator=().

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

Definition at line 41 of file PndSdsDigiTopix4Header.h.

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

41  {
42 
44  SetFE(pix.GetFE());
46  SetECC(pix.GetECC());
51  return *this;
52  }
void SetNumberOfEvents(UInt_t noe)
UInt_t GetFrameCountIndependent() const
void SetNumberOfEventsInFrame(UInt_t noe)
void SetDeltaFrameCount(Int_t dfc)
UInt_t GetNumberOfEventsInFrame() const
void SetFrameCountIndependent(UInt_t fc)
void PndSdsDigiTopix4Header::Print ( )
inline

Definition at line 74 of file PndSdsDigiTopix4Header.h.

74  {
75  std::cout << *this;
76  }
void PndSdsDigiTopix4Header::SetChipAddress ( UInt_t  ca)
inline

Definition at line 65 of file PndSdsDigiTopix4Header.h.

References fChipAddress.

Referenced by operator=().

void PndSdsDigiTopix4Header::SetDeltaFrameCount ( Int_t  dfc)
inline

Definition at line 68 of file PndSdsDigiTopix4Header.h.

References fDeltaFrameCount.

Referenced by operator=().

void PndSdsDigiTopix4Header::SetECC ( UInt_t  ecc)
inline

Definition at line 66 of file PndSdsDigiTopix4Header.h.

References fECC.

Referenced by operator=().

66 { fECC = ecc;}
void PndSdsDigiTopix4Header::SetFE ( Int_t  fe)
inline

Definition at line 64 of file PndSdsDigiTopix4Header.h.

References fe, and fFE.

Referenced by operator=().

64 { fFE = fe;}
int fe
Definition: anaLmdDigi.C:67
void PndSdsDigiTopix4Header::SetFrameCount ( UInt_t  fc)
inline

Definition at line 63 of file PndSdsDigiTopix4Header.h.

References fFrameCount.

Referenced by operator=().

void PndSdsDigiTopix4Header::SetFrameCountIndependent ( UInt_t  fc)
inline

Definition at line 67 of file PndSdsDigiTopix4Header.h.

References fFrameCountIndependent.

Referenced by operator=().

void PndSdsDigiTopix4Header::SetNumberOfEvents ( UInt_t  noe)
inline

Definition at line 69 of file PndSdsDigiTopix4Header.h.

References fNumberOfEvents.

Referenced by PndMvdReadInTBData::AnalyzeToPixFrame(), and operator=().

void PndSdsDigiTopix4Header::SetNumberOfEventsInFrame ( UInt_t  noe)
inline

Definition at line 70 of file PndSdsDigiTopix4Header.h.

References fNumberOfEventsInFrame.

Referenced by operator=().

Friends And Related Function Documentation

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

Definition at line 25 of file PndSdsDigiTopix4Header.h.

26  {
27  out << "PndSdsDigiTopix4Header : Frame Count" << digi.GetFrameCount()
28  << " FE: "<< digi.GetFE()
29  << " Chip Address " << digi.GetChipAddress()
30  << " Error Correction Code "<< digi.GetECC()
31  << " Frame Count Independent "<< digi.GetFrameCountIndependent()
32  << std::endl;
33 
34  return out;
35  }
UInt_t GetFrameCountIndependent() const
TFile * out
Definition: reco_muo.C:20

Member Data Documentation

UInt_t PndSdsDigiTopix4Header::fChipAddress
private

Definition at line 82 of file PndSdsDigiTopix4Header.h.

Referenced by GetChipAddress(), and SetChipAddress().

Int_t PndSdsDigiTopix4Header::fDeltaFrameCount
private

Definition at line 85 of file PndSdsDigiTopix4Header.h.

Referenced by GetDeltaFrameCount(), and SetDeltaFrameCount().

UInt_t PndSdsDigiTopix4Header::fECC
private

Definition at line 83 of file PndSdsDigiTopix4Header.h.

Referenced by GetECC(), and SetECC().

Int_t PndSdsDigiTopix4Header::fFE
private

Definition at line 81 of file PndSdsDigiTopix4Header.h.

Referenced by GetFE(), and SetFE().

UInt_t PndSdsDigiTopix4Header::fFrameCount
private

Definition at line 80 of file PndSdsDigiTopix4Header.h.

Referenced by GetFrameCount(), and SetFrameCount().

UInt_t PndSdsDigiTopix4Header::fFrameCountIndependent
private

Definition at line 84 of file PndSdsDigiTopix4Header.h.

Referenced by GetFrameCountIndependent(), and SetFrameCountIndependent().

UInt_t PndSdsDigiTopix4Header::fNumberOfEvents
private
UInt_t PndSdsDigiTopix4Header::fNumberOfEventsInFrame
private

Definition at line 87 of file PndSdsDigiTopix4Header.h.

Referenced by SetNumberOfEventsInFrame().


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