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
ffarawmodules
ffarawobjects
frog
fun4all
fun4allraw
fun4allutils
phool
getClass.h
onnxlib.cc
onnxlib.h
PHCompositeNode.cc
PHCompositeNode.h
PHDataNode.h
PHDataNodeIterator.h
PHFlag.cc
PHFlag.h
PHIODataNode.h
PHIOManager.h
PHLog.h
PHMessage.cc
PHMessage.h
PHNode.cc
PHNode.h
PHNodeIntegrate.cc
PHNodeIntegrate.h
PHNodeIOManager.cc
PHNodeIOManager.h
PHNodeIterator.cc
PHNodeIterator.h
PHNodeOperation.h
PHNodeReset.cc
PHNodeReset.h
PHObject.cc
PHObject.h
PHObjectLinkDef.h
phool.h
phooldefs.h
PHPointerList.h
PHPointerListIterator.h
PHRandomSeed.cc
PHRandomSeed.h
PHTimer.cc
PHTimer.h
PHTimeServer.cc
PHTimeServer.h
PHTimeStamp.cc
PHTimeStamp.h
PHTimeStampLinkDef.h
PHTypedNodeIterator.h
recoConsts.cc
recoConsts.h
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
PHIOManager.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHIOManager.h
1
#ifndef PHOOL_PHIOMANAGER_H
2
#define PHOOL_PHIOMANAGER_H
3
4
// Declaration of class PHIOManager
5
// Purpose: Abstract base class for file IO
6
// Author: Matthias Messer
7
8
#include <cstddef>
9
#include <string>
10
11
class
PHCompositeNode
;
12
13
class
PHIOManager
14
{
15
public
:
16
virtual
~PHIOManager
() {}
17
18
public
:
19
std::string
getFilename
()
const
{
return
filename
; }
20
size_t
getEventNumber
()
const
{
return
eventNumber
; }
21
void
setEventNumber
(
const
size_t
evno)
22
{
23
eventNumber
= evno;
24
return
;
25
}
26
virtual
void
closeFile
() = 0;
27
virtual
bool
write
(
PHCompositeNode
*) = 0;
28
virtual
void
print
()
const
= 0;
29
30
protected
:
31
PHIOManager
() {}
32
std::string
filename
;
33
size_t
eventNumber
= 0;
34
};
35
36
#endif
coresoftware
blob
master
offline
framework
phool
PHIOManager.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:05
using
1.8.2 with
sPHENIX GitHub integration