FairRoot/PandaRoot
Public Member Functions | List of all members
PndSttParRootFileIo Class Reference

#include <PndSttParRootFileIo.h>

Inheritance diagram for PndSttParRootFileIo:

Public Member Functions

 PndSttParRootFileIo (FairParRootFile *f)
 
 ~PndSttParRootFileIo ()
 
Bool_t init (FairParSet *, Int_t *)
 
Bool_t read (PndSttDigiPar *, Int_t *)
 

Detailed Description

Definition at line 12 of file PndSttParRootFileIo.h.

Constructor & Destructor Documentation

PndSttParRootFileIo::PndSttParRootFileIo ( FairParRootFile *  f)
PndSttParRootFileIo::~PndSttParRootFileIo ( )

Definition at line 29 of file PndParRootFileIo.cxx.

30 {
31 }

Member Function Documentation

Bool_t PndSttParRootFileIo::init ( FairParSet *  pPar,
Int_t *  set 
)

Definition at line 33 of file PndParRootFileIo.cxx.

References name.

34 {
35  const Text_t* name=pPar->GetName();
36  if (pFile)
37  {
38  if (!strcmp(name,"SttDigiPar")) return read((PndSttDigiPar*)pPar,set);
39  }
40  cerr<<"initialization of "<<name<<" not possible from ROOT file!"<<endl;
41  return kFALSE;
42 }
Bool_t read(PndSttDigiPar *, Int_t *)
TString name
Bool_t PndSttParRootFileIo::read ( PndSttDigiPar pPar,
Int_t *  set 
)

Definition at line 45 of file PndParRootFileIo.cxx.

46 {
47  cout << "-I- PndSttParRootFileIo : reading " << endl;
48 }

The documentation for this class was generated from the following files: