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 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
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
event
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of "!*" before the partial wildcard feature was incorporated). The per-event "cost" of each negative criterion with multiple relevant triggers is about the same as ! *was in the past
AliDaqEventHeader::fRunNum
Int_t fRunNum
Definition: CocoaDaqRootEvent.h:19