Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SyncObject Class Reference

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

+ Inheritance diagram for SyncObject:
+ Collaboration diagram for SyncObject:

Public Member Functions

 SyncObject ()=default
 ctor - daughter class copy ctor needs this
 
 SyncObject (const SyncObject &source)=default
 copy ctor daughter class copy ctor needs also this
 
 ~SyncObject () override
 dtor
 
void Reset () override
 Clear Sync.
 
void identify (std::ostream &os=std::cout) const override
 
int isValid () const override
 isValid returns non zero if object contains valid data
 
PHObjectCloneMe () const override
 Virtual copy constructor.
 
SyncObjectoperator= (const SyncObject &source)
 
virtual int Different (const SyncObject *other) const
 
virtual void EventCounter (const int)
 set Event Counter
 
virtual void EventNumber (const int)
 set Event Number
 
virtual void SegmentNumber (const int)
 set Segment Number
 
virtual void RunNumber (const int)
 set Run Number
 
- 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 Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Protected Member Functions

virtual int EventNumber () const
 get Event Number
 
virtual int EventCounter () const
 get Event Counter
 
virtual int RunNumber () const
 get Run Number
 
virtual int SegmentNumber () const
 get Segment Number
 

Friends

class SyncObjectv1
 
class Fun4AllDstInputManager
 
class Fun4AllDstPileupInputManager
 
class DumpSyncObject
 
class SegmentSelect
 

Detailed Description

Definition at line 11 of file SyncObject.h.

View newest version in sPHENIX GitHub at line 11 of file SyncObject.h

Constructor & Destructor Documentation

SyncObject::SyncObject ( )
default

ctor - daughter class copy ctor needs this

SyncObject::SyncObject ( const SyncObject source)
default

copy ctor daughter class copy ctor needs also this

SyncObject::~SyncObject ( )
inlineoverride

dtor

Definition at line 19 of file SyncObject.h.

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

Member Function Documentation

PHObject * SyncObject::CloneMe ( ) const
overridevirtual

Virtual copy constructor.

Reimplemented from PHObject.

Reimplemented in SyncObjectv1.

Definition at line 28 of file SyncObject.cc.

View newest version in sPHENIX GitHub at line 28 of file SyncObject.cc

Referenced by Fun4AllDstInputManager::GetSyncObject(), Fun4AllPrdfInputManager::GetSyncObject(), Fun4AllPrdfInputPoolManager::GetSyncObject(), and Fun4AllStreamingInputManager::GetSyncObject().

+ Here is the caller graph for this function:

int SyncObject::Different ( const SyncObject other) const
virtual

Definition at line 47 of file SyncObject.cc.

View newest version in sPHENIX GitHub at line 47 of file SyncObject.cc

References EventNumber(), and RunNumber().

Referenced by Fun4AllDstInputManager::SyncIt(), Fun4AllPrdfInputManager::SyncIt(), Fun4AllPrdfInputPoolManager::SyncIt(), and Fun4AllStreamingInputManager::SyncIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual void SyncObject::EventCounter ( const int  )
inlinevirtual

set Event Counter

Reimplemented in SyncObjectv1.

Definition at line 36 of file SyncObject.h.

View newest version in sPHENIX GitHub at line 36 of file SyncObject.h

Referenced by operator=(), SyncReco::process_event(), DumpSyncObject::process_Node(), Fun4AllPrdfInputManager::run(), Fun4AllDstInputManager::SyncIt(), and SyncObjectv1::SyncObjectv1().

+ Here is the caller graph for this function:

virtual int SyncObject::EventCounter ( ) const
inlineprotectedvirtual

get Event Counter

Reimplemented in SyncObjectv1.

Definition at line 51 of file SyncObject.h.

View newest version in sPHENIX GitHub at line 51 of file SyncObject.h

Referenced by operator=().

+ Here is the caller graph for this function:

virtual void SyncObject::EventNumber ( const int  )
inlinevirtual

set Event Number

Reimplemented in SyncObjectv1.

Definition at line 39 of file SyncObject.h.

View newest version in sPHENIX GitHub at line 39 of file SyncObject.h

Referenced by Different(), operator=(), SyncReco::process_event(), DumpSyncObject::process_Node(), Fun4AllPrdfInputManager::run(), Fun4AllDstInputManager::SyncIt(), and SyncObjectv1::SyncObjectv1().

