Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
daqEvent.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file daqEvent.cc
1 #include <daqEvent.h>
2 
3 // the constructor first ----------------
4 // daqEvent::daqEvent (int * where, const int length
5 // , const int irun, const int etype, const int evtseq)
6 // {
7 // event_base = where;
8 // evthdr = ( evtdata_ptr ) where;
9 // evthdr->evt_type = etype;
10 // max_length = length;
11 // prepare_next (evtseq, irun);
12 // }
13 
14 void daqEvent::set_event_type(const int etype)
15 {
16  evthdr->evt_type = etype;
17 }
18 
19 
20 
21 
22