#ifndef HMDCDEDXHISTS_H
#define HMDCDEDXHISTS_H
#include "hreconstructor.h"
#include "TH2.h"
#include "TH1.h"
#include "TFile.h"
#include "TCanvas.h"
#include "TNtuple.h"
class HCategory;
class HIterator;
class HMdcDeDx;
class HMdcDeDxHists : public HReconstructor {
protected:
HCategory* trkcandCat;
HCategory* segCat;
Bool_t hasPrinted;
HIterator* trkcanditer;
HCategory* kickCat;
HIterator* kickiter;
HCategory* splineCat;
HCategory* metamatchCat;
HIterator* metamatchiter;
HLocation lockick;
HLocation locseg;
Bool_t useSpline;
Bool_t online;
Bool_t ntuple;
Bool_t debug;
Bool_t cpr;
Int_t mode;
Int_t module;
Float_t window;
Int_t minwires;
Bool_t useshifts;
TFile* output;
TH2F* hdedx_p_sec_seg_sys[6][2][2];
TH2F* hdedx_p_sec_seg [6][2];
TH2F* hdedx_p_sec_trk_sys[6][2];
TH2F* hdedx_p_sec_trk [6];
TH2F* hdedx_p_all_seg_sys[2][2];
TH2F* hdedx_p_all_seg [2];
TH2F* hdedx_p_all_trk_sys[2];
TH2F* hdedx_p_all_trk;
TH1F* hdriftcells[2];
TCanvas* result;
TNtuple* celltuple;
void makeHists();
void initParameters(void);
void setParContainers(void);
public:
HMdcDeDxHists(void);
HMdcDeDxHists(const Text_t* name,const Text_t* title);
~HMdcDeDxHists(void);
Bool_t init(void);
Bool_t finalize(void);
void printStatus();
void setUseSpline(Bool_t ok) {useSpline=ok;}
void setOnline(Bool_t ok) {online=ok;}
void setNTuple(Bool_t ok) {ntuple=ok;}
void setDebug(Bool_t ok) {debug=ok;}
void setCPR (Bool_t ok) {cpr=ok;}
void setDeDxMethod(Int_t m) {mode=m;}
void setDeDxModule(Int_t m) {module=m;}
void setDeDxWindow(Float_t w) {window=w;}
void setDeDxMinimumWires(Int_t n) {minwires=n;}
void setDeDxUseShifts(Bool_t shift){useshifts=shift;}
Int_t execute(void);
ClassDef(HMdcDeDxHists,1)
};
#endif /* !HMDCDEDXHISTS_H */
Last change: Sat May 22 13:01:26 2010
Last generated: 2010-05-22 13:01
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.