Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
blob
master
calibrations
generators
offline
database
framework
ffamodules
ffaobjects
CdbUrlSave.cc
CdbUrlSave.h
CdbUrlSaveLinkDef.h
CdbUrlSavev1.cc
CdbUrlSavev1.h
CdbUrlSavev1LinkDef.h
EventHeader.cc
EventHeader.h
EventHeaderLinkDef.h
EventHeaderv1.cc
EventHeaderv1.h
EventHeaderv1LinkDef.h
EventHeaderv2.cc
EventHeaderv2.h
EventHeaderv2LinkDef.h
FlagSave.h
FlagSaveLinkDef.h
FlagSavev1.cc
FlagSavev1.h
FlagSavev1LinkDef.h
RunHeader.cc
RunHeader.h
RunHeaderLinkDef.h
RunHeaderv1.cc
RunHeaderv1.h
RunHeaderv1LinkDef.h
SyncDefs.h
SyncObject.cc
SyncObject.h
SyncObjectLinkDef.h
SyncObjectv1.cc
SyncObjectv1.h
SyncObjectv1LinkDef.h
ffarawmodules
ffarawobjects
frog
fun4all
fun4allraw
fun4allutils
phool
phoolraw
packages
QA
simulation
validation
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SyncObject.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file SyncObject.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef FFAOBJECTS_SYNCOBJECT_H
4
#define FFAOBJECTS_SYNCOBJECT_H
5
6
#include <
phool/PHObject.h
>
7
8
#include <iostream>
9
11
class
SyncObject
:
public
PHObject
12
{
13
public
:
15
SyncObject
() =
default
;
17
SyncObject
(
const
SyncObject
&
source
) =
default
;
19
~SyncObject
()
override
{}
21
void
Reset
()
override
;
22
26
void
identify
(std::ostream&
os
= std::cout)
const override
;
27
29
int
isValid
()
const override
;
30
31
PHObject
*
CloneMe
()
const override
;
32
SyncObject
&
operator=
(
const
SyncObject
& source);
33
virtual
int
Different
(
const
SyncObject
* other)
const
;
34
36
virtual
void
EventCounter
(
const
int
/*ival*/
) {
return
; }
37
39
virtual
void
EventNumber
(
const
int
/*ival*/
) {
return
; }
40
42
virtual
void
SegmentNumber
(
const
int
/*ival*/
) {
return
; }
43
45
virtual
void
RunNumber
(
const
int
/*ival*/
) {
return
; }
46
47
protected
:
49
virtual
int
EventNumber
()
const
{
return
-9999; }
51
virtual
int
EventCounter
()
const
{
return
-9999; }
53
virtual
int
RunNumber
()
const
{
return
-9999; }
55
virtual
int
SegmentNumber
()
const
{
return
-9999; }
56
57
private
:
// prevent doc++ from showing ClassDefOverride
58
friend
class
SyncObjectv1
;
59
friend
class
Fun4AllDstInputManager
;
60
friend
class
Fun4AllDstPileupInputManager
;
61
friend
class
DumpSyncObject
;
62
friend
class
SegmentSelect
;
63
64
ClassDefOverride(
SyncObject
, 1)
65
};
66
67
#endif
coresoftware
blob
master
offline
framework
ffaobjects
SyncObject.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:04
using
1.8.2 with
sPHENIX GitHub integration