CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
AliDaqEventHeader Class Reference

#include <CocoaDaqRootEvent.h>

Public Member Functions

 AliDaqEventHeader ()
 
void DumpIt ()
 
Int_t GetEvtNum () const
 
Int_t GetRunNum () const
 
Int_t GetTimeStamp () const
 
void SetRunEvt (int run, int event)
 
virtual ~AliDaqEventHeader ()
 

Private Attributes

Int_t fEvtNum
 
Int_t fRunNum
 
Int_t fTimeStamp
 

Detailed Description

Definition at line 17 of file CocoaDaqRootEvent.h.

Constructor & Destructor Documentation

◆ AliDaqEventHeader()

AliDaqEventHeader::AliDaqEventHeader ( )
inline

Definition at line 24 of file CocoaDaqRootEvent.h.

◆ ~AliDaqEventHeader()

virtual AliDaqEventHeader::~AliDaqEventHeader ( )
inlinevirtual

Definition at line 25 of file CocoaDaqRootEvent.h.

25 {}

Member Function Documentation

◆ DumpIt()

void AliDaqEventHeader::DumpIt ( )

Definition at line 68 of file CocoaDaqRootEvent.cc.

References gather_cfg::cout, fEvtNum, fRunNum, and fTimeStamp.

68  {
69  std::cout << std::endl;
70  std::cout << "------------------------------- Event Header ------------------------------" << std::endl;
71  std::cout << "Time stamp = " << fTimeStamp << std::endl;
72  std::cout << "Run number = " << fRunNum << std::endl;
73  std::cout << "Event number = " << fEvtNum << std::endl;
74  std::cout << std::endl;
75 }

◆ GetEvtNum()

Int_t AliDaqEventHeader::GetEvtNum ( ) const
inline

Definition at line 27 of file CocoaDaqRootEvent.h.

References fEvtNum.

27 { return fEvtNum; }

◆ GetRunNum()

Int_t AliDaqEventHeader::GetRunNum ( ) const
inline

Definition at line 26 of file CocoaDaqRootEvent.h.

References fRunNum.

26 { return fRunNum; }

◆ GetTimeStamp()

Int_t AliDaqEventHeader::GetTimeStamp ( ) const
inline

Definition at line 28 of file CocoaDaqRootEvent.h.

References fTimeStamp.

28 { return fTimeStamp; }

◆ SetRunEvt()

void AliDaqEventHeader::SetRunEvt ( int  run,
int  event 
)
inline

Member Data Documentation

◆ fEvtNum

Int_t AliDaqEventHeader::fEvtNum
private

Definition at line 20 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), GetEvtNum(), and SetRunEvt().

◆ fRunNum

Int_t AliDaqEventHeader::fRunNum
private

Definition at line 19 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), GetRunNum(), and SetRunEvt().

◆ fTimeStamp

Int_t AliDaqEventHeader::fTimeStamp
private

Definition at line 21 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetTimeStamp().