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
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
FairEventHeader.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file FairEventHeader.h
1
// -------------------------------------------------------------------------
2
// ----- FairEventHeader header file -----
3
// ----- Created 08/09/04 D.Bertini -----
4
// -------------------------------------------------------------------------
5
6
#ifndef FAIREVENTHEADER_H
7
#define FAIREVENTHEADER_H
8
9
10
#include "TNamed.h"
11
17
class
FairEventHeader
:
public
TNamed
18
{
19
20
public
:
21
23
FairEventHeader
();
24
26
UInt_t
GetRunId
() {
return
fRunId
;}
27
29
Double_t
GetEventTime
() {
return
fEventTime
;}
30
32
Int_t
GetInputFileId
() {
return
fInputFileId
;}
33
35
Int_t
GetMCEntryNumber
() {
return
fMCEntryNo
;}
36
40
void
SetRunId
(UInt_t runid) {
fRunId
=runid;}
41
45
void
SetEventTime
(Double_t
time
) {
fEventTime
=
time
;}
46
48
void
SetInputFileId
(Int_t
id
) {
fInputFileId
=id;}
49
51
void
SetMCEntryNumber
(Int_t
id
) {
fMCEntryNo
=id;}
52
56
virtual
~FairEventHeader
();
57
virtual
void
Register
();
58
protected
:
59
61
UInt_t
fRunId
;
63
Double_t
fEventTime
;
65
Int_t
fInputFileId
;
67
Int_t
fMCEntryNo
;
68
69
70
ClassDef(
FairEventHeader
,3)
71
72
};
73
#endif
EicRoot
blob
master
base
FairEventHeader.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:32
using
1.8.2 with
EIC GitHub integration