using namespace std;
#include "hstarttaskset.h"
#include "htask.h"
#include "htaskset.h"
#include "hdebug.h"
#include "TROOT.h"
#include "TClass.h"
#include "haddef.h"
#include "hstartcalibrater.h"
#include "hstarthitf.h"
#include "hstarthitfproton.h"
#include "htboxsum.h"
#include "TBrowser.h"
#include <iostream>
#include <iomanip>
HStartTaskSet::HStartTaskSet(const Text_t name[],const Text_t title[]) : HTaskSet(name,title) {
}
HStartTaskSet::HStartTaskSet(void) : HTaskSet() {
}
HStartTaskSet::~HStartTaskSet(void) {
}
HTask* HStartTaskSet::make(const Char_t *select,const Option_t *option) {
HTaskSet *tasks = new HTaskSet("Start","List of Start tasks");
TString sel = select;
TString opt = option;
opt.ToLower();
if( sel.IsNull() ) {
tasks->add( new HStartCalibrater("start.cal","Start cal") );
if(opt.Contains("protons")){
HStartHitFProton *hstarthitf =
new HStartHitFProton("start.hitfproton","Start hitfproton");
tasks->add(hstarthitf);
}
else{
HStartHitF *hstarthitf= new HStartHitF("start.hitf","Start hitf");
if(opt.Contains("controlhists")) {
hstarthitf->enableControlHistograms();
}
tasks->add(hstarthitf);
}
if(opt.Contains("scalers")) {
HTBoxSum *htboxsum= new HTBoxSum("scaler.add","Scalers");
tasks->add(htboxsum);
}
}
return tasks;
}
ClassImp(HStartTaskSet)
Last change: Sat May 22 13:14:56 2010
Last generated: 2010-05-22 13:14
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.