EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
BeastMagneticField
delphes_EIC
Doxygen_Assist
east
eic-smear
EicRoot
eicsmear-jetexample
eicsmeardetectors
EicToyModel
estarlight
Fun4All-lmon
fun4all_coresoftware
blob
master
calibrations
generators
offline
database
framework
ffamodules
ffaobjects
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
frog
fun4all
fun4allraw
phool
phoolraw
packages
QA
simulation
fun4all_eic_qa
fun4all_eic_tutorials
fun4all_eicdetectors
fun4all_eicmacros
fun4all_g4jleic
fun4all_GenFit
fun4all_macros
fun4all_tutorials
g4exampledetector
g4lblvtx
online_distribution
PEPSI
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
EventHeaderv1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EventHeaderv1.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef FFAOBJECTS_EVENTHEADERV1_H
4
#define FFAOBJECTS_EVENTHEADERV1_H
5
6
#include "
EventHeader.h
"
7
8
#include <cstdint>
// for int64_t
9
#include <iostream>
// for cout, ostream
10
#include <map>
11
#include <string>
12
13
class
PHObject
;
14
16
class
EventHeaderv1
:
public
EventHeader
17
{
18
public
:
20
EventHeaderv1
() =
default
;
22
~EventHeaderv1
()
override
=
default
;
23
24
PHObject
*
CloneMe
()
const override
{
return
new
EventHeaderv1
(*
this
); }
25
27
void
Reset
()
override
;
28
32
void
identify
(std::ostream &os = std::cout)
const override
;
33
35
int
isValid
()
const override
;
36
38
int
get_RunNumber
()
const override
{
return
RunNumber
; }
40
void
set_RunNumber
(
const
int
run
)
override
{
RunNumber
=
run
; }
41
43
int
get_EvtSequence
()
const override
{
return
EvtSequence
; }
45
void
set_EvtSequence
(
const
int
evtno)
override
{
EvtSequence
= evtno; }
46
47
void
set_floatval
(
const
std::string &
name
,
const
float
fval)
override
;
48
float
get_floatval
(
const
std::string &
name
)
const override
;
49
50
void
set_intval
(
const
std::string &
name
,
const
int64_t ival)
override
;
51
int64_t
get_intval
(
const
std::string &
name
)
const override
;
52
53
private
:
54
int
RunNumber
= 0;
// Run number
55
int
EvtSequence
= 0;
// Event number
56
std::map<std::string, int64_t>
m_IntEventProperties
;
57
std::map<std::string, float>
m_FloatEventProperties
;
58
59
ClassDefOverride(
EventHeaderv1
, 2)
60
61
};
62
63
#endif
fun4all_coresoftware
blob
master
offline
framework
ffaobjects
EventHeaderv1.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:43
using
1.8.2 with
EIC GitHub integration