EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ospEvent.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file ospEvent.h
1 #ifndef __OSPEVENT_H
2 #define __OSPEVENT_H
3 
4 
5 #include "phenixTypes.h"
6 
7 #include "oncsSubConstants.h"
8 #include "oncsEvtStructures.h"
9 #include "oncsSubevent.h"
10 
11 
12 class ospEvent {
13 
14 public:
15 
16  //** Constructors
17  ospEvent(PHDWORD *, const int maxlength
18  , const int irun, const int itype, const int eseq);
19 
20  virtual ~ospEvent() {}
21  virtual int prepare_next();
22  virtual int prepare_next( const int, const int);
23  virtual void set_event_type(const int);
24 
25  virtual int addPacket ( const Packet * p);
26 
27  virtual int addUnstructPacketData(PHDWORD * data,
28  const int length,
29  const int id,
30  const int wordsize,
31  const int hitformat);
32 protected:
33 
35  int current;
36  int in_frame;
38  int left;
40 };
41 
42 #endif