test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
evf::EvffedFillerEP Class Reference

#include <EvffedFillerEP.h>

Public Member Functions

 EvffedFillerEP ()
 
void setEPEventCount (uint32_t evc, unsigned char *payload)
 
void setEPEventHisto (uint64_t ehi, unsigned char *payload)
 
void setEPEventId (uint32_t eid, unsigned char *payload)
 
void setEPProcessId (pid_t pid, unsigned char *payload)
 
void setEPTimeStamp (uint64_t ts, unsigned char *payload)
 

Detailed Description

Definition at line 10 of file EvffedFillerEP.h.

Constructor & Destructor Documentation

evf::EvffedFillerEP::EvffedFillerEP ( )
inline

Definition at line 13 of file EvffedFillerEP.h.

13  {
14  }

Member Function Documentation

void evf::EvffedFillerEP::setEPEventCount ( uint32_t  evc,
unsigned char *  payload 
)
inline

Definition at line 26 of file EvffedFillerEP.h.

References evf::fedinterface::EVFFED_EPEVTCT_OFFSET.

Referenced by evf::EvFRecordInserter::analyze().

26  {
27  *(uint32_t*)(payload+fedinterface::EVFFED_EPEVTCT_OFFSET) =
28  evc;
29  }
const unsigned int EVFFED_EPEVTCT_OFFSET
Definition: FED1023.h:46
void evf::EvffedFillerEP::setEPEventHisto ( uint64_t  ehi,
unsigned char *  payload 
)
inline

Definition at line 30 of file EvffedFillerEP.h.

References evf::fedinterface::EVFFED_EPHISTO_OFFSET.

Referenced by evf::EvFRecordInserter::analyze().

30  {
32  ehi;
33  }
const unsigned int EVFFED_EPHISTO_OFFSET
Definition: FED1023.h:52
unsigned long long uint64_t
Definition: Time.h:15
void evf::EvffedFillerEP::setEPEventId ( uint32_t  eid,
unsigned char *  payload 
)
inline

Definition at line 22 of file EvffedFillerEP.h.

References evf::fedinterface::EVFFED_EPEVENT_OFFSET.

Referenced by evf::EvFRecordInserter::analyze().

22  {
23  *(uint32_t*)(payload+fedinterface::EVFFED_EPEVENT_OFFSET) =
24  eid;
25  }
const unsigned int EVFFED_EPEVENT_OFFSET
Definition: FED1023.h:40
void evf::EvffedFillerEP::setEPProcessId ( pid_t  pid,
unsigned char *  payload 
)
inline

Definition at line 18 of file EvffedFillerEP.h.

References evf::fedinterface::EVFFED_EPIDENT_OFFSET, evf::fedinterface::EVFFED_EPPCIDE_MASK, and evf::fedinterface::EVFFED_EPPCIDE_SHIFT.

Referenced by evf::EvFRecordInserter::analyze().

18  {
19  *(uint32_t*)(payload+fedinterface::EVFFED_EPIDENT_OFFSET) =
21  }
const unsigned int EVFFED_EPIDENT_OFFSET
Definition: FED1023.h:41
const unsigned int EVFFED_EPPCIDE_SHIFT
Definition: FED1023.h:43
tuple pid
Definition: sysUtil.py:22
const unsigned int EVFFED_EPPCIDE_MASK
Definition: FED1023.h:42
void evf::EvffedFillerEP::setEPTimeStamp ( uint64_t  ts,
unsigned char *  payload 
)
inline

Definition at line 15 of file EvffedFillerEP.h.

References evf::fedinterface::EVFFED_EPWCTIM_OFFSET.

Referenced by evf::EvFRecordInserter::analyze().

15  {
16  *(uint64_t*) (payload + fedinterface::EVFFED_EPWCTIM_OFFSET) = ts;
17  }
unsigned long long uint64_t
Definition: Time.h:15
const unsigned int EVFFED_EPWCTIM_OFFSET
Definition: FED1023.h:58