FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairSource.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 // ----- -----
10 // ----- FairSource -----
11 // ----- Created 01.11.2013 by F. Uhlig -----
12 // ----- -----
13 // -----------------------------------------------------------------------------
14 
15 #include "FairSource.h"
16 
17 #include "FairEventHeader.h"
18 
20  : TObject()
21  , fRunId(0)
22 {}
23 
25  : TObject(source)
26  , fRunId(source.fRunId)
27 {}
28 
30 
32 {
33  if (eh) {
34  eh->SetRunId(fRunId);
35  }
36 }
37 
virtual void FillEventHeader(FairEventHeader *feh)
Definition: FairSource.cxx:31
Int_t fRunId
Definition: FairSource.h:59
ClassImp(FairEventBuilder)
virtual ~FairSource()
Definition: FairSource.cxx:29
void SetRunId(UInt_t runid)