Project
Loading...
Searching...
No Matches
FairEventHeader.cxx
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 source file -----
10// ----- Created 08/09/04 D. Bertini -----
11// -------------------------------------------------------------------------
12
13#include "FairEventHeader.h"
14
15#include "FairRootManager.h"
16
18 : fRunId(0)
19 , fEventTime(-1.)
20 , fInputFileId(0)
21 , fMCEntryNo(0)
22{}
23
25
26void FairEventHeader::Register(Bool_t Persistence)
27{
28 FairRootManager::Instance()->Register("EventHeader.", "EvtHeader", this, Persistence);
29}
30
ClassImp(FairEventHeader)
virtual ~FairEventHeader()
virtual void Register(Bool_t Persistance=kTRUE)
void Register(const char *name, const char *Foldername, TNamed *obj, Bool_t toFile)
static FairRootManager * Instance()