Class Reference for E1039 Core & Analysis Software
PHG4EventHeaderv1.h
Go to the documentation of this file.
1
#ifndef PHG4EVENTHEADERV1_H
2
#define PHG4EVENTHEADERV1_H
3
4
#include "
PHG4EventHeader.h
"
5
6
#include <
phool/phool.h
>
7
8
#include <cmath>
9
#include <iostream>
10
12
class
PHG4EventHeaderv1
:
public
PHG4EventHeader
13
{
14
public
:
15
16
PHG4EventHeaderv1
();
17
19
virtual
~PHG4EventHeaderv1
() {}
20
22
virtual
void
Reset
();
23
27
void
identify
(std::ostream& os = std::cout)
const
;
28
30
int
isValid
()
const
;
31
33
int
get_EvtSequence
()
const
{
return
evtseq
;}
35
void
set_EvtSequence
(
const
int
ival) {
evtseq
= ival;}
36
37
float
get_ImpactParameter
()
const
{
return
bimp
;}
38
void
set_ImpactParameter
(
const
float
b) {
bimp
= b;}
39
40
float
get_EventPlaneAngle
()
const
{
return
rplane
;}
41
void
set_EventPlaneAngle
(
const
float
r) {
rplane
= r;}
42
43
protected
:
44
int
evtseq
;
45
float
bimp
;
46
float
rplane
;
47
48
private
:
// prevent doc++ from showing ClassDef
49
ClassDef(
PHG4EventHeaderv1
,1)
50
51
};
52
53
#endif
54
55
56
PHG4EventHeader.h
PHG4EventHeader
Definition:
PHG4EventHeader.h:12
PHG4EventHeaderv1
Definition:
PHG4EventHeaderv1.h:13
PHG4EventHeaderv1::get_EvtSequence
int get_EvtSequence() const
get Event Number
Definition:
PHG4EventHeaderv1.h:33
PHG4EventHeaderv1::rplane
float rplane
Definition:
PHG4EventHeaderv1.h:46
PHG4EventHeaderv1::evtseq
int evtseq
Definition:
PHG4EventHeaderv1.h:44
PHG4EventHeaderv1::set_EventPlaneAngle
void set_EventPlaneAngle(const float r)
Definition:
PHG4EventHeaderv1.h:41
PHG4EventHeaderv1::bimp
float bimp
Definition:
PHG4EventHeaderv1.h:45
PHG4EventHeaderv1::isValid
int isValid() const
isValid returns non zero if object contains valid data
Definition:
PHG4EventHeaderv1.cc:14
PHG4EventHeaderv1::get_ImpactParameter
float get_ImpactParameter() const
Definition:
PHG4EventHeaderv1.h:37
PHG4EventHeaderv1::get_EventPlaneAngle
float get_EventPlaneAngle() const
Definition:
PHG4EventHeaderv1.h:40
PHG4EventHeaderv1::identify
void identify(std::ostream &os=std::cout) const
Definition:
PHG4EventHeaderv1.cc:32
PHG4EventHeaderv1::PHG4EventHeaderv1
PHG4EventHeaderv1()
Definition:
PHG4EventHeaderv1.cc:7
PHG4EventHeaderv1::set_ImpactParameter
void set_ImpactParameter(const float b)
Definition:
PHG4EventHeaderv1.h:38
PHG4EventHeaderv1::set_EvtSequence
void set_EvtSequence(const int ival)
set Event Number
Definition:
PHG4EventHeaderv1.h:35
PHG4EventHeaderv1::Reset
virtual void Reset()
Clear Event.
Definition:
PHG4EventHeaderv1.cc:24
PHG4EventHeaderv1::~PHG4EventHeaderv1
virtual ~PHG4EventHeaderv1()
dtor
Definition:
PHG4EventHeaderv1.h:19
phool.h
e1039-core
simulation
g4main
PHG4EventHeaderv1.h
Built by
Haiwang Yu
. updated:
Thu Jan 30 2025 10:15:16
using
1.9.1 with
SeaQuest GitHub integration