using namespace std;
#include "hhododummy.h"
#include "hododef.h"
#include "hhodoraw.h"
#include "hdebug.h"
#include "hades.h"
#include "hiterator.h"
#include "hruntimedb.h"
#include "hspectrometer.h"
#include "hdetector.h"
#include "hevent.h"
#include "hcategory.h"
#include <iostream>
#include <iomanip>
HHodoDummy::HHodoDummy(void)
{
rawCat=0;
iter=0;
}
HHodoDummy::HHodoDummy(const Text_t *name,const Text_t *title) : HReconstructor(name,title)
{
rawCat=0;
iter=0;
printf("create Dummy!\n");
}
HHodoDummy::~HHodoDummy(void)
{
}
Bool_t HHodoDummy::init(void)
{
printf("init Dummy!\n");
rawCat=gHades->getCurrentEvent()->getCategory(catHodoRaw);
if (!rawCat) {
rawCat=gHades->getSetup()->getDetector("Hodo")->buildCategory(catHodoRaw);
if (!rawCat) return kFALSE;
else gHades->getCurrentEvent()->addCategory(catHodoRaw,rawCat,"Hodo");
}
iter=(HIterator *)rawCat->MakeIterator();
loc.set(2,0,0);
fActive=kTRUE;
printf("init OK!\n");
return kTRUE;
}
Int_t HHodoDummy::execute(void)
{
printf("Exec Dummy\n");
return 0;
}
ClassImp(HHodoDummy)
Last change: Sat May 22 12:57:21 2010
Last generated: 2010-05-22 12:57
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.