FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairGenericParRootFileIo.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 //*-- AUTHOR : Ilse Koenig
9 //*-- Created : 21/10/2004
10 
12 // FairGenericParRootFileIo
13 //
14 // Interface class to ROOT file for input/output of parameters derived
15 // from FairParGenericSet
17 
19 
20 #include <TString.h> // for TString
21 
22 class FairParSet;
23 
25 
28 {
29  // constructor
30  // sets the name of the I/O class "FairGenericParIo"
31  // gets the pointer to the ROOT file
32  fName = "FairGenericParIo";
33 }
34 
36 {
37  // calls FairDetParRootFileIo"::read(FairParSet*)
38  if (!pFile) {
39  return kFALSE;
40  }
41  return FairDetParRootFileIo::read(pPar);
42 }
virtual Bool_t read(FairParSet *)
FairGenericParRootFileIo(FairParRootFile *f=0)
TString fName
Definition: FairParSet.h:21
ClassImp(FairEventBuilder)
FairParRootFile * pFile