HROOT-hist-0.8: Haskell binding to ROOT Hist modules

Safe HaskellNone

HROOT.Hist.TH2

Documentation

class ITH1 a => ITH2 a whereSource

Methods

fill2 :: a -> CDouble -> CDouble -> IO CIntSource

 Int_t    Fill(Double_t x, Double_t y);

fill2w :: a -> CDouble -> CDouble -> CDouble -> IO CIntSource

fillN2 :: a -> CInt -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> CInt -> IO ()Source

fillRandom2 :: (ITH1 c0, FPtr c0) => a -> c0 -> CInt -> IO ()Source

 void     FillRandom(TH1 *h, Int_t ntimes=5000);

findFirstBinAbove2 :: a -> CDouble -> CInt -> IO CIntSource

 Int_t    FindFirstBinAbove(Double_t threshold=0, Int_t axis=1) const;

findLastBinAbove2 :: a -> CDouble -> CInt -> IO CIntSource

 Int_t    FindLastBinAbove (Double_t threshold=0, Int_t axis=1) const;

fitSlicesX :: (ITObjArray c1, FPtr c1, ITF1 c0, FPtr c0) => a -> c0 -> CInt -> CInt -> CInt -> CString -> c1 -> IO ()Source

 void     FitSlicesX(TF1 *f1=0,Int_t firstybin=0, Int_t lastybin=-1, Int_t cut=0, Option_t *option="QNR", TObjArray* arr = 0); // *MENU*

fitSlicesY :: (ITObjArray c1, FPtr c1, ITF1 c0, FPtr c0) => a -> c0 -> CInt -> CInt -> CInt -> CString -> c1 -> IO ()Source

 void     FitSlicesY(TF1 *f1=0,Int_t firstxbin=0, Int_t lastxbin=-1, Int_t cut=0, Option_t *option="QNR", TObjArray* arr = 0); // *MENU*

getCorrelationFactor2 :: a -> CInt -> CInt -> IO CDoubleSource

getCovariance2 :: a -> CInt -> CInt -> IO CDoubleSource

integral2 :: a -> CInt -> CInt -> CInt -> CInt -> CString -> IO CDoubleSource

rebinX2 :: a -> CInt -> CString -> IO TH2Source

rebinY2 :: a -> CInt -> CString -> IO TH2Source

rebin2D :: a -> CInt -> CInt -> CString -> IO TH2Source

 TH2     *Rebin2D(Int_t nxgroup=2, Int_t nygroup=2, const char *newname="");     

setShowProjectionX :: a -> CInt -> IO ()Source

 void     SetShowProjectionX(Int_t nbins);  // *MENU*

setShowProjectionY :: a -> CInt -> IO ()Source

 void     SetShowProjectionY(Int_t nbins);  // *MENU*

upcastTH2 :: (FPtr a, ITH2 a) => a -> TH2Source

downcastTH2 :: (FPtr a, ITH2 a) => TH2 -> aSource