EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairGenericParRootFileIo.cxx
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FairGenericParRootFileIo.cxx
1 //*-- AUTHOR : Ilse Koenig
2 //*-- Created : 21/10/2004
3 
5 // FairGenericParRootFileIo
6 //
7 // Interface class to ROOT file for input/output of parameters derived
8 // from FairParGenericSet
10 
12 
14 
16 {
17  // constructor
18  // sets the name of the I/O class "FairGenericParIo"
19  // gets the pointer to the ROOT file
20  fName="FairGenericParIo";
21 }
22 
24 {
25  // calls FairDetParRootFileIo"::read(FairParSet*)
26  if (!pFile) { return kFALSE; }
27  return FairDetParRootFileIo::read(pPar);
28 }