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
PHG4EventHeaderv1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4EventHeaderv1.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4MAIN_PHG4EVENTHEADERV1_H
4
#define G4MAIN_PHG4EVENTHEADERV1_H
5
6
#include "
PHG4EventHeader.h
"
7
8
#include <iostream>
9
11
class
PHG4EventHeaderv1
:
public
PHG4EventHeader
12
{
13
public
:
14
15
PHG4EventHeaderv1
();
16
18
~PHG4EventHeaderv1
()
override
{}
19
21
void
Reset
()
override
;
22
26
void
identify
(std::ostream&
os
= std::cout)
const override
;
27
29
int
isValid
()
const override
;
30
32
int
get_EvtSequence
()
const override
{
return
evtseq
;}
34
void
set_EvtSequence
(
const
int
ival)
override
{
evtseq
= ival;}
35
36
float
get_ImpactParameter
()
const override
{
return
bimp
;}
37
void
set_ImpactParameter
(
const
float
b
)
override
{
bimp
=
b
;}
38
39
float
get_EventPlaneAngle
()
const override
{
return
rplane
;}
40
void
set_EventPlaneAngle
(
const
float
r
)
override
{
rplane
=
r
;}
41
42
protected
:
43
int
evtseq
;
44
float
bimp
;
45
float
rplane
;
46
47
private
:
// prevent doc++ from showing ClassDefOverride
48
ClassDefOverride(
PHG4EventHeaderv1
,1)
49
50
};
51
52
#endif
coresoftware
blob
master
simulation
g4simulation
g4main
PHG4EventHeaderv1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:15
using
1.8.2 with
sPHENIX GitHub integration