using namespace std;
#include "htofinoparset.h"
#include "hdetector.h"
#include "hpario.h"
#include "hdetpario.h"
#include <iostream>
#include <iomanip>
ClassImp(HTofinoParSet)
//_HADES_CLASS_DESCRIPTION
/////////////////////////////////////////////////////////////
//HTofinoParSet
//
// Base class for all tofino parameter containers
//
/////////////////////////////////////////////////////////////
HTofinoParSet::HTofinoParSet(const char* name,const char* title,
const char* context)
: HParSet(name,title,context) {
//initialize HParSet for tofino detector
strcpy(detName,"Tofino");
}
Bool_t HTofinoParSet::init(HParIo* inp,Int_t* set) {
// intitializes the container from an input
// set additional information for tofino detector
//printf("xxxxxxxxxxxxxn");
HDetParIo* input=inp->getDetParIo("HTofinoParIo");
if (input) return (input->init(this,set));
return kFALSE;
}
Int_t HTofinoParSet::write(HParIo* output) {
// writes the tofino container to the output defined in the runtime
// database
//printf("-----------");
HDetParIo* out=output->getDetParIo("HTofinoParIo");
if (out) return out->write(this);
return -1;
}
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.