CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 ( )
inline

Definition at line 24 of file CocoaDaqRootEvent.h.

virtual AliDaqEventHeader::~AliDaqEventHeader ( )
inlinevirtual

Definition at line 25 of file CocoaDaqRootEvent.h.

25 {}

Member Function Documentation

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 }
tuple cout
Definition: gather_cfg.py:144
Int_t AliDaqEventHeader::GetEvtNum ( ) const
inline

Definition at line 27 of file CocoaDaqRootEvent.h.

References fEvtNum.

27 { return fEvtNum; }
Int_t AliDaqEventHeader::GetRunNum ( ) const
inline

Definition at line 26 of file CocoaDaqRootEvent.h.

References fRunNum.

26 { return fRunNum; }
Int_t AliDaqEventHeader::GetTimeStamp ( ) const
inline

Definition at line 28 of file CocoaDaqRootEvent.h.

References fTimeStamp.

28 { return fTimeStamp; }
void AliDaqEventHeader::SetRunEvt ( int  run,
int  event 
)
inline

Member Data Documentation

Int_t AliDaqEventHeader::fEvtNum
private

Definition at line 20 of file CocoaDaqRootEvent.h.

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

Int_t AliDaqEventHeader::fRunNum
private

Definition at line 19 of file CocoaDaqRootEvent.h.

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

Int_t AliDaqEventHeader::fTimeStamp
private

Definition at line 21 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetTimeStamp().