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
RunHeaderv1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file RunHeaderv1.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef FFAOBJECTS_RUNHEADERV1_H
4
#define FFAOBJECTS_RUNHEADERV1_H
5
6
#include "
RunHeader.h
"
7
8
#include <iostream>
9
#include <map>
10
#include <string>
11
12
class
RunHeaderv1
:
public
RunHeader
13
{
14
public
:
15
RunHeaderv1
() =
default
;
16
~RunHeaderv1
()
override
=
default
;
17
18
void
Reset
()
override
{
return
; }
19
void
identify
(std::ostream &
os
= std::cout)
const override
;
20
int
isValid
()
const override
;
21
22
int
get_RunNumber
()
const override
{
return
RunNumber
; }
23
void
set_RunNumber
(
const
int
run
)
override
24
{
25
RunNumber
=
run
;
26
return
;
27
}
28
29
void
set_floatval
(
const
std::string
&
name
,
const
float
fval)
override
;
30
float
get_floatval
(
const
std::string
&
name
)
const override
;
31
32
void
set_intval
(
const
std::string
&
name
,
const
int
ival)
override
;
33
int
get_intval
(
const
std::string
&
name
)
const override
;
34
35
private
:
36
int
RunNumber
= 0;
37
std::map<std::string, int>
m_IntRunProperties
;
38
std::map<std::string, float>
m_FloatRunProperties
;
39
40
ClassDefOverride(
RunHeaderv1
, 1)
41
};
42
43
#endif
/* FFAOBJECTS_RUNHEADERV1_H */
coresoftware
blob
master
offline
framework
ffaobjects
RunHeaderv1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:04
using
1.8.2 with
sPHENIX GitHub integration