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>
//*-- Author : Dan Magestro
//*-- Modified: 19/11/2001 by D. Magestro
//_HADES_CLASS_DESCRIPTION
///////////////////////////////////////////////////////////////////////////////
// HStartTaskSet
//
// This HTaskSet contains the tasks for the Start detector
//
//
For more information, see this analysis logbook entry.
//
///////////////////////////////////////////////////////////////////////////////
HStartTaskSet::HStartTaskSet(Text_t name[],Text_t title[]) : HTaskSet(name,title) {
// Constructor
}
HStartTaskSet::HStartTaskSet(void) : HTaskSet() {
// Default constructor
}
HStartTaskSet::~HStartTaskSet(void) {
// Destructor.
}
HTask* HStartTaskSet::make(const char *select, Option_t *option) {
// Returns a pointer to the Start task or taskset specified by 'select'
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)
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.