CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EventMsgBuilder.h
Go to the documentation of this file.
1 #ifndef IOPool_Streamer_EventMsgBuilder_h
2 #define IOPool_Streamer_EventMsgBuilder_h
3 
5 
6 // ------------------ event message builder ----------------
7 
9 {
10 public:
11  EventMsgBuilder(void* buf, uint32 size,
12  uint32 run, uint64 event, uint32 lumi, uint32 outModId,
13  uint32 droppedEventsCount,
14  std::vector<bool>& l1_bits,
15  uint8* hlt_bits, uint32 hlt_bit_count,
16  uint32 adler32_chksum, const char* host_name);
17 
18  void setOrigDataSize(uint32);
19  uint8* startAddress() const { return buf_; }
20  void setEventLength(uint32 len);
21  uint8* eventAddr() const { return event_addr_; }
22  uint32 headerSize() const {return event_addr_-buf_;}
23  uint32 size() const;
24  uint32 bufferSize() const {return size_;}
25 
26 private:
30 };
31 
32 #endif
33 
EventMsgBuilder(void *buf, uint32 size, uint32 run, uint64 event, uint32 lumi, uint32 outModId, uint32 droppedEventsCount, std::vector< bool > &l1_bits, uint8 *hlt_bits, uint32 hlt_bit_count, uint32 adler32_chksum, const char *host_name)
void setEventLength(uint32 len)
tuple lumi
Definition: fjr2json.py:35
uint8 * startAddress() const
uint8 * eventAddr() const
void setOrigDataSize(uint32)
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
unsigned int uint32
Definition: MsgTools.h:13
unsigned long long uint64
Definition: MsgTools.h:14
unsigned char uint8
Definition: MsgTools.h:11
uint32 headerSize() const
uint32 bufferSize() const
uint32 size() const