// File: hrichparasciifileio.cc
// ***************************************************************************

//*-- Author : Witold Przygoda (przygoda@psja1.if.uj.edu.pl)
//    last changed by Thomas Eberl Fri Aug 17 14:22:41 CEST 2001
//*-- Modified : 1999/12/04 by Witold Przygoda (przygoda@psja1.if.uj.edu.pl)

using namespace std;
#include <iostream> 
#include <iomanip>
#include "hades.h"
#include "hspectrometer.h"
#include "hrichdetector.h"
#include "hrichparasciifileio.h"

// ***************************************************************************
//_HADES_CLASS_DESCRIPTION 
//////////////////////////////////////////////////////////////////////////////
//
//  HRichParAsciiFileIo
//
//  For plain i/o ascii. Not used in RICH.
//
//////////////////////////////////////////////////////////////////////////////
// ***************************************************************************


ClassImp(HRichParAsciiFileIo)

//----------------------------------------------------------------------------
 HRichParAsciiFileIo::HRichParAsciiFileIo(fstream* f) 
                            : HDetParAsciiFileIo(f) {
  fName="HRichParIo";
}
//============================================================================

//----------------------------------------------------------------------------
 Bool_t HRichParAsciiFileIo::init(HParSet* pPar,Int_t* set) {
  const  Text_t* name = ((TNamed*)pPar)->GetName();

  if (pFile) {
  }
  cerr<<"initialization of "<<name<<" not possible from ASCII file!"<<endl;
  return kFALSE;
}
//============================================================================

//----------------------------------------------------------------------------
 Int_t HRichParAsciiFileIo::write(HParSet* pPar) {
  const  Text_t* name = ((TNamed*)pPar)->GetName();
  if (pFile) {
  }
  cerr<<name<<" could not be written to ASCII file"<<endl;
  return kFALSE;
}
//============================================================================

//----------------------------------------------------------------------------
 Bool_t HRichParAsciiFileIo::write(HDetector* p) {
  return kTRUE;  // not implemented!
}
//============================================================================



ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.