using namespace std;
#include "hrpctaskset.h"
#include "hdebug.h"
#include "haddef.h"
#include "hrpcdigitizer.h"
#include "hrpccalibrater.h"
#include "hrpchitf.h"
#include "hrpcclusterf.h"
#include <iostream>
#include <iomanip>
#include "TObjString.h"
HRpcTaskSet::HRpcTaskSet(const Text_t name[],const Text_t title[]) : HTaskSet(name,title) {
}
HRpcTaskSet::HRpcTaskSet(void) : HTaskSet() {
}
HRpcTaskSet::~HRpcTaskSet(void) {
}
HTask* HRpcTaskSet::make(const Char_t *select,const Option_t *option) {
HTaskSet *tasks = new HTaskSet("Rpc","List of Rpc tasks");
TString simulation="simulation";
TString real ="real";
TString sel = select;
TString opt = option;
sel.ToLower();
opt.ToLower();
if(sel.CompareTo(simulation)==0)
{
tasks->add( new HRpcDigitizer("rpc.digi","rpc.digi") );
tasks->add( new HRpcHitF("rpc.hitf","rpc.hitf") );
tasks->add( new HRpcClusterF("rpc.clusterf","rpc.clusterf") );
}
if(sel.CompareTo(real)==0)
{
tasks->add( new HRpcCalibrater("rpc.cal","rpc.cal") );
tasks->add( new HRpcHitF("rpc.hitf","rpc.hitf") );
tasks->add( new HRpcClusterF("rpc.clusterf","rpc.clusterf") );
}
return tasks;
}
ClassImp(HRpcTaskSet)
Last change: Sat May 22 13:11:24 2010
Last generated: 2010-05-22 13:11
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.