+ Here is the caller graph for this function:

virtual int SyncObject::EventNumber ( ) const
inlineprotectedvirtual

get Event Number

Reimplemented in SyncObjectv1.

Definition at line 49 of file SyncObject.h.

View newest version in sPHENIX GitHub at line 49 of file SyncObject.h

Referenced by Different(), and operator=().

+ Here is the caller graph for this function:

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Reimplemented in SyncObjectv1.

Definition at line 15 of file SyncObject.cc.

View newest version in sPHENIX GitHub at line 15 of file SyncObject.cc

Referenced by SyncReco::process_event(), and Fun4AllDstInputManager::SyncIt().

+ Here is the caller graph for this function:

int SyncObject::isValid ( ) const
overridevirtual

isValid returns non zero if object contains valid data

Reimplemented from PHObject.

Reimplemented in SyncObjectv1.

Definition at line 21 of file SyncObject.cc.

View newest version in sPHENIX GitHub at line 21 of file SyncObject.cc

References PHWHERE.

Referenced by DumpSyncObject::process_Node().

+ Here is the caller graph for this function:

SyncObject & SyncObject::operator= ( const SyncObject source)

Definition at line 35 of file SyncObject.cc.

View newest version in sPHENIX GitHub at line 35 of file SyncObject.cc

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

+ Here is the call graph for this function:

void SyncObject::Reset ( )
overridevirtual

Clear Sync.

Reimplemented from PHObject.

Reimplemented in SyncObjectv1.

Definition at line 9 of file SyncObject.cc.

View newest version in sPHENIX GitHub at line 9 of file SyncObject.cc

References PHWHERE.

Referenced by Fun4AllPrdfInputManager::ResetEvent().

+ Here is the caller graph for this function:

virtual void SyncObject::RunNumber ( const int  )
inlinevirtual

set Run Number

Reimplemented in SyncObjectv1.

Definition at line 45 of file SyncObject.h.

View newest version in sPHENIX GitHub at line 45 of file SyncObject.h

Referenced by Different(), SyncReco::InitRun(), operator=(), SyncReco::process_event(), DumpSyncObject::process_Node(), Fun4AllPrdfInputManager::run(), Fun4AllDstInputManager::SyncIt(), and SyncObjectv1::SyncObjectv1().

+ Here is the caller graph for this function:

virtual int SyncObject::RunNumber ( ) const
inlineprotectedvirtual

get Run Number

Reimplemented in SyncObjectv1.

Definition at line 53 of file SyncObject.h.

View newest version in sPHENIX GitHub at line 53 of file SyncObject.h

Referenced by Different(), and operator=().

+ Here is the caller graph for this function:

virtual void SyncObject::SegmentNumber ( const int  )
inlinevirtual

set Segment Number

Reimplemented in SyncObjectv1.

Definition at line 42 of file SyncObject.h.

View newest version in sPHENIX GitHub at line 42 of file SyncObject.h

Referenced by operator=(), SyncReco::process_event(), DumpSyncObject::process_Node(), Fun4AllPrdfInputManager::run(), Fun4AllDstInputManager::SyncIt(), and SyncObjectv1::SyncObjectv1().

+ Here is the caller graph for this function:

virtual int SyncObject::SegmentNumber ( ) const
inlineprotectedvirtual

get Segment Number

Reimplemented in SyncObjectv1.

Definition at line 55 of file SyncObject.h.

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

Referenced by operator=().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class DumpSyncObject
friend

Definition at line 61 of file SyncObject.h.

View newest version in sPHENIX GitHub at line 61 of file SyncObject.h

friend class Fun4AllDstInputManager
friend

Definition at line 59 of file SyncObject.h.

View newest version in sPHENIX GitHub at line 59 of file SyncObject.h

friend class Fun4AllDstPileupInputManager
friend

Definition at line 60 of file SyncObject.h.

View newest version in sPHENIX GitHub at line 60 of file SyncObject.h

friend class SegmentSelect
friend

Definition at line 62 of file SyncObject.h.

View newest version in sPHENIX GitHub at line 62 of file SyncObject.h

friend class SyncObjectv1
friend

Definition at line 58 of file SyncObject.h.

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


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