#ifndef HTOFDIGITIZER_H
#define HTOFDIGITIZER_H
using namespace std;
#include "hreconstructor.h"
#include <iostream>
#include <iomanip>
#include "hlocation.h"
#include "hgeanttof.h"
#include "TNtuple.h"
#include "TFile.h"
#include "TString.h"
class HIterator;
class HCategory;
class HLinearCategory;
class HTofDigiPar;
class HTofCalPar;
class HTofDigitizer : public HReconstructor {
private:
HLocation fLoc;
HCategory* fGeantCat;
HLinearCategory* fGeantKineCat;
HCategory* fRawCat;
HCategory* fRawCatTmp;
HTofDigiPar *fDigiPar;
HIterator* iterGeant;
HIterator* iterTofRaw;
HIterator* iterTofRawTmp;
Int_t storeFirstTrack;
Bool_t debug;
TNtuple* out;
TFile* outFile;
static HTofDigitizer* pTofDigi;
Bool_t useOld;
Int_t findFirstHitInTof(HGeantTof* pOld,HGeantTof** pNew,Int_t* count);
void fillNtuple (HGeantTof* pOld,HGeantTof* pNew,Int_t count);
void fillArray();
void doFinalCheckOnArray();
void fillOutput();
public:
HTofDigitizer(void);
HTofDigitizer(const Text_t* name,const Text_t* title);
~HTofDigitizer(void);
Bool_t initParContainer();
Bool_t init(void);
Bool_t finalize(void);
Int_t execute(void);
Int_t executeOld(void);
static HTofDigitizer* getTofDigtizer(){return pTofDigi;}
void setStoreFirstTrack(Int_t flag) {storeFirstTrack=flag;}
void setDebug(Bool_t flag) {debug=flag;}
void setOutputFile(TString outname="");
void setUseOld(Bool_t flag) {useOld=flag;}
public:
ClassDef(HTofDigitizer,0)
};
#endif
Last change: Sat May 22 13:16:07 2010
Last generated: 2010-05-22 13:16
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.