Jpp  17.1.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Friends | List of all members
EventPreamble Class Reference

Interface for event classes. More...

#include <EventPreamble.hh>

Inheritance diagram for EventPreamble:
TObject PhysicsEvent TimeSlice< T > TimeSlice< AWF_Frame > TimeSlice< CRM_Frame > TimeSlice< DWF_Frame > TimeSlice< ExtendedSummary_Frame > TimeSlice< RTS_Frame > TimeSlice< SPE_Frame > TimeSlice< Status_Frame > TimeSlice< Summary_Frame >

Public Member Functions

 EventPreamble ()
 Default constructor. More...
 
virtual ~EventPreamble ()
 Virtual destructor. More...
 
 ClassDef (EventPreamble, 2)
 

Public Attributes

unsigned short frameTarget
 Unique code representing the shore station for this frame. More...
 
unsigned int frameTime1
 Frame 'time stamp' in units of 50ns (MSW) More...
 
unsigned int frameTime2
 Frame 'time stamp' in units of 50ns (LSW) More...
 
unsigned int frameIndex
 Number of frames since start of the run. More...
 
unsigned int runNumber
 Run-number as given by the RunControl. More...
 

Friends

std::ostream & operator<< (std::ostream &out, const EventPreamble &object)
 Print ASCII. More...
 

Detailed Description

Interface for event classes.

It holds the information from the 'preamble' of an event object.

Definition at line 17 of file EventPreamble.hh.

Constructor & Destructor Documentation

EventPreamble::EventPreamble ( )
inline

Default constructor.

Definition at line 43 of file EventPreamble.hh.

44  {
45  //length_ = 0;
46  //dataType = UNDEFINED_EVENT_TYPE;
47  frameTarget = 0;
48  frameTime1 = 0;
49  frameTime2 = 0;
50  frameIndex = 0;
51  runNumber = 0;
52  }
unsigned short frameTarget
Unique code representing the shore station for this frame.
unsigned int frameIndex
Number of frames since start of the run.
unsigned int runNumber
Run-number as given by the RunControl.
unsigned int frameTime2
Frame &#39;time stamp&#39; in units of 50ns (LSW)
unsigned int frameTime1
Frame &#39;time stamp&#39; in units of 50ns (MSW)
virtual EventPreamble::~EventPreamble ( )
inlinevirtual

Virtual destructor.

Definition at line 57 of file EventPreamble.hh.

57 {};

Member Function Documentation

EventPreamble::ClassDef ( EventPreamble  ,
 
)

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const EventPreamble object 
)
friend

Print ASCII.

Parameters
outoutput stream
objectevent preamble
Returns
output stream

Definition at line 66 of file EventPreamble.hh.

67  {
68  using namespace std;
69 
70  out << "frameTarget " << object.frameTarget << endl;
71  out << "frameTime1 " << object.frameTime1 << endl;
72  out << "frameTime2 " << object.frameTime2 << endl;
73  out << "frameIndex " << object.frameIndex << endl;
74  out << "runNumber " << object.runNumber << endl;
75 
76  return out;
77  }

Member Data Documentation

unsigned short EventPreamble::frameTarget

Unique code representing the shore station for this frame.

Definition at line 26 of file EventPreamble.hh.

unsigned int EventPreamble::frameTime1

Frame 'time stamp' in units of 50ns (MSW)

Definition at line 29 of file EventPreamble.hh.

unsigned int EventPreamble::frameTime2

Frame 'time stamp' in units of 50ns (LSW)

Definition at line 31 of file EventPreamble.hh.

unsigned int EventPreamble::frameIndex

Number of frames since start of the run.

Definition at line 34 of file EventPreamble.hh.

unsigned int EventPreamble::runNumber

Run-number as given by the RunControl.

Definition at line 37 of file EventPreamble.hh.


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