#ifndef HMDCBITFLIPCOR_H
#define HMDCBITFLIPCOR_H
#include "hreconstructor.h"
#include "TString.h"
#include "TCanvas.h"
#include "TH1.h"
#include "TH2.h"
#include "TF1.h"
class TFile;
class TLine;
class HMdcRaw;
class HMdcRawCor;
class HEvent;
class Hades;
class HRuntimeDb;
class HCategory;
class HEventHeader;
class HMdcRawEventHeader;
class HIterator;
class HMdcGeomPar;
class HSpecGeomPar;
class HMdcDetector;
class HMdcBitFlipCorPar;
class HMdcBitFlipCor : public HReconstructor {
protected:
HRuntimeDb* rtdb;
HCategory* catmHMdcRaw;
HMdcRaw* mdcraw;
HIterator* mdcrawiter;
HCategory* catmHMdcRawEventHeader;
HMdcRawEventHeader* rawREH;
HIterator* iterREH;
HCategory* rawcorCat;
HMdcRawCor* rawcor;
HLocation loc;
HMdcBitFlipCorPar* fMdcBitFlipCorPar;
TFile* rootoutputfile;
TString rootoutputfilename;
FILE* asciioutputfile;
TString asciioutputfilename;
Char_t title[300];
Char_t name[300];
Char_t xtitle[300];
Char_t ytitle[300];
Char_t ztitle[300];
TH1F* histtime1b[6][4][16];
TH1F* histtime1g[6][4][16];
TH1F* histtime2b[6][4][16];
TH1F* histtime2g[6][4][16];
Int_t sector;
Int_t module;
Int_t mbo;
Int_t tdc;
Int_t time1;
Int_t time2;
Int_t trigtype;
Int_t paramsbitcorrection[6][4][16][9];
Int_t phist;
Int_t prawcor;
Int_t counterevents[6][4][16];
Int_t countersavedtime1[6][4][16];
Int_t countersavedtime2[6][4][16];
Int_t ratiosaved;
void resetVar()
{
sector=-1;
module=-1;
mbo=-1;
tdc=-1;
time1=-1;
time2=-1;
trigtype=-1;
}
private:
TFile* openHistFile(const Char_t* flag);
public:
HMdcBitFlipCor(const Text_t *name,const Text_t *title, Int_t PHist=0, Int_t PRawCor=0);
HMdcBitFlipCor(void);
~HMdcBitFlipCor(void);
Bool_t init(void);
Bool_t reinit(void);
Bool_t finalize(void);
Int_t execute(void);
void setRootOutputFilename(TString);
void setAsciiOutputFilename(TString);
void getParameterContainers();
void createHists();
void initVariables();
Bool_t fparamsbitcorrection();
ClassDef(HMdcBitFlipCor,0)
};
#endif
Last change: Sat May 22 12:59:42 2010
Last generated: 2010-05-22 12:59
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.