#ifndef HDSTPRODUCTION_H
#define HDSTPRODUCTION_H
#include "TObject.h"
#include "TString.h"
class HTaskSet;
class HDstProduction : public TObject
{
public:
class DstConfiguration_t
{
public:
Int_t triggerModules[1];
Int_t startModules[6];
Int_t richModules[1];
Int_t mdcModules[6][4];
Int_t showerModules[3];
Int_t tofModules[22];
Int_t tofinoModules[6][1];
Int_t rpcModules[1];
Int_t wallModules[1];
Bool_t triggerIsUsed;
Bool_t startIsUsed;
Bool_t richIsUsed;
Bool_t mdcIsUsed;
Bool_t showerIsUsed;
Bool_t tofIsUsed;
Bool_t tofinoIsUsed;
Bool_t rpcIsUsed;
Bool_t wallIsUsed;
TString dstId;
TString expId;
TString inputUrl;
TString embeddingInput;
TString outputDir;
TString outputFile;
TString qaOutputDir;
TString notPersistentCategories;
TString disabledCategories;
TString firstParameterSource;
TString secondParameterSource;
TString historyDate;
TString parameterOutputFile;
Int_t referenceRunId;
Int_t startWithEvent;
Int_t qaEventInterval;
Int_t eventCounterInterval;
Int_t processNumEvents;
Bool_t createControlNTuple;
};
protected:
static const Int_t TREE_BUFFER_SIZE;
static Bool_t isBatch;
DstConfiguration_t dstCfg;
public:
HDstProduction();
~HDstProduction();
const DstConfiguration_t& getConfiguration() { return dstCfg; }
void configure(Int_t argc, Char_t** argv);
void printConfiguration();
void printHelp();
void setupSpectrometer();
void setupParameterSources();
void setupParameterOutput();
void setupAllParameterOutput();
void setupRootInput();
void setupOutput();
void initialize();
void runEventLoop();
void finalize();
void terminate(Int_t exit_code);
static void setBatchMode(Bool_t batch) { isBatch = batch; }
ClassDef( HDstProduction, 0 )
};
#endif // HDSTPRODUCTION_H
Last change: Sat May 22 12:54:54 2010
Last generated: 2010-05-22 12:54
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.