Template TimeSlice.
More...
#include <TimeSlice.hh>
|
| typedef T | frame_type |
| | item type definition
|
| |
| typedef frame_type::item_type | item_type |
| | item sub-type definition
|
| |
|
| 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.
|
| |
template<class T>
class TimeSlice< T >
Template TimeSlice.
Definition at line 396 of file TimeSlice.hh.
◆ frame_type
◆ item_type
template<class T >
| frame_type::item_type TimeSlice< T >::item_type |
◆ TimeSlice() [1/2]
Default constructor.
Definition at line 407 of file TimeSlice.hh.
407 :
410 {}
EventPreamble()
Default constructor.
◆ TimeSlice() [2/2]
◆ operator+=()
operator +=
- Parameters
-
- Returns
- this time slice
Definition at line 446 of file TimeSlice.hh.
447 {
449
452
453 for (from = object.begin(); from != object.end(); ++from) {
454
456 if (*to == *from) {
457 *to += *from;
458 break;
459 }
460 }
461
463 this->push_back(*from);
464 }
465 }
466 }
467
468 return *this;
469 }
Interface for event classes.
◆ ClassDef() [1/2]
◆ ClassDef() [2/2]
◆ operator<<
template<class T >
| std::ostream & operator<< |
( |
std::ostream & | out, |
|
|
const TimeSlice< T > & | object ) |
|
friend |
Print ASCII.
- Parameters
-
| out | output stream |
| object | time slice |
- Returns
- output stream
Definition at line 429 of file TimeSlice.hh.
430 {
431 out << static_cast<const EventPreamble&>(object);
432
434 out << *i;
435 }
436
437 return out;
438 }
◆ 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 |
◆ frameTime2
| unsigned int EventPreamble::frameTime2 |
|
inherited |
◆ frameIndex
| unsigned int EventPreamble::frameIndex |
|
inherited |
◆ runNumber
| unsigned int EventPreamble::runNumber |
|
inherited |
The documentation for this class was generated from the following file: