MIDAS
Loading...
Searching...
No Matches
EventStashEntry Struct Reference
Collaboration diagram for EventStashEntry:

Public Member Functions

 ~EventStashEntry ()
 
void ReplaceEvent (const EVENT_HEADER *xpevent)
 
void Print () const
 

Public Attributes

std::string buffer_name
 
int event_id = 0
 
int trigger_mask = 0
 
const EVENT_HEADERpevent = NULL
 

Detailed Description

Definition at line 3553 of file mjsonrpc.cxx.

Constructor & Destructor Documentation

◆ ~EventStashEntry()

EventStashEntry::~EventStashEntry ( )
inline

Definition at line 3560 of file mjsonrpc.cxx.

3561 {
3562 //Print(); printf(", dtor!\n");
3563 buffer_name.clear();
3564 event_id = 0;
3565 trigger_mask = 0;
3566 if (pevent)
3567 free((void*)pevent);
3568 pevent = NULL;
3569 }
TH1X EXPRT * h1_book(const char *name, const char *title, int bins, double min, double max)
Definition rmidas.h:24
std::string buffer_name
int event_id
const EVENT_HEADER * pevent
int trigger_mask
Here is the call graph for this function:

Member Function Documentation

◆ Print()

void EventStashEntry::Print ( ) const
inline

Definition at line 3580 of file mjsonrpc.cxx.

3581 {
3582 printf("EventStashEntry: %s,%d,0x%x,%p", buffer_name.c_str(), event_id, trigger_mask, pevent);
3583 if (pevent)
3584 printf(", size %d, serial %d, time %d, event_id %d, trigger_mask %x", pevent->data_size, pevent->serial_number, pevent->time_stamp, pevent->event_id, pevent->trigger_mask);
3585 }
short int event_id
Definition midas.h:852
DWORD data_size
Definition midas.h:856
DWORD serial_number
Definition midas.h:854
DWORD time_stamp
Definition midas.h:855
short int trigger_mask
Definition midas.h:853
Here is the call graph for this function:

◆ ReplaceEvent()

void EventStashEntry::ReplaceEvent ( const EVENT_HEADER xpevent)
inline

Definition at line 3571 of file mjsonrpc.cxx.

3572 {
3573 if (pevent) {
3574 free((void*)pevent);
3575 pevent = NULL;
3576 }
3578 }
static const EVENT_HEADER * CopyEvent(const EVENT_HEADER *pevent)
Here is the call graph for this function:

Member Data Documentation

◆ buffer_name

std::string EventStashEntry::buffer_name

Definition at line 3555 of file mjsonrpc.cxx.

◆ event_id

int EventStashEntry::event_id = 0

Definition at line 3556 of file mjsonrpc.cxx.

◆ pevent

const EVENT_HEADER* EventStashEntry::pevent = NULL

Definition at line 3558 of file mjsonrpc.cxx.

◆ trigger_mask

int EventStashEntry::trigger_mask = 0

Definition at line 3557 of file mjsonrpc.cxx.


The documentation for this struct was generated from the following file: