Jpp  18.0.0-rc.2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
Status_TimeSlice Class Reference

Status time slices. More...

#include <TimeSlice.hh>

Inheritance diagram for Status_TimeSlice:
TimeSlice< Status_Frame > EventPreamble std::vector< Status_Frame > TObject

Public Types

typedef Status_Frame frame_type
 item type definition More...
 
typedef frame_type::item_type item_type
 item sub-type definition More...
 

Public Member Functions

 Status_TimeSlice ()
 Default constructor. More...
 
 ClassDef (Status_TimeSlice, 2)
 ROOT class definition. More...
 
TimeSlice< Status_Frame > & operator+= (const TimeSlice< Status_Frame > &object)
 operator += More...
 
 ClassDef (TimeSlice, 2)
 ROOT class definition. 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...
 

Detailed Description

Status time slices.

Definition at line 485 of file TimeSlice.hh.

Member Typedef Documentation

item type definition

Definition at line 401 of file TimeSlice.hh.

item sub-type definition

Definition at line 402 of file TimeSlice.hh.

Constructor & Destructor Documentation

Status_TimeSlice::Status_TimeSlice ( )
inline

Default constructor.

Definition at line 492 of file TimeSlice.hh.

Member Function Documentation

Status_TimeSlice::ClassDef ( Status_TimeSlice  ,
 
)

ROOT class definition.

TimeSlice<Status_Frame >& TimeSlice< Status_Frame >::operator+= ( const TimeSlice< Status_Frame > &  object)
inlineinherited

operator +=

Parameters
objecttime slice
Returns
this time slice

Definition at line 446 of file TimeSlice.hh.

447  {
448  if ((EventPreamble&) *this == (EventPreamble&) object) {
449 
450  typename TimeSlice<T>::const_iterator from;
451  typename TimeSlice<T>::iterator to;
452 
453  for (from = object.begin(); from != object.end(); ++from) {
454 
455  for (to = std::vector<T>::begin(); to != std::vector<T>::end(); ++to) {
456  if (*to == *from) {
457  *to += *from;
458  break;
459  }
460  }
461 
462  if (to == std::vector<T>::end()) {
463  this->push_back(*from);
464  }
465  }
466  }
467 
468  return *this;
469  }
Template TimeSlice.
Definition: TimeSlice.hh:396
Interface for event classes.
TimeSlice< Status_Frame >::ClassDef ( TimeSlice< Status_Frame ,
 
)
inherited

ROOT class definition.

EventPreamble::ClassDef ( EventPreamble  ,
 
)
inherited

Member Data Documentation

unsigned short EventPreamble::frameTarget
inherited

Unique code representing the shore station for this frame.

Definition at line 26 of file EventPreamble.hh.

unsigned int EventPreamble::frameTime1
inherited

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

Definition at line 29 of file EventPreamble.hh.

unsigned int EventPreamble::frameTime2
inherited

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

Definition at line 31 of file EventPreamble.hh.

unsigned int EventPreamble::frameIndex
inherited

Number of frames since start of the run.

Definition at line 34 of file EventPreamble.hh.

unsigned int EventPreamble::runNumber
inherited

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: