Class Reference for E1039 Core & Analysis Software
SyncObjectv2 Class Reference

#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/framework/ffaobjects/SyncObjectv2.h>

+ Inheritance diagram for SyncObjectv2:
+ Collaboration diagram for SyncObjectv2:

Public Member Functions

 SyncObjectv2 ()
 ctor More...
 
 SyncObjectv2 (const SyncObject &)
 
SyncObjectv2clone () const
 Virtual copy constructor. More...
 
virtual ~SyncObjectv2 ()
 dtor More...
 
void Reset ()
 Clear Event. More...
 
void identify (std::ostream &os=std::cout) const
 
void SegmentNumber (const int ival)
 set Segment Number More...
 
- Public Member Functions inherited from SyncObjectv1
 SyncObjectv1 ()
 ctor More...
 
 SyncObjectv1 (const SyncObject &)
 
virtual ~SyncObjectv1 ()
 dtor More...
 
int isValid () const
 isValid returns non zero if object contains valid data More...
 
void EventCounter (const int ival)
 set Event Counter More...
 
void EventNumber (const int ival)
 set Event Number More...
 
void RunNumber (const int ival)
 set Run Number More...
 
- Public Member Functions inherited from SyncObject
virtual ~SyncObject ()
 dtor More...
 
virtual SyncObjectoperator= (const SyncObject &source)
 
virtual int Different (const SyncObject *other) const
 
virtual ~SyncObject ()
 dtor More...
 
virtual SyncObjectoperator= (const SyncObject &source)
 
virtual int Different (const SyncObject *other) const
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor More...
 
virtual ~PHObject ()
 dtor More...
 
virtual int isValid (const float) const
 
virtual int isValid (const double) const
 
virtual int isValid (const int) const
 
virtual int isValid (const unsigned int) const
 
virtual int isImplemented (const float f) const
 
virtual int isImplemented (const double f) const
 
virtual int isImplemented (const int i) const
 
virtual int isImplemented (const unsigned int i) const
 
void SplitLevel (const int i)
 
int SplitLevel () const
 
void BufferSize (const int i)
 
int BufferSize () const
 

Protected Member Functions

int SegmentNumber () const
 get Segment Number More...
 
- Protected Member Functions inherited from SyncObjectv1
int EventCounter () const
 get Event Counter More...
 
int EventNumber () const
 get Event Number More...
 
int RunNumber () const
 get Run Number More...
 

Protected Attributes

int segmentnumber
 
- Protected Attributes inherited from SyncObjectv1
int eventcounter
 
int eventnumber
 
int runnumber
 

Detailed Description

Definition at line 7 of file SyncObjectv2.h.

Constructor & Destructor Documentation

◆ SyncObjectv2() [1/2]

SyncObjectv2::SyncObjectv2 ( )

ctor

Definition at line 9 of file SyncObjectv2.cc.

Referenced by clone().

+ Here is the caller graph for this function:

◆ SyncObjectv2() [2/2]

SyncObjectv2::SyncObjectv2 ( const SyncObject source)

Definition at line 15 of file SyncObjectv2.cc.

References SyncObjectv1::EventCounter(), SyncObject::EventCounter(), SyncObjectv1::EventNumber(), SyncObject::EventNumber(), SyncObjectv1::RunNumber(), SyncObject::RunNumber(), SegmentNumber(), and SyncObject::SegmentNumber().

+ Here is the call graph for this function:

◆ ~SyncObjectv2()

virtual SyncObjectv2::~SyncObjectv2 ( )
inlinevirtual

dtor

Definition at line 17 of file SyncObjectv2.h.

Member Function Documentation

◆ clone()

SyncObjectv2* SyncObjectv2::clone ( ) const
inlinevirtual

Virtual copy constructor.

Reimplemented from SyncObjectv1.

Definition at line 15 of file SyncObjectv2.h.

References SyncObjectv2().

+ Here is the call graph for this function:

◆ identify()

void SyncObjectv2::identify ( std::ostream &  os = std::cout) const
virtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from SyncObjectv1.

Definition at line 30 of file SyncObjectv2.cc.

References SyncObjectv1::eventcounter, SyncObjectv1::eventnumber, SyncObjectv1::runnumber, and segmentnumber.

◆ Reset()

void SyncObjectv2::Reset ( )
virtual

Clear Event.

Reimplemented from SyncObjectv1.

Definition at line 23 of file SyncObjectv2.cc.

References SyncObjectv1::Reset(), and segmentnumber.

+ Here is the call graph for this function:

◆ SegmentNumber() [1/2]

int SyncObjectv2::SegmentNumber ( ) const
inlineprotectedvirtual

get Segment Number

Reimplemented from SyncObject.

Definition at line 33 of file SyncObjectv2.h.

References segmentnumber.

Referenced by SyncObjectv2().

+ Here is the caller graph for this function:

◆ SegmentNumber() [2/2]

void SyncObjectv2::SegmentNumber ( const int  ival)
inlinevirtual

set Segment Number

Reimplemented from SyncObject.

Definition at line 28 of file SyncObjectv2.h.

References segmentnumber.

Member Data Documentation

◆ segmentnumber

int SyncObjectv2::segmentnumber
protected

Definition at line 35 of file SyncObjectv2.h.

Referenced by identify(), Reset(), and SegmentNumber().


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