Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
EventHeaderv2.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EventHeaderv2.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef FFAOBJECTS_EVENTHEADERV2_H
4
#define FFAOBJECTS_EVENTHEADERV2_H
5
11
#include "
EventHeaderv1.h
"
12
13
#include <cstdint>
// for int64_t
14
#include <iostream>
// for cout, ostream
15
16
class
PHObject
;
17
19
class
EventHeaderv2
:
public
EventHeaderv1
20
{
21
public
:
23
EventHeaderv2
() =
default
;
24
26
~EventHeaderv2
()
override
=
default
;
27
29
PHObject
*
CloneMe
()
const override
30
{
31
return
new
EventHeaderv2
(*
this
);
32
}
33
35
void
Reset
()
override
;
36
41
void
identify
(std::ostream&
os
= std::cout)
const override
;
42
44
void
set_BunchCrossing
(int64_t
value
)
override
45
{
46
m_bunchCrossing
=
value
;
47
}
48
50
int64_t
get_BunchCrossing
()
const override
51
{
52
return
m_bunchCrossing
;
53
}
54
55
private
:
57
int64_t
m_bunchCrossing
= 0;
58
59
ClassDefOverride(
EventHeaderv2
, 2)
60
};
61
62
#endif
coresoftware
blob
master
offline
framework
ffaobjects
EventHeaderv2.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:04
using
1.8.2 with
sPHENIX GitHub integration