ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SyncObjectv1 Class Reference

#include <coresoftware/blob/master/offline/framework/ffaobjects/SyncObjectv1.h>

+ Inheritance diagram for SyncObjectv1:
+ Collaboration diagram for SyncObjectv1:

Public Member Functions

 SyncObjectv1 ()=default
 ctor
 
 SyncObjectv1 (const SyncObject &source)
 
PHObjectCloneMe () const override
 Virtual copy constructor.
 
 ~SyncObjectv1 () override=default
 dtor
 
void Reset () override
 Clear Event.
 
void identify (std::ostream &os=std::cout) const override
 
int isValid () const override
 isValid returns non zero if object contains valid data
 
void EventCounter (const int ival) override
 set Event Counter
 
void EventNumber (const int ival) override
 set Event Number
 
void RunNumber (const int ival) override
 set Run Number
 
void SegmentNumber (const int ival) override
 set Segment Number
 
- Public Member Functions inherited from SyncObject
 ~SyncObject () override
 dtor
 
virtual SyncObjectoperator= (const SyncObject &source)
 
virtual int Different (const SyncObject *other) const
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor
 
 ~PHObject () override
 dtor
 
virtual PHObjectclone () const final
 
PHObjectClone (const char *newname="") const final
 
void Copy (TObject &object) const final
 
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
 
virtual int Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Protected Member Functions

int EventCounter () const override
 get Event Counter
 
int EventNumber () const override
 get Event Number
 
int RunNumber () const override
 get Run Number
 
- Protected Member Functions inherited from SyncObject
virtual int SegmentNumber () const
 get Segment Number
 

Private Attributes

int eventcounter = 0
 
int eventnumber = 0
 
int runnumber = 0
 
int segmentnumber = -999999
 

Detailed Description

Definition at line 12 of file SyncObjectv1.h.

View newest version in sPHENIX GitHub at line 12 of file SyncObjectv1.h

Constructor & Destructor Documentation

SyncObjectv1::SyncObjectv1 ( )
default

ctor

Referenced by CloneMe().

+ Here is the caller graph for this function:

SyncObjectv1::SyncObjectv1 ( const SyncObject source)
explicit

Definition at line 3 of file SyncObjectv1.cc.

View newest version in sPHENIX GitHub at line 3 of file SyncObjectv1.cc

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

+ Here is the call graph for this function:

SyncObjectv1::~SyncObjectv1 ( )
overridedefault

dtor

Member Function Documentation

PHObject* SyncObjectv1::CloneMe ( ) const
inlineoverridevirtual

Virtual copy constructor.

Reimplemented from SyncObject.

Definition at line 19 of file SyncObjectv1.h.

View newest version in sPHENIX GitHub at line 19 of file SyncObjectv1.h

References SyncObjectv1().

+ Here is the call graph for this function:

void SyncObjectv1::EventCounter ( const int  ival)
inlineoverridevirtual

set Event Counter

Reimplemented from SyncObject.

Definition at line 35 of file SyncObjectv1.h.

View newest version in sPHENIX GitHub at line 35 of file SyncObjectv1.h

References eventcounter.

int SyncObjectv1::EventCounter ( ) const
inlineoverrideprotectedvirtual

get Event Counter

Reimplemented from SyncObject.

Definition at line 48 of file SyncObjectv1.h.

View newest version in sPHENIX GitHub at line 48 of file SyncObjectv1.h

References eventcounter.

Referenced by SyncObjectv1().

+ Here is the caller graph for this function:

void SyncObjectv1::EventNumber ( const int  ival)
inlineoverridevirtual

set Event Number

Reimplemented from SyncObject.

Definition at line 38 of file SyncObjectv1.h.

View newest version in sPHENIX GitHub at line 38 of file SyncObjectv1.h

References eventnumber.

int SyncObjectv1::EventNumber ( ) const
inlineoverrideprotectedvirtual

get Event Number

Reimplemented from SyncObject.

Definition at line 50 of file SyncObjectv1.h.

View newest version in sPHENIX GitHub at line 50 of file SyncObjectv1.h

References eventnumber.

Referenced by SyncObjectv1().

+ Here is the caller graph for this function:

void SyncObjectv1::identify ( std::ostream &  os = std::cout) const
overridevirtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from SyncObject.

Definition at line 20 of file SyncObjectv1.cc.

View newest version in sPHENIX GitHub at line 20 of file SyncObjectv1.cc

References eventcounter, eventnumber, runnumber, and segmentnumber.

int SyncObjectv1::isValid ( ) const
overridevirtual

isValid returns non zero if object contains valid data

Reimplemented from SyncObject.

Definition at line 32 of file SyncObjectv1.cc.

View newest version in sPHENIX GitHub at line 32 of file SyncObjectv1.cc

References eventcounter.

void SyncObjectv1::Reset ( )
overridevirtual

Clear Event.

Reimplemented from SyncObject.

Definition at line 11 of file SyncObjectv1.cc.

View newest version in sPHENIX GitHub at line 11 of file SyncObjectv1.cc

References eventcounter, eventnumber, runnumber, and segmentnumber.

void SyncObjectv1::RunNumber ( const int  ival)
inlineoverridevirtual

set Run Number

Reimplemented from SyncObject.

Definition at line 41 of file SyncObjectv1.h.

View newest version in sPHENIX GitHub at line 41 of file SyncObjectv1.h

References runnumber.

int SyncObjectv1::RunNumber ( ) const
inlineoverrideprotectedvirtual

get Run Number

Reimplemented from SyncObject.

Definition at line 52 of file SyncObjectv1.h.

View newest version in sPHENIX GitHub at line 52 of file SyncObjectv1.h

References runnumber.

Referenced by SyncObjectv1().

+ Here is the caller graph for this function:

void SyncObjectv1::SegmentNumber ( const int  ival)
inlineoverridevirtual

set Segment Number

Reimplemented from SyncObject.

Definition at line 44 of file SyncObjectv1.h.

View newest version in sPHENIX GitHub at line 44 of file SyncObjectv1.h

References segmentnumber.

Member Data Documentation

int SyncObjectv1::eventcounter = 0
private

Definition at line 55 of file SyncObjectv1.h.

View newest version in sPHENIX GitHub at line 55 of file SyncObjectv1.h

Referenced by EventCounter(), identify(), isValid(), and Reset().

int SyncObjectv1::eventnumber = 0
private

Definition at line 56 of file SyncObjectv1.h.

View newest version in sPHENIX GitHub at line 56 of file SyncObjectv1.h

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

int SyncObjectv1::runnumber = 0
private

Definition at line 57 of file SyncObjectv1.h.

View newest version in sPHENIX GitHub at line 57 of file SyncObjectv1.h

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

int SyncObjectv1::segmentnumber = -999999
private

Definition at line 58 of file SyncObjectv1.h.

View newest version in sPHENIX GitHub at line 58 of file SyncObjectv1.h

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


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