// $Id: hpaireffpar.cc,v 1.4 2008-09-18 13:06:49 halo Exp $
// Author: Thomas.Eberl@ph.tum.de, last modified : 2005-04-19 12:44:22
//
// ---------------------------------------------------------------------------
//_HADES_CLASS_DESCRIPTION 
///////////////////////////////////////////////////////////////////////////////
//                                                                           
// HPairEffPar
//                                                                           
// Container class for efficiency params
// will eventually hold histograms
// 
// 
///////////////////////////////////////////////////////////////////////////////
//
using namespace std;
// ---------------------------------------------------------------------------
#include <fstream> 
#include <iomanip>
#include <iostream> 
// ---------------------------------------------------------------------------
#include <string.h>
// ---------------------------------------------------------------------------
#include "TDatime.h"
#include "TString.h"
// ---------------------------------------------------------------------------
#include <hpario.h>
#include <hdetpario.h>
#include <hparamlist.h>
// ---------------------------------------------------------------------------
#include "hpair.h"
// ---------------------------------------------------------------------------
#include "hpaireffpar.h"
// ---------------------------------------------------------------------------
ClassImp(HPairEffPar)
//---------------------------------------------------------------------------- 


HPairEffPar::HPairEffPar(const Char_t* name,const Char_t* title,
                                   const Char_t* context)
                : HParCond(name,title,context) 
{

    clear();
}

//---------------------------------------------------------------------------- 

Bool_t HPairEffPar::init(HParIo* inp,Int_t* set) 
{
  // initializes the container from an input using the DEFAULT interface class
  HDetParIo* input=inp->getDetParIo("HCondParIo");

  if (input)   return (input->init(this,set));

  return kFALSE;
}

//---------------------------------------------------------------------------- 

Int_t HPairEffPar::write(HParIo* output) 
{
  // writes the container to an output using the DEFAULT interface class 
  HDetParIo* out=output->getDetParIo("HCondParIo");
  if (out) return out->write(this);
  return kFALSE;
}

//---------------------------------------------------------------------------- 

HPairEffPar::~HPairEffPar() 
{
    clear();
}

//---------------------------------------------------------------------------- 

void HPairEffPar::clear() 
{

}

//---------------------------------------------------------------------------- 

void HPairEffPar::printParam() 
{
    cout<<"################################################################"<<endl;
    cout<<"Name: "<<GetName()<<"\t\tTitle: "<<GetTitle()<<endl;
    cout<<"Author: "<<getAuthor()<<"\t\t\tContext: "<<getParamContext()<<endl;
    cout<<getDescription()<<endl;
    cout<<"----------------------------------------------------------------"<<endl;
    cout<<"################################################################"<<endl;
}

//---------------------------------------------------------------------------- 

void HPairEffPar::putParams(HParamList* l) 
{
  if (!l) return;

}

//---------------------------------------------------------------------------- 

Bool_t HPairEffPar::getParams(HParamList* l) 
{
  if (!l) return kFALSE;

  return kTRUE;
}

//---------------------------------------------------------------------------- 

Bool_t HPairEffPar::check(HPair* p)
{
    return kFALSE;
}

//---------------------------------------------------------------------------- 

Last change: Sat May 22 13:06:08 2010
Last generated: 2010-05-22 13:06

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.