CMS 3D CMS Logo

Public Member Functions | Private Attributes

AliDaqEventHeader Class Reference

#include <CocoaDaqRootEvent.h>

List of all members.

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 18 of file CocoaDaqRootEvent.h.


Constructor & Destructor Documentation

AliDaqEventHeader::AliDaqEventHeader ( ) [inline]

Definition at line 26 of file CocoaDaqRootEvent.h.

: fRunNum(0), fEvtNum(0), fTimeStamp(0) { }
virtual AliDaqEventHeader::~AliDaqEventHeader ( ) [inline, virtual]

Definition at line 27 of file CocoaDaqRootEvent.h.

{ }

Member Function Documentation

void AliDaqEventHeader::DumpIt ( )

Definition at line 70 of file CocoaDaqRootEvent.cc.

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

{
  std::cout<<std::endl;
  std::cout<<"------------------------------- Event Header ------------------------------"<<std::endl;
  std::cout<<"Time stamp    = "<<fTimeStamp<<std::endl;
  std::cout<<"Run number    = "<<fRunNum<<std::endl;
  std::cout<<"Event number  = "<<fEvtNum<<std::endl;
  std::cout<<std::endl;
}
Int_t AliDaqEventHeader::GetEvtNum ( ) const [inline]

Definition at line 29 of file CocoaDaqRootEvent.h.

References fEvtNum.

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

Definition at line 28 of file CocoaDaqRootEvent.h.

References fRunNum.

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

Definition at line 30 of file CocoaDaqRootEvent.h.

References fTimeStamp.

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

Definition at line 31 of file CocoaDaqRootEvent.h.

References event(), fEvtNum, fRunNum, and DTTTrigCorrFirst::run.


Member Data Documentation

Int_t AliDaqEventHeader::fEvtNum [private]

Definition at line 22 of file CocoaDaqRootEvent.h.

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

Int_t AliDaqEventHeader::fRunNum [private]

Definition at line 21 of file CocoaDaqRootEvent.h.

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

Definition at line 23 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetTimeStamp().