Project
Loading...
Searching...
No Matches
FairEventHeader.h
Go to the documentation of this file.
1/********************************************************************************
2 * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3 * *
4 * This software is distributed under the terms of the *
5 * GNU Lesser General Public Licence (LGPL) version 3, *
6 * copied verbatim in the file "LICENSE" *
7 ********************************************************************************/
8// -------------------------------------------------------------------------
9// ----- FairEventHeader header file -----
10// ----- Created 08/09/04 D.Bertini -----
11// -------------------------------------------------------------------------
12
13#ifndef FAIREVENTHEADER_H
14#define FAIREVENTHEADER_H
15
16#include <Rtypes.h> // for Int_t, Double_t, UInt_t, ClassDef, etc
17#include <TNamed.h> // for TNamed
18
24class FairEventHeader : public TNamed
25{
26 public:
29
31 UInt_t GetRunId() { return fRunId; }
32
34 Double_t GetEventTime() { return fEventTime; }
35
37 Int_t GetInputFileId() { return fInputFileId; }
38
40 Int_t GetMCEntryNumber() { return fMCEntryNo; }
41
45 void SetRunId(UInt_t runid) { fRunId = runid; }
46
50 void SetEventTime(Double_t time) { fEventTime = time; }
51
53 void SetInputFileId(Int_t id) { fInputFileId = id; }
54
56 void SetMCEntryNumber(Int_t id) { fMCEntryNo = id; }
57
61 virtual ~FairEventHeader();
62 virtual void Register(Bool_t Persistance = kTRUE);
63
64 protected:
66 UInt_t fRunId;
68 Double_t fEventTime;
73
75};
76
77#endif
int16_t time
Definition RawEventData.h:4
void SetInputFileId(Int_t id)
virtual ~FairEventHeader()
void SetRunId(UInt_t runid)
Double_t GetEventTime()
virtual void Register(Bool_t Persistance=kTRUE)
void SetMCEntryNumber(Int_t id)
ClassDef(FairEventHeader, 3)
void SetEventTime(Double_t time)
GLuint id
Definition glcorearb.h:650