FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
26 void FairEventHeader::Register(Bool_t Persistence)
27 {
28  FairRootManager::Instance()->Register("EventHeader.", "EvtHeader", this, Persistence);
29 }
30 
static FairRootManager * Instance()
ClassImp(FairEventBuilder)
virtual void Register(Bool_t Persistance=kTRUE)
void Register(const char *name, const char *Foldername, TNamed *obj, Bool_t toFile)
virtual ~FairEventHeader()