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.

24 : fRunNum(0), fEvtNum(0), fTimeStamp(0) {}

◆ ~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.

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 }

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

◆ GetEvtNum()

Int_t AliDaqEventHeader::GetEvtNum ( ) const
inline

Definition at line 27 of file CocoaDaqRootEvent.h.

27 { return fEvtNum; }

References fEvtNum.

◆ GetRunNum()

Int_t AliDaqEventHeader::GetRunNum ( ) const
inline

Definition at line 26 of file CocoaDaqRootEvent.h.

26 { return fRunNum; }

References fRunNum.

◆ GetTimeStamp()

Int_t AliDaqEventHeader::GetTimeStamp ( ) const
inline

Definition at line 28 of file CocoaDaqRootEvent.h.

28 { return fTimeStamp; }

References fTimeStamp.

◆ SetRunEvt()

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

Definition at line 29 of file CocoaDaqRootEvent.h.

29  {
30  fRunNum = run;
31  fEvtNum = event;
32  }

References edmPickEvents::event, fEvtNum, fRunNum, and writedatasetfile::run.

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().

gather_cfg.cout
cout
Definition: gather_cfg.py:144
edmPickEvents.event
event
Definition: edmPickEvents.py:273
AliDaqEventHeader::fTimeStamp
Int_t fTimeStamp
Definition: CocoaDaqRootEvent.h:21
AliDaqEventHeader::fEvtNum
Int_t fEvtNum
Definition: CocoaDaqRootEvent.h:20
writedatasetfile.run
run
Definition: writedatasetfile.py:27
AliDaqEventHeader::fRunNum
Int_t fRunNum
Definition: CocoaDaqRootEvent.h:19