#include <EventHeader.h>
Public Member Functions | |
void | analyze (edm::Event const &iEvent, TTree *tree) |
EventHeader () | |
void | setup (edm::ConsumesCollector &&iC, TTree *tree) |
~EventHeader () | |
Public Attributes | |
char_uint32 | droppedEventsCount_ |
char_uint64 | event_ |
Header | header_ |
char_uint32 | lumi_ |
char_uint32 | origDataSize_ |
char_uint32 | outModId_ |
uint8 | protocolVersion_ |
char_uint32 | run_ |
Private Attributes | |
bool | _Debug |
double | fAvgInstDelLumi |
int | fBx |
unsigned long long | fEvent |
int | fLumiBlock |
int | fOrbit |
int | fRun |
edm::EDGetTokenT< LumiSummary > | lumi_Token |
Event Message Represented here
Protocol Versions 1-4: code 1 | size 4 | run 4 | event 4 | lumi 4 | reserved 4 | l1_count 4| l1bits l1_count/8 | hlt_count 4| hltbits hlt_count/4 | eventdatalength 4 | eventdata blob {variable}
Protocol Version 5: code 1 | size 4 | protocol version 1 | run 4 | event 4 | lumi 4 | origDataSize 4 | outModId 4 | l1_count 4| l1bits l1_count/8 | hlt_count 4| hltbits hlt_count/4 | eventdatalength 4 | eventdata blob {variable}
Protocol Version 6: // no change here, only INIT msg change code 1 | size 4 | protocol version 1 | run 4 | event 4 | lumi 4 | origDataSize 4 | outModId 4 | l1_count 4| l1bits l1_count/8 | hlt_count 4| hltbits hlt_count/4 | eventdatalength 4 | eventdata blob {variable}
Protocol Version 7: // no change here, only data blob changes code 1 | size 4 | protocol version 1 | run 4 | event 4 | lumi 4 | origDataSize 4 | outModId 4 | l1_count 4| l1bits l1_count/8 | hlt_count 4| hltbits hlt_count/4 | eventdatalength 4 | eventdata blob {variable}
Protocol Version 8: // add in checksum of data blob changes code 1 | size 4 | protocol version 1 | run 4 | event 4 | lumi 4 | origDataSize 4 | outModId 4 | l1_count 4| l1bits l1_count/8 | hlt_count 4| hltbits hlt_count/4 | adler32_chksum 4 | host name length 1 | host name {Fixed size} eventdatalength 4 | eventdata blob {variable}
Protocol Version 9: // add dropped events counter code 1 | size 4 | protocol version 1 | run 4 | event 4 | lumi 4 | origDataSize 4 | outModId 4 | droppedEventsCount 4 | l1_count 4 | l1bits l1_count/8 | hlt_count 4 | hltbits hlt_count/4 | adler32_chksum 4 | host name length 1 | host name {Fixed size} eventdatalength 4 | eventdata blob {variable}
Protocol Version 10: identical to version 9, but incremented to keep in sync with init msg version
Protocol Version 11: identical to version 10, except event changed from 4 bytes to 8 bytes
$Date: November 2006 $Revision:
Definition at line 18 of file EventHeader.h.
EventHeader::EventHeader | ( | ) |
Definition at line 11 of file EventHeader.cc.
|
default |
void EventHeader::analyze | ( | edm::Event const & | iEvent, |
TTree * | tree | ||
) |
Analyze the Data
Definition at line 36 of file EventHeader.cc.
References _Debug, gather_cfg::cout, fAvgInstDelLumi, fBx, fEvent, fLumiBlock, fOrbit, fRun, edm::LuminosityBlock::getByToken(), iEvent, lumi_Token, and bphysicsOniaDQM_cfi::lumiSummary.
Referenced by HLTBitAnalyzer::analyze().
void EventHeader::setup | ( | edm::ConsumesCollector && | iC, |
TTree * | tree | ||
) |
Definition at line 17 of file EventHeader.cc.
References fAvgInstDelLumi, fBx, fEvent, fLumiBlock, fOrbit, fRun, edm::InLumi, ProducerED_cfi::InputTag, and lumi_Token.
Referenced by HLTBitAnalyzer::HLTBitAnalyzer().
|
private |
Definition at line 38 of file EventHeader.h.
Referenced by analyze().
char_uint32 EventHeader::droppedEventsCount_ |
Definition at line 69 of file EventMessage.h.
char_uint64 EventHeader::event_ |
Definition at line 65 of file EventMessage.h.
Referenced by edm::StreamerInputFile::readEventMessage().
|
private |
Definition at line 35 of file EventHeader.h.
|
private |
Definition at line 33 of file EventHeader.h.
|
private |
Definition at line 30 of file EventHeader.h.
|
private |
Definition at line 31 of file EventHeader.h.
|
private |
Definition at line 34 of file EventHeader.h.
|
private |
Definition at line 32 of file EventHeader.h.
Header EventHeader::header_ |
Definition at line 62 of file EventMessage.h.
char_uint32 EventHeader::lumi_ |
Definition at line 66 of file EventMessage.h.
Referenced by edm::StreamerInputFile::readEventMessage().
|
private |
Definition at line 39 of file EventHeader.h.
char_uint32 EventHeader::origDataSize_ |
Definition at line 67 of file EventMessage.h.
char_uint32 EventHeader::outModId_ |
Definition at line 68 of file EventMessage.h.
uint8 EventHeader::protocolVersion_ |
Definition at line 63 of file EventMessage.h.
char_uint32 EventHeader::run_ |
Definition at line 64 of file EventMessage.h.
Referenced by edm::StreamerInputFile::readEventMessage().