CMS 3D CMS Logo

Public Member Functions | Private Attributes

EOFRecordView Class Reference

#include <EOFRecord.h>

List of all members.

Public Member Functions

uint32 code () const
 EOFRecordView (void *buf, uint32 hlt_path_cnt)
uint32 events () const
uint64 firstEventOffset ()
void hltStats (std::vector< uint32 > &put_here)
uint64 lastEventOffset ()
uint32 run () const
uint32 size () const
uint32 statusCode () const

Private Attributes

uint8buf_
uint64 first_event_offset_
HeaderView head_
uint32 hlt_path_count_
uint8hlt_path_stat_end_
uint8hlt_path_stat_start_
uint64 last_event_offset_

Detailed Description

Definition at line 25 of file EOFRecord.h.


Constructor & Destructor Documentation

EOFRecordView::EOFRecordView ( void *  buf,
uint32  hlt_path_cnt 
)

Member Function Documentation

uint32 EOFRecordView::code ( ) const [inline]

Definition at line 30 of file EOFRecord.h.

References HeaderView::code(), and head_.

{ return head_.code(); }
uint32 EOFRecordView::events ( ) const

Definition at line 26 of file EOFRecord.cc.

References buf_, convert32(), EOFRecordHeader::events_, and h.

uint64 EOFRecordView::firstEventOffset ( ) [inline]

Definition at line 36 of file EOFRecord.h.

References first_event_offset_.

void EOFRecordView::hltStats ( std::vector< uint32 > &  put_here)

Definition at line 32 of file EOFRecord.cc.

References convert32(), hlt_path_count_, hlt_path_stat_start_, and i.

{
  put_here.clear();
  put_here.resize(hlt_path_count_);

  for(unsigned int i = 0; i < hlt_path_count_; ++i) {
     uint32 item = convert32(hlt_path_stat_start_ + (i*sizeof(uint32)) );
     put_here[i] = item;
  }
}
uint64 EOFRecordView::lastEventOffset ( ) [inline]

Definition at line 37 of file EOFRecord.h.

References last_event_offset_.

{return last_event_offset_; }
uint32 EOFRecordView::run ( void  ) const

Definition at line 14 of file EOFRecord.cc.

References buf_, convert32(), h, and EOFRecordHeader::run_.

uint32 EOFRecordView::size ( void  ) const [inline]

Definition at line 31 of file EOFRecord.h.

References head_, and HeaderView::size().

{ return head_.size(); }
uint32 EOFRecordView::statusCode ( ) const

Definition at line 20 of file EOFRecord.cc.

References buf_, convert32(), h, and EOFRecordHeader::status_code_.


Member Data Documentation

Gives the total number of events that were accepted for each HLT path, one 32-bit (4-byte) integer for each HLT path. What order ????

Definition at line 44 of file EOFRecord.h.

Referenced by EOFRecordView(), events(), run(), and statusCode().

Definition at line 51 of file EOFRecord.h.

Referenced by EOFRecordView(), and firstEventOffset().

Definition at line 45 of file EOFRecord.h.

Referenced by code(), and size().

Definition at line 47 of file EOFRecord.h.

Referenced by EOFRecordView(), and hltStats().

Definition at line 49 of file EOFRecord.h.

Referenced by EOFRecordView().

Definition at line 48 of file EOFRecord.h.

Referenced by EOFRecordView(), and hltStats().

Definition at line 52 of file EOFRecord.h.

Referenced by EOFRecordView(), and lastEventOffset().