Jpp 19.3.0-rc.1
the software that should make you happy
Loading...
Searching...
No Matches
DWF_TimeSlice Class Reference

DWF time slices. More...

#include <TimeSlice.hh>

Inheritance diagram for DWF_TimeSlice:
TimeSlice< DWF_Frame > EventPreamble std::vector< DWF_Frame > TObject

Public Types

typedef DWF_Frame frame_type
 item type definition
 
typedef frame_type::item_type item_type
 item sub-type definition
 

Public Member Functions

 DWF_TimeSlice ()
 Default constructor.
 
 ClassDef (DWF_TimeSlice, 2)
 ROOT class definition.
 
TimeSlice< DWF_Frame > & operator+= (const TimeSlice< DWF_Frame > &object)
 operator +=
 
 ClassDef (TimeSlice, 2)
 ROOT class definition.
 
 ClassDef (EventPreamble, 2)
 

Public Attributes

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

Detailed Description

DWF time slices.

Definition at line 570 of file TimeSlice.hh.

Member Typedef Documentation

◆ frame_type

DWF_Frame TimeSlice< DWF_Frame >::frame_type
inherited

item type definition

Definition at line 401 of file TimeSlice.hh.

◆ item_type

frame_type::item_type TimeSlice< DWF_Frame >::item_type
inherited

item sub-type definition

Definition at line 402 of file TimeSlice.hh.

Constructor & Destructor Documentation

◆ DWF_TimeSlice()

DWF_TimeSlice::DWF_TimeSlice ( )
inline

Default constructor.

Definition at line 577 of file TimeSlice.hh.

Template TimeSlice.
Definition TimeSlice.hh:399

Member Function Documentation

◆ ClassDef() [1/3]

DWF_TimeSlice::ClassDef ( DWF_TimeSlice ,
2  )

ROOT class definition.

◆ operator+=()

TimeSlice< DWF_Frame > & TimeSlice< DWF_Frame >::operator+= ( const TimeSlice< DWF_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 }
Interface for event classes.

◆ ClassDef() [2/3]

TimeSlice< DWF_Frame >::ClassDef ( TimeSlice< DWF_Frame > ,
2  )
inherited

ROOT class definition.

◆ ClassDef() [3/3]

EventPreamble::ClassDef ( EventPreamble ,
2  )
inherited

Member Data Documentation

◆ frameTarget

unsigned short EventPreamble::frameTarget
inherited

Unique code representing the shore station for this frame.

Definition at line 26 of file EventPreamble.hh.

◆ frameTime1

unsigned int EventPreamble::frameTime1
inherited

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

Definition at line 29 of file EventPreamble.hh.

◆ frameTime2

unsigned int EventPreamble::frameTime2
inherited

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

Definition at line 31 of file EventPreamble.hh.

◆ frameIndex

unsigned int EventPreamble::frameIndex
inherited

Number of frames since start of the run.

Definition at line 34 of file EventPreamble.hh.

◆ runNumber

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: