ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHG4EventHeader.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4EventHeader.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4MAIN_PHG4EVENTHEADER_H
4
#define G4MAIN_PHG4EVENTHEADER_H
5
6
#include <
phool/PHObject.h
>
7
#include <
phool/phool.h
>
8
9
#include <cmath>
10
#include <iostream>
11
13
class
PHG4EventHeader
:
public
PHObject
14
{
15
public
:
16
18
~PHG4EventHeader
()
override
{}
19
21
void
Reset
()
override
22
{
23
std::cout <<
PHWHERE
<<
"ERROR Reset() not implemented by daughter class"
<< std::endl;
24
return
;
25
}
26
30
void
identify
(std::ostream& os = std::cout)
const override
31
{
32
os <<
"identify yourself: virtual PHG4EventHeader Object"
<< std::endl;
33
return
;
34
}
35
37
int
isValid
()
const override
38
{
39
std::cout <<
PHWHERE
<<
"isValid not implemented by daughter class"
<< std::endl;
40
return
0;
41
}
42
44
virtual
int
get_EvtSequence
()
const
{
return
-9999;}
46
virtual
void
set_EvtSequence
(
const
int
/*ival*/
) {
return
;}
47
48
virtual
float
get_ImpactParameter
()
const
{
return
NAN;}
49
virtual
void
set_ImpactParameter
(
const
float
) {
return
;}
50
51
virtual
float
get_EventPlaneAngle
()
const
{
return
NAN;}
52
virtual
void
set_EventPlaneAngle
(
const
float
) {
return
;}
53
54
55
private
:
// prevent doc++ from showing ClassDefOverride
56
ClassDefOverride(
PHG4EventHeader
,1)
57
58
};
59
60
#endif
61
62
63
coresoftware
blob
master
simulation
g4simulation
g4main
PHG4EventHeader.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:44
using
1.8.2 with
ECCE GitHub integration