Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

HitProbTable.h

Go to the documentation of this file.
00001 #ifndef HITPROBTABLE_H
00002 #define HITPROBTABLE_H
00003 #include "TObject.h"
00004 #include "TH2.h"
00005 
00006 class HitProbTable : public TObject
00007 {
00008 
00009  public:
00010 
00011   HitProbTable();
00012   virtual ~HitProbTable() {}
00013 
00014   ClassDef(HitProbTable,1); // A class that holds the P(hit1,hit2) table for MCNN
00015 
00016   Double_t LogL(Int_t i, Int_t j);
00017   void FillTable(Int_t i, Int_t j, Double_t val) { _pvals[i][j] = val; }
00018 
00019   Double_t GetSigcorscale() { return _sigcorscale; }
00020   void SetSigcorscale(Double_t val) { _sigcorscale = val; }
00021   
00022   virtual TH2D* LogLTable();
00023   virtual void Draw(Option_t* option = "");
00024   
00025  private:
00026 
00027   Double_t _sigcorscale;
00028   static const Int_t NBINS = 440;
00029   Double_t _pvals[NBINS][NBINS];
00030 
00031 };
00032 
00033 #endif

Generated on Mon Feb 15 11:06:47 2010 for loon by  doxygen 1.3.9.1