{-# LANGUAGE ForeignFunctionInterface, TypeFamilies, MultiParamTypeClasses, 
             FlexibleInstances, TypeSynonymInstances, UndecidableInstances, 
             EmptyDataDecls, IncoherentInstances #-}


module HROOT.Class where

-- import Foreign.C            
import Foreign.Ptr
import Foreign.ForeignPtr

import System.IO.Unsafe

import HROOT.Type
import HROOT.Function

class IDeletable a where
    delete :: a -> IO () 

class ITObject a where
    getName :: a -> IO String 
    draw :: a -> String -> IO () 
    findObject :: a -> String -> IO TObject 
    saveAs :: a -> String -> String -> IO () 
    write :: a -> String -> Int -> Int -> IO Int 

class ITNamed a where
    setTitle :: a -> String -> IO () 

class ITFormula a where
    getParameter :: a -> Int -> IO Double 
    setParameter :: a -> Int -> Double -> IO () 

class ITAtt3D a where

class ITAttAxis a where
    setLabelColor :: a -> Int -> IO () 
    setLabelSize :: a -> Double -> IO () 
    setTickLength :: a -> Double -> IO () 
    setTitleOffset :: a -> Double -> IO () 
    setNdivisions :: a -> Int -> Int -> IO () 

class ITAttBBox a where

class ITAttCanvas a where

class ITAttFill a where
    setFillColor :: a -> Int -> IO () 
    setFillStyle :: a -> Int -> IO () 

class ITAttImage a where

class ITAttLine a where
    setLineColor :: a -> Int -> IO () 

class ITAttMarker a where

class ITAttPad a where

class ITAttParticle a where

class ITAttText a where
    setTextColor :: a -> Int -> IO () 
    setTextAlign :: a -> Int -> IO () 
    setTextSize :: a -> Double -> IO () 

class ITHStack a where

class ITF1 a where

class ITGraph a where

class ITGraphAsymmErrors a where

class ITCutG a where

class ITGraphBentErrors a where

class ITGraphErrors a where

class ITGraphPolar a where

class ITGraphQQ a where

class ITEllipse a where

class ITArc a where

class ITCrown a where

class ITLine a where

class ITArrow a where

class ITGaxis a where

class ITShape a where

class ITBRIK a where

class ITTUBE a where

class ITPCON a where

class ITSPHE a where

class ITXTRU a where

class ITBox a where

class ITPave a where

class ITPaveText a where

class ITDiamond a where

class ITPaveStats a where

class ITPavesText a where

class ITLegend a where

class ITPaveLabel a where

class ITPaveClass a where

class ITWbox a where
    setBorderMode :: a -> Int -> IO () 

class ITFrame a where

class ITSliderBox a where

class ITTree a where

class ITChain a where

class ITNtuple a where

class ITNtupleD a where

class ITTreeSQL a where

class ITPolyLine a where

class ITCurlyLine a where

class ITCurlyArc a where

class ITEfficiency a where

class ITAxis a where

class ITLatex a where

class ITText a where

class ITDirectory a where
    close :: a -> String -> IO () 

class ITDirectoryFile a where

class ITFile a where

class ITBranch a where

class ITVirtualTreePlayer a where

class ITTreePlayer a where

class ITArray a where

class ITArrayC a where

class ITArrayD a where

class ITArrayF a where

class ITArrayI a where

class ITArrayL a where

class ITArrayL64 a where

class ITArrayS a where

class ITH1 a where
    add :: (ITH1 c0, FPtr c0) => a -> c0 -> Double -> IO () 
    addBinContent :: a -> Int -> Double -> IO () 
    chi2Test :: (ITH1 c0, FPtr c0) => a -> c0 -> String -> [Double] -> IO Double 
    computeIntegral :: a -> IO Double 
    directoryAutoAdd :: (ITDirectory c0, FPtr c0) => a -> c0 -> IO () 
    distancetoPrimitive :: a -> Int -> Int -> IO Int 
    divide :: (ITH2 c1, FPtr c1, ITH1 c0, FPtr c0) => a -> c0 -> c1 -> Double -> Double -> String -> IO () 
    drawCopy :: a -> String -> IO a 
    drawNormalized :: a -> String -> Double -> IO TH1 
    drawPanel :: a -> IO () 
    bufferEmpty :: a -> Int -> IO Int 
    eval :: (ITF1 c0, FPtr c0) => a -> c0 -> String -> IO () 
    executeEvent :: a -> Int -> Int -> Int -> IO () 
    fFT :: (ITH1 c0, FPtr c0) => a -> c0 -> String -> IO TH1 
    fill1 :: a -> Double -> IO Int 
    fillN :: a -> Int -> [Double] -> [Double] -> Int -> IO () 
    fillRandom :: (ITH1 c0, FPtr c0) => a -> c0 -> Int -> IO () 
    findBin :: a -> Double -> Double -> Double -> IO Int 
    findFixBin :: a -> Double -> Double -> Double -> IO Int 
    findFirstBinAbove :: a -> Double -> Int -> IO Int 
    findLastBinAbove :: a -> Double -> Int -> IO Int 
    fitPanel :: a -> IO () 
    getNdivisions :: a -> String -> IO Int 
    getAxisColor :: a -> String -> IO Int 
    getLabelColor :: a -> String -> IO Int 
    getLabelFont :: a -> String -> IO Int 
    getLabelOffset :: a -> String -> IO Double 
    getLabelSize :: a -> String -> IO Double 
    getTitleFont :: a -> String -> IO Int 
    getTitleOffset :: a -> String -> IO Double 
    getTitleSize :: a -> String -> IO Double 
    getTickLength :: a -> String -> IO Double 
    getBarOffset :: a -> IO Double 
    getBarWidth :: a -> IO Double 
    getContour :: a -> [Double] -> IO Int 
    getContourLevel :: a -> Int -> IO Double 
    getContourLevelPad :: a -> Int -> IO Double 
    getBin :: a -> Int -> Int -> Int -> IO Int 
    getBinCenter :: a -> Int -> IO Double 
    getBinContent1 :: a -> Int -> IO Double 
    getBinContent2 :: a -> Int -> Int -> IO Double 
    getBinContent3 :: a -> Int -> Int -> Int -> IO Double 
    getBinError1 :: a -> Int -> IO Double 
    getBinError2 :: a -> Int -> Int -> IO Double 
    getBinError3 :: a -> Int -> Int -> Int -> IO Double 
    getBinLowEdge :: a -> Int -> IO Double 
    getBinWidth :: a -> Int -> IO Double 
    getCellContent :: a -> Int -> Int -> IO Double 
    getCellError :: a -> Int -> Int -> IO Double 

class ITH2 a where
    fill2 :: a -> Double -> Double -> IO Int 

class ITH3 a where

class ITH1C a where

class ITH1D a where

class ITH1F a where

class ITH1I a where

class ITH1S a where

class ITH2C a where

class ITH2D a where

class ITH2F a where

class ITH2I a where

class ITH2Poly a where

class ITH2S a where

class ITH3C a where

class ITH3D a where

class ITH3F a where

class ITH3I a where

class ITH3S a where

class ITQObject a where

class ITVirtualPad a where
    getFrame :: a -> IO TFrame 
    range :: a -> Double -> Double -> Double -> Double -> IO () 

class ITPad a where

class ITButton a where

class ITGroupButton a where

class ITCanvas a where

class ITDialogCanvas a where

class ITInspectCanvas a where

class ITEvePad a where

class ITSlider a where

class ITApplication a where
    run :: a -> Int -> IO () 

class ITRint a where



instance (ITObject a, FPtr a) => Castable a (Ptr RawTObject) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITNamed a, FPtr a) => Castable a (Ptr RawTNamed) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITFormula a, FPtr a) => Castable a (Ptr RawTFormula) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAtt3D a, FPtr a) => Castable a (Ptr RawTAtt3D) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAttAxis a, FPtr a) => Castable a (Ptr RawTAttAxis) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAttBBox a, FPtr a) => Castable a (Ptr RawTAttBBox) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAttCanvas a, FPtr a) => Castable a (Ptr RawTAttCanvas) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAttFill a, FPtr a) => Castable a (Ptr RawTAttFill) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAttImage a, FPtr a) => Castable a (Ptr RawTAttImage) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAttLine a, FPtr a) => Castable a (Ptr RawTAttLine) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAttMarker a, FPtr a) => Castable a (Ptr RawTAttMarker) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAttPad a, FPtr a) => Castable a (Ptr RawTAttPad) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAttParticle a, FPtr a) => Castable a (Ptr RawTAttParticle) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAttText a, FPtr a) => Castable a (Ptr RawTAttText) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITHStack a, FPtr a) => Castable a (Ptr RawTHStack) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITF1 a, FPtr a) => Castable a (Ptr RawTF1) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITGraph a, FPtr a) => Castable a (Ptr RawTGraph) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITGraphAsymmErrors a, FPtr a) => Castable a (Ptr RawTGraphAsymmErrors) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITCutG a, FPtr a) => Castable a (Ptr RawTCutG) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITGraphBentErrors a, FPtr a) => Castable a (Ptr RawTGraphBentErrors) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITGraphErrors a, FPtr a) => Castable a (Ptr RawTGraphErrors) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITGraphPolar a, FPtr a) => Castable a (Ptr RawTGraphPolar) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITGraphQQ a, FPtr a) => Castable a (Ptr RawTGraphQQ) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITEllipse a, FPtr a) => Castable a (Ptr RawTEllipse) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITArc a, FPtr a) => Castable a (Ptr RawTArc) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITCrown a, FPtr a) => Castable a (Ptr RawTCrown) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITLine a, FPtr a) => Castable a (Ptr RawTLine) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITArrow a, FPtr a) => Castable a (Ptr RawTArrow) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITGaxis a, FPtr a) => Castable a (Ptr RawTGaxis) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITShape a, FPtr a) => Castable a (Ptr RawTShape) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITBRIK a, FPtr a) => Castable a (Ptr RawTBRIK) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITTUBE a, FPtr a) => Castable a (Ptr RawTTUBE) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITPCON a, FPtr a) => Castable a (Ptr RawTPCON) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITSPHE a, FPtr a) => Castable a (Ptr RawTSPHE) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITXTRU a, FPtr a) => Castable a (Ptr RawTXTRU) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITBox a, FPtr a) => Castable a (Ptr RawTBox) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITPave a, FPtr a) => Castable a (Ptr RawTPave) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITPaveText a, FPtr a) => Castable a (Ptr RawTPaveText) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITDiamond a, FPtr a) => Castable a (Ptr RawTDiamond) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITPaveStats a, FPtr a) => Castable a (Ptr RawTPaveStats) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITPavesText a, FPtr a) => Castable a (Ptr RawTPavesText) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITLegend a, FPtr a) => Castable a (Ptr RawTLegend) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITPaveLabel a, FPtr a) => Castable a (Ptr RawTPaveLabel) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITPaveClass a, FPtr a) => Castable a (Ptr RawTPaveClass) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITWbox a, FPtr a) => Castable a (Ptr RawTWbox) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITFrame a, FPtr a) => Castable a (Ptr RawTFrame) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITSliderBox a, FPtr a) => Castable a (Ptr RawTSliderBox) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITTree a, FPtr a) => Castable a (Ptr RawTTree) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITChain a, FPtr a) => Castable a (Ptr RawTChain) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITNtuple a, FPtr a) => Castable a (Ptr RawTNtuple) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITNtupleD a, FPtr a) => Castable a (Ptr RawTNtupleD) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITTreeSQL a, FPtr a) => Castable a (Ptr RawTTreeSQL) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITPolyLine a, FPtr a) => Castable a (Ptr RawTPolyLine) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITCurlyLine a, FPtr a) => Castable a (Ptr RawTCurlyLine) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITCurlyArc a, FPtr a) => Castable a (Ptr RawTCurlyArc) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITEfficiency a, FPtr a) => Castable a (Ptr RawTEfficiency) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAxis a, FPtr a) => Castable a (Ptr RawTAxis) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITLatex a, FPtr a) => Castable a (Ptr RawTLatex) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITText a, FPtr a) => Castable a (Ptr RawTText) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITDirectory a, FPtr a) => Castable a (Ptr RawTDirectory) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITDirectoryFile a, FPtr a) => Castable a (Ptr RawTDirectoryFile) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITFile a, FPtr a) => Castable a (Ptr RawTFile) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITBranch a, FPtr a) => Castable a (Ptr RawTBranch) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITVirtualTreePlayer a, FPtr a) => Castable a (Ptr RawTVirtualTreePlayer) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITTreePlayer a, FPtr a) => Castable a (Ptr RawTTreePlayer) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITArray a, FPtr a) => Castable a (Ptr RawTArray) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITArrayC a, FPtr a) => Castable a (Ptr RawTArrayC) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITArrayD a, FPtr a) => Castable a (Ptr RawTArrayD) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITArrayF a, FPtr a) => Castable a (Ptr RawTArrayF) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITArrayI a, FPtr a) => Castable a (Ptr RawTArrayI) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITArrayL a, FPtr a) => Castable a (Ptr RawTArrayL) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITArrayL64 a, FPtr a) => Castable a (Ptr RawTArrayL64) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITArrayS a, FPtr a) => Castable a (Ptr RawTArrayS) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH1 a, FPtr a) => Castable a (Ptr RawTH1) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH2 a, FPtr a) => Castable a (Ptr RawTH2) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH3 a, FPtr a) => Castable a (Ptr RawTH3) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH1C a, FPtr a) => Castable a (Ptr RawTH1C) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH1D a, FPtr a) => Castable a (Ptr RawTH1D) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH1F a, FPtr a) => Castable a (Ptr RawTH1F) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH1I a, FPtr a) => Castable a (Ptr RawTH1I) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH1S a, FPtr a) => Castable a (Ptr RawTH1S) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH2C a, FPtr a) => Castable a (Ptr RawTH2C) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH2D a, FPtr a) => Castable a (Ptr RawTH2D) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH2F a, FPtr a) => Castable a (Ptr RawTH2F) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH2I a, FPtr a) => Castable a (Ptr RawTH2I) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH2Poly a, FPtr a) => Castable a (Ptr RawTH2Poly) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH2S a, FPtr a) => Castable a (Ptr RawTH2S) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH3C a, FPtr a) => Castable a (Ptr RawTH3C) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH3D a, FPtr a) => Castable a (Ptr RawTH3D) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH3F a, FPtr a) => Castable a (Ptr RawTH3F) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH3I a, FPtr a) => Castable a (Ptr RawTH3I) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH3S a, FPtr a) => Castable a (Ptr RawTH3S) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITQObject a, FPtr a) => Castable a (Ptr RawTQObject) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITVirtualPad a, FPtr a) => Castable a (Ptr RawTVirtualPad) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITPad a, FPtr a) => Castable a (Ptr RawTPad) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITButton a, FPtr a) => Castable a (Ptr RawTButton) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITGroupButton a, FPtr a) => Castable a (Ptr RawTGroupButton) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITCanvas a, FPtr a) => Castable a (Ptr RawTCanvas) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITDialogCanvas a, FPtr a) => Castable a (Ptr RawTDialogCanvas) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITInspectCanvas a, FPtr a) => Castable a (Ptr RawTInspectCanvas) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITEvePad a, FPtr a) => Castable a (Ptr RawTEvePad) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITSlider a, FPtr a) => Castable a (Ptr RawTSlider) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITApplication a, FPtr a) => Castable a (Ptr RawTApplication) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITRint a, FPtr a) => Castable a (Ptr RawTRint) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 



instance ITObject TObject where
  getName = xform0 c_tobject_getname
  draw = xform1 c_tobject_draw
  findObject = xform1 c_tobject_findobject
  saveAs = xform2 c_tobject_saveas
  write = xform3 c_tobject_write

instance ITNamed TNamed where
  setTitle = xform1 c_tnamed_settitle

instance ITFormula TFormula where
  getParameter = xform1 c_tformula_getparameter
  setParameter = xform2 c_tformula_setparameter

instance ITAtt3D TAtt3D where

instance ITAttAxis TAttAxis where
  setLabelColor = xform1 c_tattaxis_setlabelcolor
  setLabelSize = xform1 c_tattaxis_setlabelsize
  setTickLength = xform1 c_tattaxis_setticklength
  setTitleOffset = xform1 c_tattaxis_settitleoffset
  setNdivisions = xform2 c_tattaxis_setndivisions

instance ITAttBBox TAttBBox where

instance ITAttCanvas TAttCanvas where

instance ITAttFill TAttFill where
  setFillColor = xform1 c_tattfill_setfillcolor
  setFillStyle = xform1 c_tattfill_setfillstyle

instance ITAttImage TAttImage where

instance ITAttLine TAttLine where
  setLineColor = xform1 c_tattline_setlinecolor

instance ITAttMarker TAttMarker where

instance ITAttPad TAttPad where

instance ITAttParticle TAttParticle where

instance ITAttText TAttText where
  setTextColor = xform1 c_tatttext_settextcolor
  setTextAlign = xform1 c_tatttext_settextalign
  setTextSize = xform1 c_tatttext_settextsize

instance ITHStack THStack where

instance ITF1 TF1 where

instance ITGraph TGraph where

instance ITGraphAsymmErrors TGraphAsymmErrors where

instance ITCutG TCutG where

instance ITGraphBentErrors TGraphBentErrors where

instance ITGraphErrors TGraphErrors where

instance ITGraphPolar TGraphPolar where

instance ITGraphQQ TGraphQQ where

instance ITEllipse TEllipse where

instance ITArc TArc where

instance ITCrown TCrown where

instance ITLine TLine where

instance ITArrow TArrow where

instance ITGaxis TGaxis where

instance ITShape TShape where

instance ITBRIK TBRIK where

instance ITTUBE TTUBE where

instance ITPCON TPCON where

instance ITSPHE TSPHE where

instance ITXTRU TXTRU where

instance ITBox TBox where

instance ITPave TPave where

instance ITPaveText TPaveText where

instance ITDiamond TDiamond where

instance ITPaveStats TPaveStats where

instance ITPavesText TPavesText where

instance ITLegend TLegend where

instance ITPaveLabel TPaveLabel where

instance ITPaveClass TPaveClass where

instance ITWbox TWbox where
  setBorderMode = xform1 c_twbox_setbordermode

instance ITFrame TFrame where

instance ITSliderBox TSliderBox where

instance ITTree TTree where

instance ITChain TChain where

instance ITNtuple TNtuple where

instance ITNtupleD TNtupleD where

instance ITTreeSQL TTreeSQL where

instance ITPolyLine TPolyLine where

instance ITCurlyLine TCurlyLine where

instance ITCurlyArc TCurlyArc where

instance ITEfficiency TEfficiency where

instance ITAxis TAxis where

instance ITLatex TLatex where

instance ITText TText where

instance ITDirectory TDirectory where
  close = xform1 c_tdirectory_close

instance ITDirectoryFile TDirectoryFile where

instance ITFile TFile where

instance ITBranch TBranch where

instance ITVirtualTreePlayer TVirtualTreePlayer where

instance ITTreePlayer TTreePlayer where

instance ITArray TArray where

instance ITArrayC TArrayC where

instance ITArrayD TArrayD where

instance ITArrayF TArrayF where

instance ITArrayI TArrayI where

instance ITArrayL TArrayL where

instance ITArrayL64 TArrayL64 where

instance ITArrayS TArrayS where

instance ITH1 TH1 where
  add = xform2 c_th1_add
  addBinContent = xform2 c_th1_addbincontent
  chi2Test = xform3 c_th1_chi2test
  computeIntegral = xform0 c_th1_computeintegral
  directoryAutoAdd = xform1 c_th1_directoryautoadd
  distancetoPrimitive = xform2 c_th1_distancetoprimitive
  divide = xform5 c_th1_divide
  drawCopy = xform1 c_th1_drawcopy
  drawNormalized = xform2 c_th1_drawnormalized
  drawPanel = xform0 c_th1_drawpanel
  bufferEmpty = xform1 c_th1_bufferempty
  eval = xform2 c_th1_eval
  executeEvent = xform3 c_th1_executeevent
  fFT = xform2 c_th1_fft
  fill1 = xform1 c_th1_fill1
  fillN = xform4 c_th1_filln
  fillRandom = xform2 c_th1_fillrandom
  findBin = xform3 c_th1_findbin
  findFixBin = xform3 c_th1_findfixbin
  findFirstBinAbove = xform2 c_th1_findfirstbinabove
  findLastBinAbove = xform2 c_th1_findlastbinabove
  fitPanel = xform0 c_th1_fitpanel
  getNdivisions = xform1 c_th1_getndivisions
  getAxisColor = xform1 c_th1_getaxiscolor
  getLabelColor = xform1 c_th1_getlabelcolor
  getLabelFont = xform1 c_th1_getlabelfont
  getLabelOffset = xform1 c_th1_getlabeloffset
  getLabelSize = xform1 c_th1_getlabelsize
  getTitleFont = xform1 c_th1_gettitlefont
  getTitleOffset = xform1 c_th1_gettitleoffset
  getTitleSize = xform1 c_th1_gettitlesize
  getTickLength = xform1 c_th1_getticklength
  getBarOffset = xform0 c_th1_getbaroffset
  getBarWidth = xform0 c_th1_getbarwidth
  getContour = xform1 c_th1_getcontour
  getContourLevel = xform1 c_th1_getcontourlevel
  getContourLevelPad = xform1 c_th1_getcontourlevelpad
  getBin = xform3 c_th1_getbin
  getBinCenter = xform1 c_th1_getbincenter
  getBinContent1 = xform1 c_th1_getbincontent1
  getBinContent2 = xform2 c_th1_getbincontent2
  getBinContent3 = xform3 c_th1_getbincontent3
  getBinError1 = xform1 c_th1_getbinerror1
  getBinError2 = xform2 c_th1_getbinerror2
  getBinError3 = xform3 c_th1_getbinerror3
  getBinLowEdge = xform1 c_th1_getbinlowedge
  getBinWidth = xform1 c_th1_getbinwidth
  getCellContent = xform2 c_th1_getcellcontent
  getCellError = xform2 c_th1_getcellerror

instance ITH2 TH2 where
  fill2 = xform2 c_th2_fill2

instance ITH3 TH3 where

instance ITH1C TH1C where

instance ITH1D TH1D where

instance ITH1F TH1F where

instance ITH1I TH1I where

instance ITH1S TH1S where

instance ITH2C TH2C where

instance ITH2D TH2D where

instance ITH2F TH2F where

instance ITH2I TH2I where

instance ITH2Poly TH2Poly where

instance ITH2S TH2S where

instance ITH3C TH3C where

instance ITH3D TH3D where

instance ITH3F TH3F where

instance ITH3I TH3I where

instance ITH3S TH3S where

instance ITQObject TQObject where

instance ITVirtualPad TVirtualPad where
  getFrame = xform0 c_tvirtualpad_getframe
  range = xform4 c_tvirtualpad_range

instance ITPad TPad where

instance ITButton TButton where

instance ITGroupButton TGroupButton where

instance ITCanvas TCanvas where

instance ITDialogCanvas TDialogCanvas where

instance ITInspectCanvas TInspectCanvas where

instance ITEvePad TEvePad where

instance ITSlider TSlider where

instance ITApplication TApplication where
  run = xform1 c_tapplication_run

instance ITRint TRint where

instance IDeletable TRint where
  delete = xform0 c_trint_delete
instance IDeletable TApplication where
  delete = xform0 c_tapplication_delete
instance IDeletable TSlider where
  delete = xform0 c_tslider_delete
instance IDeletable TEvePad where
  delete = xform0 c_tevepad_delete
instance IDeletable TInspectCanvas where
  delete = xform0 c_tinspectcanvas_delete
instance IDeletable TDialogCanvas where
  delete = xform0 c_tdialogcanvas_delete
instance IDeletable TCanvas where
  delete = xform0 c_tcanvas_delete
instance IDeletable TGroupButton where
  delete = xform0 c_tgroupbutton_delete
instance IDeletable TButton where
  delete = xform0 c_tbutton_delete
instance IDeletable TPad where
  delete = xform0 c_tpad_delete
instance IDeletable TVirtualPad where
  delete = xform0 c_tvirtualpad_delete
instance IDeletable TQObject where
  delete = xform0 c_tqobject_delete
instance IDeletable TH3S where
  delete = xform0 c_th3s_delete
instance IDeletable TH3I where
  delete = xform0 c_th3i_delete
instance IDeletable TH3F where
  delete = xform0 c_th3f_delete
instance IDeletable TH3D where
  delete = xform0 c_th3d_delete
instance IDeletable TH3C where
  delete = xform0 c_th3c_delete
instance IDeletable TH2S where
  delete = xform0 c_th2s_delete
instance IDeletable TH2Poly where
  delete = xform0 c_th2poly_delete
instance IDeletable TH2I where
  delete = xform0 c_th2i_delete
instance IDeletable TH2F where
  delete = xform0 c_th2f_delete
instance IDeletable TH2D where
  delete = xform0 c_th2d_delete
instance IDeletable TH2C where
  delete = xform0 c_th2c_delete
instance IDeletable TH1S where
  delete = xform0 c_th1s_delete
instance IDeletable TH1I where
  delete = xform0 c_th1i_delete
instance IDeletable TH1F where
  delete = xform0 c_th1f_delete
instance IDeletable TH1D where
  delete = xform0 c_th1d_delete
instance IDeletable TH1C where
  delete = xform0 c_th1c_delete
instance IDeletable TH3 where
  delete = xform0 c_th3_delete
instance IDeletable TH2 where
  delete = xform0 c_th2_delete
instance IDeletable TH1 where
  delete = xform0 c_th1_delete
instance IDeletable TArrayS where
  delete = xform0 c_tarrays_delete
instance IDeletable TArrayL64 where
  delete = xform0 c_tarrayl64_delete
instance IDeletable TArrayL where
  delete = xform0 c_tarrayl_delete
instance IDeletable TArrayI where
  delete = xform0 c_tarrayi_delete
instance IDeletable TArrayF where
  delete = xform0 c_tarrayf_delete
instance IDeletable TArrayD where
  delete = xform0 c_tarrayd_delete
instance IDeletable TArrayC where
  delete = xform0 c_tarrayc_delete
instance IDeletable TArray where
  delete = xform0 c_tarray_delete
instance IDeletable TTreePlayer where
  delete = xform0 c_ttreeplayer_delete
instance IDeletable TVirtualTreePlayer where
  delete = xform0 c_tvirtualtreeplayer_delete
instance IDeletable TBranch where
  delete = xform0 c_tbranch_delete
instance IDeletable TFile where
  delete = xform0 c_tfile_delete
instance IDeletable TDirectoryFile where
  delete = xform0 c_tdirectoryfile_delete
instance IDeletable TDirectory where
  delete = xform0 c_tdirectory_delete
instance IDeletable TText where
  delete = xform0 c_ttext_delete
instance IDeletable TLatex where
  delete = xform0 c_tlatex_delete
instance IDeletable TAxis where
  delete = xform0 c_taxis_delete
instance IDeletable TEfficiency where
  delete = xform0 c_tefficiency_delete
instance IDeletable TCurlyArc where
  delete = xform0 c_tcurlyarc_delete
instance IDeletable TCurlyLine where
  delete = xform0 c_tcurlyline_delete
instance IDeletable TPolyLine where
  delete = xform0 c_tpolyline_delete
instance IDeletable TTreeSQL where
  delete = xform0 c_ttreesql_delete
instance IDeletable TNtupleD where
  delete = xform0 c_tntupled_delete
instance IDeletable TNtuple where
  delete = xform0 c_tntuple_delete
instance IDeletable TChain where
  delete = xform0 c_tchain_delete
instance IDeletable TTree where
  delete = xform0 c_ttree_delete
instance IDeletable TSliderBox where
  delete = xform0 c_tsliderbox_delete
instance IDeletable TFrame where
  delete = xform0 c_tframe_delete
instance IDeletable TWbox where
  delete = xform0 c_twbox_delete
instance IDeletable TPaveClass where
  delete = xform0 c_tpaveclass_delete
instance IDeletable TPaveLabel where
  delete = xform0 c_tpavelabel_delete
instance IDeletable TLegend where
  delete = xform0 c_tlegend_delete
instance IDeletable TPavesText where
  delete = xform0 c_tpavestext_delete
instance IDeletable TPaveStats where
  delete = xform0 c_tpavestats_delete
instance IDeletable TDiamond where
  delete = xform0 c_tdiamond_delete
instance IDeletable TPaveText where
  delete = xform0 c_tpavetext_delete
instance IDeletable TPave where
  delete = xform0 c_tpave_delete
instance IDeletable TBox where
  delete = xform0 c_tbox_delete
instance IDeletable TXTRU where
  delete = xform0 c_txtru_delete
instance IDeletable TSPHE where
  delete = xform0 c_tsphe_delete
instance IDeletable TPCON where
  delete = xform0 c_tpcon_delete
instance IDeletable TTUBE where
  delete = xform0 c_ttube_delete
instance IDeletable TBRIK where
  delete = xform0 c_tbrik_delete
instance IDeletable TShape where
  delete = xform0 c_tshape_delete
instance IDeletable TGaxis where
  delete = xform0 c_tgaxis_delete
instance IDeletable TArrow where
  delete = xform0 c_tarrow_delete
instance IDeletable TLine where
  delete = xform0 c_tline_delete
instance IDeletable TCrown where
  delete = xform0 c_tcrown_delete
instance IDeletable TArc where
  delete = xform0 c_tarc_delete
instance IDeletable TEllipse where
  delete = xform0 c_tellipse_delete
instance IDeletable TGraphQQ where
  delete = xform0 c_tgraphqq_delete
instance IDeletable TGraphPolar where
  delete = xform0 c_tgraphpolar_delete
instance IDeletable TGraphErrors where
  delete = xform0 c_tgrapherrors_delete
instance IDeletable TGraphBentErrors where
  delete = xform0 c_tgraphbenterrors_delete
instance IDeletable TCutG where
  delete = xform0 c_tcutg_delete
instance IDeletable TGraphAsymmErrors where
  delete = xform0 c_tgraphasymmerrors_delete
instance IDeletable TGraph where
  delete = xform0 c_tgraph_delete
instance IDeletable TF1 where
  delete = xform0 c_tf1_delete
instance IDeletable THStack where
  delete = xform0 c_thstack_delete
instance IDeletable TAttText where
  delete = xform0 c_tatttext_delete
instance IDeletable TAttParticle where
  delete = xform0 c_tattparticle_delete
instance IDeletable TAttPad where
  delete = xform0 c_tattpad_delete
instance IDeletable TAttMarker where
  delete = xform0 c_tattmarker_delete
instance IDeletable TAttLine where
  delete = xform0 c_tattline_delete
instance IDeletable TAttImage where
  delete = xform0 c_tattimage_delete
instance IDeletable TAttFill where
  delete = xform0 c_tattfill_delete
instance IDeletable TAttCanvas where
  delete = xform0 c_tattcanvas_delete
instance IDeletable TAttBBox where
  delete = xform0 c_tattbbox_delete
instance IDeletable TAttAxis where
  delete = xform0 c_tattaxis_delete
instance IDeletable TAtt3D where
  delete = xform0 c_tatt3d_delete
instance IDeletable TFormula where
  delete = xform0 c_tformula_delete
instance IDeletable TNamed where
  delete = xform0 c_tnamed_delete
instance IDeletable TObject where
  delete = xform0 c_tobject_delete

instance ITApplication TRint where
  run = xform1 c_trint_run

instance ITArray TH3S where
instance ITArray TH3I where
instance ITArray TH3F where
instance ITArray TH3D where
instance ITArray TH3C where
instance ITArray TH2S where
instance ITArray TH2I where
instance ITArray TH2F where
instance ITArray TH2D where
instance ITArray TH2C where
instance ITArray TH1S where
instance ITArray TH1I where
instance ITArray TH1F where
instance ITArray TH1D where
instance ITArray TH1C where
instance ITArray TArrayS where
instance ITArray TArrayL64 where
instance ITArray TArrayL where
instance ITArray TArrayI where
instance ITArray TArrayF where
instance ITArray TArrayD where
instance ITArray TArrayC where

instance ITArrayC TH3C where
instance ITArrayC TH2C where
instance ITArrayC TH1C where

instance ITArrayD TH3D where
instance ITArrayD TH2D where
instance ITArrayD TH1D where

instance ITArrayF TH3F where
instance ITArrayF TH2F where
instance ITArrayF TH1F where

instance ITArrayI TH3I where
instance ITArrayI TH2I where
instance ITArrayI TH1I where

instance ITArrayS TH3S where
instance ITArrayS TH2S where
instance ITArrayS TH1S where

instance ITAtt3D TH3S where
instance ITAtt3D TH3I where
instance ITAtt3D TH3F where
instance ITAtt3D TH3D where
instance ITAtt3D TH3C where
instance ITAtt3D TH3 where
instance ITAtt3D TXTRU where
instance ITAtt3D TSPHE where
instance ITAtt3D TPCON where
instance ITAtt3D TTUBE where
instance ITAtt3D TBRIK where
instance ITAtt3D TShape where

instance ITAttAxis TAxis where
  setLabelColor = xform1 c_taxis_setlabelcolor
  setLabelSize = xform1 c_taxis_setlabelsize
  setTickLength = xform1 c_taxis_setticklength
  setTitleOffset = xform1 c_taxis_settitleoffset
  setNdivisions = xform2 c_taxis_setndivisions

instance ITAttFill TSlider where
  setFillColor = xform1 c_tslider_setfillcolor
  setFillStyle = xform1 c_tslider_setfillstyle
instance ITAttFill TEvePad where
  setFillColor = xform1 c_tevepad_setfillcolor
  setFillStyle = xform1 c_tevepad_setfillstyle
instance ITAttFill TInspectCanvas where
  setFillColor = xform1 c_tinspectcanvas_setfillcolor
  setFillStyle = xform1 c_tinspectcanvas_setfillstyle
instance ITAttFill TDialogCanvas where
  setFillColor = xform1 c_tdialogcanvas_setfillcolor
  setFillStyle = xform1 c_tdialogcanvas_setfillstyle
instance ITAttFill TCanvas where
  setFillColor = xform1 c_tcanvas_setfillcolor
  setFillStyle = xform1 c_tcanvas_setfillstyle
instance ITAttFill TGroupButton where
  setFillColor = xform1 c_tgroupbutton_setfillcolor
  setFillStyle = xform1 c_tgroupbutton_setfillstyle
instance ITAttFill TButton where
  setFillColor = xform1 c_tbutton_setfillcolor
  setFillStyle = xform1 c_tbutton_setfillstyle
instance ITAttFill TPad where
  setFillColor = xform1 c_tpad_setfillcolor
  setFillStyle = xform1 c_tpad_setfillstyle
instance ITAttFill TVirtualPad where
  setFillColor = xform1 c_tvirtualpad_setfillcolor
  setFillStyle = xform1 c_tvirtualpad_setfillstyle
instance ITAttFill TH3S where
  setFillColor = xform1 c_th3s_setfillcolor
  setFillStyle = xform1 c_th3s_setfillstyle
instance ITAttFill TH3I where
  setFillColor = xform1 c_th3i_setfillcolor
  setFillStyle = xform1 c_th3i_setfillstyle
instance ITAttFill TH3F where
  setFillColor = xform1 c_th3f_setfillcolor
  setFillStyle = xform1 c_th3f_setfillstyle
instance ITAttFill TH3D where
  setFillColor = xform1 c_th3d_setfillcolor
  setFillStyle = xform1 c_th3d_setfillstyle
instance ITAttFill TH3C where
  setFillColor = xform1 c_th3c_setfillcolor
  setFillStyle = xform1 c_th3c_setfillstyle
instance ITAttFill TH2S where
  setFillColor = xform1 c_th2s_setfillcolor
  setFillStyle = xform1 c_th2s_setfillstyle
instance ITAttFill TH2Poly where
  setFillColor = xform1 c_th2poly_setfillcolor
  setFillStyle = xform1 c_th2poly_setfillstyle
instance ITAttFill TH2I where
  setFillColor = xform1 c_th2i_setfillcolor
  setFillStyle = xform1 c_th2i_setfillstyle
instance ITAttFill TH2F where
  setFillColor = xform1 c_th2f_setfillcolor
  setFillStyle = xform1 c_th2f_setfillstyle
instance ITAttFill TH2D where
  setFillColor = xform1 c_th2d_setfillcolor
  setFillStyle = xform1 c_th2d_setfillstyle
instance ITAttFill TH2C where
  setFillColor = xform1 c_th2c_setfillcolor
  setFillStyle = xform1 c_th2c_setfillstyle
instance ITAttFill TH1S where
  setFillColor = xform1 c_th1s_setfillcolor
  setFillStyle = xform1 c_th1s_setfillstyle
instance ITAttFill TH1I where
  setFillColor = xform1 c_th1i_setfillcolor
  setFillStyle = xform1 c_th1i_setfillstyle
instance ITAttFill TH1F where
  setFillColor = xform1 c_th1f_setfillcolor
  setFillStyle = xform1 c_th1f_setfillstyle
instance ITAttFill TH1D where
  setFillColor = xform1 c_th1d_setfillcolor
  setFillStyle = xform1 c_th1d_setfillstyle
instance ITAttFill TH1C where
  setFillColor = xform1 c_th1c_setfillcolor
  setFillStyle = xform1 c_th1c_setfillstyle
instance ITAttFill TH3 where
  setFillColor = xform1 c_th3_setfillcolor
  setFillStyle = xform1 c_th3_setfillstyle
instance ITAttFill TH2 where
  setFillColor = xform1 c_th2_setfillcolor
  setFillStyle = xform1 c_th2_setfillstyle
instance ITAttFill TH1 where
  setFillColor = xform1 c_th1_setfillcolor
  setFillStyle = xform1 c_th1_setfillstyle
instance ITAttFill TBranch where
  setFillColor = xform1 c_tbranch_setfillcolor
  setFillStyle = xform1 c_tbranch_setfillstyle
instance ITAttFill TEfficiency where
  setFillColor = xform1 c_tefficiency_setfillcolor
  setFillStyle = xform1 c_tefficiency_setfillstyle
instance ITAttFill TCurlyArc where
  setFillColor = xform1 c_tcurlyarc_setfillcolor
  setFillStyle = xform1 c_tcurlyarc_setfillstyle
instance ITAttFill TCurlyLine where
  setFillColor = xform1 c_tcurlyline_setfillcolor
  setFillStyle = xform1 c_tcurlyline_setfillstyle
instance ITAttFill TPolyLine where
  setFillColor = xform1 c_tpolyline_setfillcolor
  setFillStyle = xform1 c_tpolyline_setfillstyle
instance ITAttFill TTreeSQL where
  setFillColor = xform1 c_ttreesql_setfillcolor
  setFillStyle = xform1 c_ttreesql_setfillstyle
instance ITAttFill TNtupleD where
  setFillColor = xform1 c_tntupled_setfillcolor
  setFillStyle = xform1 c_tntupled_setfillstyle
instance ITAttFill TNtuple where
  setFillColor = xform1 c_tntuple_setfillcolor
  setFillStyle = xform1 c_tntuple_setfillstyle
instance ITAttFill TChain where
  setFillColor = xform1 c_tchain_setfillcolor
  setFillStyle = xform1 c_tchain_setfillstyle
instance ITAttFill TTree where
  setFillColor = xform1 c_ttree_setfillcolor
  setFillStyle = xform1 c_ttree_setfillstyle
instance ITAttFill TSliderBox where
  setFillColor = xform1 c_tsliderbox_setfillcolor
  setFillStyle = xform1 c_tsliderbox_setfillstyle
instance ITAttFill TFrame where
  setFillColor = xform1 c_tframe_setfillcolor
  setFillStyle = xform1 c_tframe_setfillstyle
instance ITAttFill TWbox where
  setFillColor = xform1 c_twbox_setfillcolor
  setFillStyle = xform1 c_twbox_setfillstyle
instance ITAttFill TPaveClass where
  setFillColor = xform1 c_tpaveclass_setfillcolor
  setFillStyle = xform1 c_tpaveclass_setfillstyle
instance ITAttFill TPaveLabel where
  setFillColor = xform1 c_tpavelabel_setfillcolor
  setFillStyle = xform1 c_tpavelabel_setfillstyle
instance ITAttFill TLegend where
  setFillColor = xform1 c_tlegend_setfillcolor
  setFillStyle = xform1 c_tlegend_setfillstyle
instance ITAttFill TPavesText where
  setFillColor = xform1 c_tpavestext_setfillcolor
  setFillStyle = xform1 c_tpavestext_setfillstyle
instance ITAttFill TPaveStats where
  setFillColor = xform1 c_tpavestats_setfillcolor
  setFillStyle = xform1 c_tpavestats_setfillstyle
instance ITAttFill TDiamond where
  setFillColor = xform1 c_tdiamond_setfillcolor
  setFillStyle = xform1 c_tdiamond_setfillstyle
instance ITAttFill TPaveText where
  setFillColor = xform1 c_tpavetext_setfillcolor
  setFillStyle = xform1 c_tpavetext_setfillstyle
instance ITAttFill TPave where
  setFillColor = xform1 c_tpave_setfillcolor
  setFillStyle = xform1 c_tpave_setfillstyle
instance ITAttFill TBox where
  setFillColor = xform1 c_tbox_setfillcolor
  setFillStyle = xform1 c_tbox_setfillstyle
instance ITAttFill TXTRU where
  setFillColor = xform1 c_txtru_setfillcolor
  setFillStyle = xform1 c_txtru_setfillstyle
instance ITAttFill TSPHE where
  setFillColor = xform1 c_tsphe_setfillcolor
  setFillStyle = xform1 c_tsphe_setfillstyle
instance ITAttFill TPCON where
  setFillColor = xform1 c_tpcon_setfillcolor
  setFillStyle = xform1 c_tpcon_setfillstyle
instance ITAttFill TTUBE where
  setFillColor = xform1 c_ttube_setfillcolor
  setFillStyle = xform1 c_ttube_setfillstyle
instance ITAttFill TBRIK where
  setFillColor = xform1 c_tbrik_setfillcolor
  setFillStyle = xform1 c_tbrik_setfillstyle
instance ITAttFill TShape where
  setFillColor = xform1 c_tshape_setfillcolor
  setFillStyle = xform1 c_tshape_setfillstyle
instance ITAttFill TArrow where
  setFillColor = xform1 c_tarrow_setfillcolor
  setFillStyle = xform1 c_tarrow_setfillstyle
instance ITAttFill TCrown where
  setFillColor = xform1 c_tcrown_setfillcolor
  setFillStyle = xform1 c_tcrown_setfillstyle
instance ITAttFill TArc where
  setFillColor = xform1 c_tarc_setfillcolor
  setFillStyle = xform1 c_tarc_setfillstyle
instance ITAttFill TEllipse where
  setFillColor = xform1 c_tellipse_setfillcolor
  setFillStyle = xform1 c_tellipse_setfillstyle
instance ITAttFill TGraphQQ where
  setFillColor = xform1 c_tgraphqq_setfillcolor
  setFillStyle = xform1 c_tgraphqq_setfillstyle
instance ITAttFill TGraphPolar where
  setFillColor = xform1 c_tgraphpolar_setfillcolor
  setFillStyle = xform1 c_tgraphpolar_setfillstyle
instance ITAttFill TGraphErrors where
  setFillColor = xform1 c_tgrapherrors_setfillcolor
  setFillStyle = xform1 c_tgrapherrors_setfillstyle
instance ITAttFill TGraphBentErrors where
  setFillColor = xform1 c_tgraphbenterrors_setfillcolor
  setFillStyle = xform1 c_tgraphbenterrors_setfillstyle
instance ITAttFill TCutG where
  setFillColor = xform1 c_tcutg_setfillcolor
  setFillStyle = xform1 c_tcutg_setfillstyle
instance ITAttFill TGraphAsymmErrors where
  setFillColor = xform1 c_tgraphasymmerrors_setfillcolor
  setFillStyle = xform1 c_tgraphasymmerrors_setfillstyle
instance ITAttFill TGraph where
  setFillColor = xform1 c_tgraph_setfillcolor
  setFillStyle = xform1 c_tgraph_setfillstyle
instance ITAttFill TF1 where
  setFillColor = xform1 c_tf1_setfillcolor
  setFillStyle = xform1 c_tf1_setfillstyle

instance ITAttLine TSlider where
  setLineColor = xform1 c_tslider_setlinecolor
instance ITAttLine TEvePad where
  setLineColor = xform1 c_tevepad_setlinecolor
instance ITAttLine TInspectCanvas where
  setLineColor = xform1 c_tinspectcanvas_setlinecolor
instance ITAttLine TDialogCanvas where
  setLineColor = xform1 c_tdialogcanvas_setlinecolor
instance ITAttLine TCanvas where
  setLineColor = xform1 c_tcanvas_setlinecolor
instance ITAttLine TGroupButton where
  setLineColor = xform1 c_tgroupbutton_setlinecolor
instance ITAttLine TButton where
  setLineColor = xform1 c_tbutton_setlinecolor
instance ITAttLine TPad where
  setLineColor = xform1 c_tpad_setlinecolor
instance ITAttLine TVirtualPad where
  setLineColor = xform1 c_tvirtualpad_setlinecolor
instance ITAttLine TH3S where
  setLineColor = xform1 c_th3s_setlinecolor
instance ITAttLine TH3I where
  setLineColor = xform1 c_th3i_setlinecolor
instance ITAttLine TH3F where
  setLineColor = xform1 c_th3f_setlinecolor
instance ITAttLine TH3D where
  setLineColor = xform1 c_th3d_setlinecolor
instance ITAttLine TH3C where
  setLineColor = xform1 c_th3c_setlinecolor
instance ITAttLine TH2S where
  setLineColor = xform1 c_th2s_setlinecolor
instance ITAttLine TH2Poly where
  setLineColor = xform1 c_th2poly_setlinecolor
instance ITAttLine TH2I where
  setLineColor = xform1 c_th2i_setlinecolor
instance ITAttLine TH2F where
  setLineColor = xform1 c_th2f_setlinecolor
instance ITAttLine TH2D where
  setLineColor = xform1 c_th2d_setlinecolor
instance ITAttLine TH2C where
  setLineColor = xform1 c_th2c_setlinecolor
instance ITAttLine TH1S where
  setLineColor = xform1 c_th1s_setlinecolor
instance ITAttLine TH1I where
  setLineColor = xform1 c_th1i_setlinecolor
instance ITAttLine TH1F where
  setLineColor = xform1 c_th1f_setlinecolor
instance ITAttLine TH1D where
  setLineColor = xform1 c_th1d_setlinecolor
instance ITAttLine TH1C where
  setLineColor = xform1 c_th1c_setlinecolor
instance ITAttLine TH3 where
  setLineColor = xform1 c_th3_setlinecolor
instance ITAttLine TH2 where
  setLineColor = xform1 c_th2_setlinecolor
instance ITAttLine TH1 where
  setLineColor = xform1 c_th1_setlinecolor
instance ITAttLine TLatex where
  setLineColor = xform1 c_tlatex_setlinecolor
instance ITAttLine TEfficiency where
  setLineColor = xform1 c_tefficiency_setlinecolor
instance ITAttLine TCurlyArc where
  setLineColor = xform1 c_tcurlyarc_setlinecolor
instance ITAttLine TCurlyLine where
  setLineColor = xform1 c_tcurlyline_setlinecolor
instance ITAttLine TPolyLine where
  setLineColor = xform1 c_tpolyline_setlinecolor
instance ITAttLine TTreeSQL where
  setLineColor = xform1 c_ttreesql_setlinecolor
instance ITAttLine TNtupleD where
  setLineColor = xform1 c_tntupled_setlinecolor
instance ITAttLine TNtuple where
  setLineColor = xform1 c_tntuple_setlinecolor
instance ITAttLine TChain where
  setLineColor = xform1 c_tchain_setlinecolor
instance ITAttLine TTree where
  setLineColor = xform1 c_ttree_setlinecolor
instance ITAttLine TSliderBox where
  setLineColor = xform1 c_tsliderbox_setlinecolor
instance ITAttLine TFrame where
  setLineColor = xform1 c_tframe_setlinecolor
instance ITAttLine TWbox where
  setLineColor = xform1 c_twbox_setlinecolor
instance ITAttLine TPaveClass where
  setLineColor = xform1 c_tpaveclass_setlinecolor
instance ITAttLine TPaveLabel where
  setLineColor = xform1 c_tpavelabel_setlinecolor
instance ITAttLine TLegend where
  setLineColor = xform1 c_tlegend_setlinecolor
instance ITAttLine TPavesText where
  setLineColor = xform1 c_tpavestext_setlinecolor
instance ITAttLine TPaveStats where
  setLineColor = xform1 c_tpavestats_setlinecolor
instance ITAttLine TDiamond where
  setLineColor = xform1 c_tdiamond_setlinecolor
instance ITAttLine TPaveText where
  setLineColor = xform1 c_tpavetext_setlinecolor
instance ITAttLine TPave where
  setLineColor = xform1 c_tpave_setlinecolor
instance ITAttLine TBox where
  setLineColor = xform1 c_tbox_setlinecolor
instance ITAttLine TXTRU where
  setLineColor = xform1 c_txtru_setlinecolor
instance ITAttLine TSPHE where
  setLineColor = xform1 c_tsphe_setlinecolor
instance ITAttLine TPCON where
  setLineColor = xform1 c_tpcon_setlinecolor
instance ITAttLine TTUBE where
  setLineColor = xform1 c_ttube_setlinecolor
instance ITAttLine TBRIK where
  setLineColor = xform1 c_tbrik_setlinecolor
instance ITAttLine TShape where
  setLineColor = xform1 c_tshape_setlinecolor
instance ITAttLine TGaxis where
  setLineColor = xform1 c_tgaxis_setlinecolor
instance ITAttLine TArrow where
  setLineColor = xform1 c_tarrow_setlinecolor
instance ITAttLine TLine where
  setLineColor = xform1 c_tline_setlinecolor
instance ITAttLine TCrown where
  setLineColor = xform1 c_tcrown_setlinecolor
instance ITAttLine TArc where
  setLineColor = xform1 c_tarc_setlinecolor
instance ITAttLine TEllipse where
  setLineColor = xform1 c_tellipse_setlinecolor
instance ITAttLine TGraphQQ where
  setLineColor = xform1 c_tgraphqq_setlinecolor
instance ITAttLine TGraphPolar where
  setLineColor = xform1 c_tgraphpolar_setlinecolor
instance ITAttLine TGraphErrors where
  setLineColor = xform1 c_tgrapherrors_setlinecolor
instance ITAttLine TGraphBentErrors where
  setLineColor = xform1 c_tgraphbenterrors_setlinecolor
instance ITAttLine TCutG where
  setLineColor = xform1 c_tcutg_setlinecolor
instance ITAttLine TGraphAsymmErrors where
  setLineColor = xform1 c_tgraphasymmerrors_setlinecolor
instance ITAttLine TGraph where
  setLineColor = xform1 c_tgraph_setlinecolor
instance ITAttLine TF1 where
  setLineColor = xform1 c_tf1_setlinecolor

instance ITAttMarker TH3S where
instance ITAttMarker TH3I where
instance ITAttMarker TH3F where
instance ITAttMarker TH3D where
instance ITAttMarker TH3C where
instance ITAttMarker TH2S where
instance ITAttMarker TH2Poly where
instance ITAttMarker TH2I where
instance ITAttMarker TH2F where
instance ITAttMarker TH2D where
instance ITAttMarker TH2C where
instance ITAttMarker TH1S where
instance ITAttMarker TH1I where
instance ITAttMarker TH1F where
instance ITAttMarker TH1D where
instance ITAttMarker TH1C where
instance ITAttMarker TH3 where
instance ITAttMarker TH2 where
instance ITAttMarker TH1 where
instance ITAttMarker TEfficiency where
instance ITAttMarker TTreeSQL where
instance ITAttMarker TNtupleD where
instance ITAttMarker TNtuple where
instance ITAttMarker TChain where
instance ITAttMarker TTree where
instance ITAttMarker TGraphQQ where
instance ITAttMarker TGraphPolar where
instance ITAttMarker TGraphErrors where
instance ITAttMarker TGraphBentErrors where
instance ITAttMarker TCutG where
instance ITAttMarker TGraphAsymmErrors where
instance ITAttMarker TGraph where

instance ITAttPad TSlider where
instance ITAttPad TEvePad where
instance ITAttPad TInspectCanvas where
instance ITAttPad TDialogCanvas where
instance ITAttPad TCanvas where
instance ITAttPad TGroupButton where
instance ITAttPad TButton where
instance ITAttPad TPad where
instance ITAttPad TVirtualPad where

instance ITAttText TInspectCanvas where
  setTextColor = xform1 c_tinspectcanvas_settextcolor
  setTextAlign = xform1 c_tinspectcanvas_settextalign
  setTextSize = xform1 c_tinspectcanvas_settextsize
instance ITAttText TDialogCanvas where
  setTextColor = xform1 c_tdialogcanvas_settextcolor
  setTextAlign = xform1 c_tdialogcanvas_settextalign
  setTextSize = xform1 c_tdialogcanvas_settextsize
instance ITAttText TGroupButton where
  setTextColor = xform1 c_tgroupbutton_settextcolor
  setTextAlign = xform1 c_tgroupbutton_settextalign
  setTextSize = xform1 c_tgroupbutton_settextsize
instance ITAttText TButton where
  setTextColor = xform1 c_tbutton_settextcolor
  setTextAlign = xform1 c_tbutton_settextalign
  setTextSize = xform1 c_tbutton_settextsize
instance ITAttText TText where
  setTextColor = xform1 c_ttext_settextcolor
  setTextAlign = xform1 c_ttext_settextalign
  setTextSize = xform1 c_ttext_settextsize
instance ITAttText TLatex where
  setTextColor = xform1 c_tlatex_settextcolor
  setTextAlign = xform1 c_tlatex_settextalign
  setTextSize = xform1 c_tlatex_settextsize
instance ITAttText TPaveClass where
  setTextColor = xform1 c_tpaveclass_settextcolor
  setTextAlign = xform1 c_tpaveclass_settextalign
  setTextSize = xform1 c_tpaveclass_settextsize
instance ITAttText TPaveLabel where
  setTextColor = xform1 c_tpavelabel_settextcolor
  setTextAlign = xform1 c_tpavelabel_settextalign
  setTextSize = xform1 c_tpavelabel_settextsize
instance ITAttText TLegend where
  setTextColor = xform1 c_tlegend_settextcolor
  setTextAlign = xform1 c_tlegend_settextalign
  setTextSize = xform1 c_tlegend_settextsize
instance ITAttText TPavesText where
  setTextColor = xform1 c_tpavestext_settextcolor
  setTextAlign = xform1 c_tpavestext_settextalign
  setTextSize = xform1 c_tpavestext_settextsize
instance ITAttText TPaveStats where
  setTextColor = xform1 c_tpavestats_settextcolor
  setTextAlign = xform1 c_tpavestats_settextalign
  setTextSize = xform1 c_tpavestats_settextsize
instance ITAttText TDiamond where
  setTextColor = xform1 c_tdiamond_settextcolor
  setTextAlign = xform1 c_tdiamond_settextalign
  setTextSize = xform1 c_tdiamond_settextsize
instance ITAttText TPaveText where
  setTextColor = xform1 c_tpavetext_settextcolor
  setTextAlign = xform1 c_tpavetext_settextalign
  setTextSize = xform1 c_tpavetext_settextsize
instance ITAttText TGaxis where
  setTextColor = xform1 c_tgaxis_settextcolor
  setTextAlign = xform1 c_tgaxis_settextalign
  setTextSize = xform1 c_tgaxis_settextsize

instance ITBox TSliderBox where
instance ITBox TFrame where
instance ITBox TWbox where
instance ITBox TPaveClass where
instance ITBox TPaveLabel where
instance ITBox TLegend where
instance ITBox TPavesText where
instance ITBox TPaveStats where
instance ITBox TDiamond where
instance ITBox TPaveText where
instance ITBox TPave where

instance ITButton TGroupButton where

instance ITCanvas TInspectCanvas where
instance ITCanvas TDialogCanvas where

instance ITCurlyLine TCurlyArc where

instance ITDirectory TFile where
  close = xform1 c_tfile_close
instance ITDirectory TDirectoryFile where
  close = xform1 c_tdirectoryfile_close

instance ITDirectoryFile TFile where

instance ITEllipse TCrown where
instance ITEllipse TArc where

instance ITFormula TF1 where
  getParameter = xform1 c_tf1_getparameter
  setParameter = xform2 c_tf1_setparameter

instance ITGraph TGraphQQ where
instance ITGraph TGraphPolar where
instance ITGraph TGraphErrors where
instance ITGraph TGraphBentErrors where
instance ITGraph TCutG where
instance ITGraph TGraphAsymmErrors where

instance ITGraphErrors TGraphPolar where

instance ITH1 TH3S where
  add = xform2 c_th3s_add
  addBinContent = xform2 c_th3s_addbincontent
  chi2Test = xform3 c_th3s_chi2test
  computeIntegral = xform0 c_th3s_computeintegral
  directoryAutoAdd = xform1 c_th3s_directoryautoadd
  distancetoPrimitive = xform2 c_th3s_distancetoprimitive
  divide = xform5 c_th3s_divide
  drawCopy = xform1 c_th3s_drawcopy
  drawNormalized = xform2 c_th3s_drawnormalized
  drawPanel = xform0 c_th3s_drawpanel
  bufferEmpty = xform1 c_th3s_bufferempty
  eval = xform2 c_th3s_eval
  executeEvent = xform3 c_th3s_executeevent
  fFT = xform2 c_th3s_fft
  fill1 = xform1 c_th3s_fill1
  fillN = xform4 c_th3s_filln
  fillRandom = xform2 c_th3s_fillrandom
  findBin = xform3 c_th3s_findbin
  findFixBin = xform3 c_th3s_findfixbin
  findFirstBinAbove = xform2 c_th3s_findfirstbinabove
  findLastBinAbove = xform2 c_th3s_findlastbinabove
  fitPanel = xform0 c_th3s_fitpanel
  getNdivisions = xform1 c_th3s_getndivisions
  getAxisColor = xform1 c_th3s_getaxiscolor
  getLabelColor = xform1 c_th3s_getlabelcolor
  getLabelFont = xform1 c_th3s_getlabelfont
  getLabelOffset = xform1 c_th3s_getlabeloffset
  getLabelSize = xform1 c_th3s_getlabelsize
  getTitleFont = xform1 c_th3s_gettitlefont
  getTitleOffset = xform1 c_th3s_gettitleoffset
  getTitleSize = xform1 c_th3s_gettitlesize
  getTickLength = xform1 c_th3s_getticklength
  getBarOffset = xform0 c_th3s_getbaroffset
  getBarWidth = xform0 c_th3s_getbarwidth
  getContour = xform1 c_th3s_getcontour
  getContourLevel = xform1 c_th3s_getcontourlevel
  getContourLevelPad = xform1 c_th3s_getcontourlevelpad
  getBin = xform3 c_th3s_getbin
  getBinCenter = xform1 c_th3s_getbincenter
  getBinContent1 = xform1 c_th3s_getbincontent1
  getBinContent2 = xform2 c_th3s_getbincontent2
  getBinContent3 = xform3 c_th3s_getbincontent3
  getBinError1 = xform1 c_th3s_getbinerror1
  getBinError2 = xform2 c_th3s_getbinerror2
  getBinError3 = xform3 c_th3s_getbinerror3
  getBinLowEdge = xform1 c_th3s_getbinlowedge
  getBinWidth = xform1 c_th3s_getbinwidth
  getCellContent = xform2 c_th3s_getcellcontent
  getCellError = xform2 c_th3s_getcellerror
instance ITH1 TH3I where
  add = xform2 c_th3i_add
  addBinContent = xform2 c_th3i_addbincontent
  chi2Test = xform3 c_th3i_chi2test
  computeIntegral = xform0 c_th3i_computeintegral
  directoryAutoAdd = xform1 c_th3i_directoryautoadd
  distancetoPrimitive = xform2 c_th3i_distancetoprimitive
  divide = xform5 c_th3i_divide
  drawCopy = xform1 c_th3i_drawcopy
  drawNormalized = xform2 c_th3i_drawnormalized
  drawPanel = xform0 c_th3i_drawpanel
  bufferEmpty = xform1 c_th3i_bufferempty
  eval = xform2 c_th3i_eval
  executeEvent = xform3 c_th3i_executeevent
  fFT = xform2 c_th3i_fft
  fill1 = xform1 c_th3i_fill1
  fillN = xform4 c_th3i_filln
  fillRandom = xform2 c_th3i_fillrandom
  findBin = xform3 c_th3i_findbin
  findFixBin = xform3 c_th3i_findfixbin
  findFirstBinAbove = xform2 c_th3i_findfirstbinabove
  findLastBinAbove = xform2 c_th3i_findlastbinabove
  fitPanel = xform0 c_th3i_fitpanel
  getNdivisions = xform1 c_th3i_getndivisions
  getAxisColor = xform1 c_th3i_getaxiscolor
  getLabelColor = xform1 c_th3i_getlabelcolor
  getLabelFont = xform1 c_th3i_getlabelfont
  getLabelOffset = xform1 c_th3i_getlabeloffset
  getLabelSize = xform1 c_th3i_getlabelsize
  getTitleFont = xform1 c_th3i_gettitlefont
  getTitleOffset = xform1 c_th3i_gettitleoffset
  getTitleSize = xform1 c_th3i_gettitlesize
  getTickLength = xform1 c_th3i_getticklength
  getBarOffset = xform0 c_th3i_getbaroffset
  getBarWidth = xform0 c_th3i_getbarwidth
  getContour = xform1 c_th3i_getcontour
  getContourLevel = xform1 c_th3i_getcontourlevel
  getContourLevelPad = xform1 c_th3i_getcontourlevelpad
  getBin = xform3 c_th3i_getbin
  getBinCenter = xform1 c_th3i_getbincenter
  getBinContent1 = xform1 c_th3i_getbincontent1
  getBinContent2 = xform2 c_th3i_getbincontent2
  getBinContent3 = xform3 c_th3i_getbincontent3
  getBinError1 = xform1 c_th3i_getbinerror1
  getBinError2 = xform2 c_th3i_getbinerror2
  getBinError3 = xform3 c_th3i_getbinerror3
  getBinLowEdge = xform1 c_th3i_getbinlowedge
  getBinWidth = xform1 c_th3i_getbinwidth
  getCellContent = xform2 c_th3i_getcellcontent
  getCellError = xform2 c_th3i_getcellerror
instance ITH1 TH3F where
  add = xform2 c_th3f_add
  addBinContent = xform2 c_th3f_addbincontent
  chi2Test = xform3 c_th3f_chi2test
  computeIntegral = xform0 c_th3f_computeintegral
  directoryAutoAdd = xform1 c_th3f_directoryautoadd
  distancetoPrimitive = xform2 c_th3f_distancetoprimitive
  divide = xform5 c_th3f_divide
  drawCopy = xform1 c_th3f_drawcopy
  drawNormalized = xform2 c_th3f_drawnormalized
  drawPanel = xform0 c_th3f_drawpanel
  bufferEmpty = xform1 c_th3f_bufferempty
  eval = xform2 c_th3f_eval
  executeEvent = xform3 c_th3f_executeevent
  fFT = xform2 c_th3f_fft
  fill1 = xform1 c_th3f_fill1
  fillN = xform4 c_th3f_filln
  fillRandom = xform2 c_th3f_fillrandom
  findBin = xform3 c_th3f_findbin
  findFixBin = xform3 c_th3f_findfixbin
  findFirstBinAbove = xform2 c_th3f_findfirstbinabove
  findLastBinAbove = xform2 c_th3f_findlastbinabove
  fitPanel = xform0 c_th3f_fitpanel
  getNdivisions = xform1 c_th3f_getndivisions
  getAxisColor = xform1 c_th3f_getaxiscolor
  getLabelColor = xform1 c_th3f_getlabelcolor
  getLabelFont = xform1 c_th3f_getlabelfont
  getLabelOffset = xform1 c_th3f_getlabeloffset
  getLabelSize = xform1 c_th3f_getlabelsize
  getTitleFont = xform1 c_th3f_gettitlefont
  getTitleOffset = xform1 c_th3f_gettitleoffset
  getTitleSize = xform1 c_th3f_gettitlesize
  getTickLength = xform1 c_th3f_getticklength
  getBarOffset = xform0 c_th3f_getbaroffset
  getBarWidth = xform0 c_th3f_getbarwidth
  getContour = xform1 c_th3f_getcontour
  getContourLevel = xform1 c_th3f_getcontourlevel
  getContourLevelPad = xform1 c_th3f_getcontourlevelpad
  getBin = xform3 c_th3f_getbin
  getBinCenter = xform1 c_th3f_getbincenter
  getBinContent1 = xform1 c_th3f_getbincontent1
  getBinContent2 = xform2 c_th3f_getbincontent2
  getBinContent3 = xform3 c_th3f_getbincontent3
  getBinError1 = xform1 c_th3f_getbinerror1
  getBinError2 = xform2 c_th3f_getbinerror2
  getBinError3 = xform3 c_th3f_getbinerror3
  getBinLowEdge = xform1 c_th3f_getbinlowedge
  getBinWidth = xform1 c_th3f_getbinwidth
  getCellContent = xform2 c_th3f_getcellcontent
  getCellError = xform2 c_th3f_getcellerror
instance ITH1 TH3D where
  add = xform2 c_th3d_add
  addBinContent = xform2 c_th3d_addbincontent
  chi2Test = xform3 c_th3d_chi2test
  computeIntegral = xform0 c_th3d_computeintegral
  directoryAutoAdd = xform1 c_th3d_directoryautoadd
  distancetoPrimitive = xform2 c_th3d_distancetoprimitive
  divide = xform5 c_th3d_divide
  drawCopy = xform1 c_th3d_drawcopy
  drawNormalized = xform2 c_th3d_drawnormalized
  drawPanel = xform0 c_th3d_drawpanel
  bufferEmpty = xform1 c_th3d_bufferempty
  eval = xform2 c_th3d_eval
  executeEvent = xform3 c_th3d_executeevent
  fFT = xform2 c_th3d_fft
  fill1 = xform1 c_th3d_fill1
  fillN = xform4 c_th3d_filln
  fillRandom = xform2 c_th3d_fillrandom
  findBin = xform3 c_th3d_findbin
  findFixBin = xform3 c_th3d_findfixbin
  findFirstBinAbove = xform2 c_th3d_findfirstbinabove
  findLastBinAbove = xform2 c_th3d_findlastbinabove
  fitPanel = xform0 c_th3d_fitpanel
  getNdivisions = xform1 c_th3d_getndivisions
  getAxisColor = xform1 c_th3d_getaxiscolor
  getLabelColor = xform1 c_th3d_getlabelcolor
  getLabelFont = xform1 c_th3d_getlabelfont
  getLabelOffset = xform1 c_th3d_getlabeloffset
  getLabelSize = xform1 c_th3d_getlabelsize
  getTitleFont = xform1 c_th3d_gettitlefont
  getTitleOffset = xform1 c_th3d_gettitleoffset
  getTitleSize = xform1 c_th3d_gettitlesize
  getTickLength = xform1 c_th3d_getticklength
  getBarOffset = xform0 c_th3d_getbaroffset
  getBarWidth = xform0 c_th3d_getbarwidth
  getContour = xform1 c_th3d_getcontour
  getContourLevel = xform1 c_th3d_getcontourlevel
  getContourLevelPad = xform1 c_th3d_getcontourlevelpad
  getBin = xform3 c_th3d_getbin
  getBinCenter = xform1 c_th3d_getbincenter
  getBinContent1 = xform1 c_th3d_getbincontent1
  getBinContent2 = xform2 c_th3d_getbincontent2
  getBinContent3 = xform3 c_th3d_getbincontent3
  getBinError1 = xform1 c_th3d_getbinerror1
  getBinError2 = xform2 c_th3d_getbinerror2
  getBinError3 = xform3 c_th3d_getbinerror3
  getBinLowEdge = xform1 c_th3d_getbinlowedge
  getBinWidth = xform1 c_th3d_getbinwidth
  getCellContent = xform2 c_th3d_getcellcontent
  getCellError = xform2 c_th3d_getcellerror
instance ITH1 TH3C where
  add = xform2 c_th3c_add
  addBinContent = xform2 c_th3c_addbincontent
  chi2Test = xform3 c_th3c_chi2test
  computeIntegral = xform0 c_th3c_computeintegral
  directoryAutoAdd = xform1 c_th3c_directoryautoadd
  distancetoPrimitive = xform2 c_th3c_distancetoprimitive
  divide = xform5 c_th3c_divide
  drawCopy = xform1 c_th3c_drawcopy
  drawNormalized = xform2 c_th3c_drawnormalized
  drawPanel = xform0 c_th3c_drawpanel
  bufferEmpty = xform1 c_th3c_bufferempty
  eval = xform2 c_th3c_eval
  executeEvent = xform3 c_th3c_executeevent
  fFT = xform2 c_th3c_fft
  fill1 = xform1 c_th3c_fill1
  fillN = xform4 c_th3c_filln
  fillRandom = xform2 c_th3c_fillrandom
  findBin = xform3 c_th3c_findbin
  findFixBin = xform3 c_th3c_findfixbin
  findFirstBinAbove = xform2 c_th3c_findfirstbinabove
  findLastBinAbove = xform2 c_th3c_findlastbinabove
  fitPanel = xform0 c_th3c_fitpanel
  getNdivisions = xform1 c_th3c_getndivisions
  getAxisColor = xform1 c_th3c_getaxiscolor
  getLabelColor = xform1 c_th3c_getlabelcolor
  getLabelFont = xform1 c_th3c_getlabelfont
  getLabelOffset = xform1 c_th3c_getlabeloffset
  getLabelSize = xform1 c_th3c_getlabelsize
  getTitleFont = xform1 c_th3c_gettitlefont
  getTitleOffset = xform1 c_th3c_gettitleoffset
  getTitleSize = xform1 c_th3c_gettitlesize
  getTickLength = xform1 c_th3c_getticklength
  getBarOffset = xform0 c_th3c_getbaroffset
  getBarWidth = xform0 c_th3c_getbarwidth
  getContour = xform1 c_th3c_getcontour
  getContourLevel = xform1 c_th3c_getcontourlevel
  getContourLevelPad = xform1 c_th3c_getcontourlevelpad
  getBin = xform3 c_th3c_getbin
  getBinCenter = xform1 c_th3c_getbincenter
  getBinContent1 = xform1 c_th3c_getbincontent1
  getBinContent2 = xform2 c_th3c_getbincontent2
  getBinContent3 = xform3 c_th3c_getbincontent3
  getBinError1 = xform1 c_th3c_getbinerror1
  getBinError2 = xform2 c_th3c_getbinerror2
  getBinError3 = xform3 c_th3c_getbinerror3
  getBinLowEdge = xform1 c_th3c_getbinlowedge
  getBinWidth = xform1 c_th3c_getbinwidth
  getCellContent = xform2 c_th3c_getcellcontent
  getCellError = xform2 c_th3c_getcellerror
instance ITH1 TH2S where
  add = xform2 c_th2s_add
  addBinContent = xform2 c_th2s_addbincontent
  chi2Test = xform3 c_th2s_chi2test
  computeIntegral = xform0 c_th2s_computeintegral
  directoryAutoAdd = xform1 c_th2s_directoryautoadd
  distancetoPrimitive = xform2 c_th2s_distancetoprimitive
  divide = xform5 c_th2s_divide
  drawCopy = xform1 c_th2s_drawcopy
  drawNormalized = xform2 c_th2s_drawnormalized
  drawPanel = xform0 c_th2s_drawpanel
  bufferEmpty = xform1 c_th2s_bufferempty
  eval = xform2 c_th2s_eval
  executeEvent = xform3 c_th2s_executeevent
  fFT = xform2 c_th2s_fft
  fill1 = xform1 c_th2s_fill1
  fillN = xform4 c_th2s_filln
  fillRandom = xform2 c_th2s_fillrandom
  findBin = xform3 c_th2s_findbin
  findFixBin = xform3 c_th2s_findfixbin
  findFirstBinAbove = xform2 c_th2s_findfirstbinabove
  findLastBinAbove = xform2 c_th2s_findlastbinabove
  fitPanel = xform0 c_th2s_fitpanel
  getNdivisions = xform1 c_th2s_getndivisions
  getAxisColor = xform1 c_th2s_getaxiscolor
  getLabelColor = xform1 c_th2s_getlabelcolor
  getLabelFont = xform1 c_th2s_getlabelfont
  getLabelOffset = xform1 c_th2s_getlabeloffset
  getLabelSize = xform1 c_th2s_getlabelsize
  getTitleFont = xform1 c_th2s_gettitlefont
  getTitleOffset = xform1 c_th2s_gettitleoffset
  getTitleSize = xform1 c_th2s_gettitlesize
  getTickLength = xform1 c_th2s_getticklength
  getBarOffset = xform0 c_th2s_getbaroffset
  getBarWidth = xform0 c_th2s_getbarwidth
  getContour = xform1 c_th2s_getcontour
  getContourLevel = xform1 c_th2s_getcontourlevel
  getContourLevelPad = xform1 c_th2s_getcontourlevelpad
  getBin = xform3 c_th2s_getbin
  getBinCenter = xform1 c_th2s_getbincenter
  getBinContent1 = xform1 c_th2s_getbincontent1
  getBinContent2 = xform2 c_th2s_getbincontent2
  getBinContent3 = xform3 c_th2s_getbincontent3
  getBinError1 = xform1 c_th2s_getbinerror1
  getBinError2 = xform2 c_th2s_getbinerror2
  getBinError3 = xform3 c_th2s_getbinerror3
  getBinLowEdge = xform1 c_th2s_getbinlowedge
  getBinWidth = xform1 c_th2s_getbinwidth
  getCellContent = xform2 c_th2s_getcellcontent
  getCellError = xform2 c_th2s_getcellerror
instance ITH1 TH2Poly where
  add = xform2 c_th2poly_add
  addBinContent = xform2 c_th2poly_addbincontent
  chi2Test = xform3 c_th2poly_chi2test
  computeIntegral = xform0 c_th2poly_computeintegral
  directoryAutoAdd = xform1 c_th2poly_directoryautoadd
  distancetoPrimitive = xform2 c_th2poly_distancetoprimitive
  divide = xform5 c_th2poly_divide
  drawCopy = xform1 c_th2poly_drawcopy
  drawNormalized = xform2 c_th2poly_drawnormalized
  drawPanel = xform0 c_th2poly_drawpanel
  bufferEmpty = xform1 c_th2poly_bufferempty
  eval = xform2 c_th2poly_eval
  executeEvent = xform3 c_th2poly_executeevent
  fFT = xform2 c_th2poly_fft
  fill1 = xform1 c_th2poly_fill1
  fillN = xform4 c_th2poly_filln
  fillRandom = xform2 c_th2poly_fillrandom
  findBin = xform3 c_th2poly_findbin
  findFixBin = xform3 c_th2poly_findfixbin
  findFirstBinAbove = xform2 c_th2poly_findfirstbinabove
  findLastBinAbove = xform2 c_th2poly_findlastbinabove
  fitPanel = xform0 c_th2poly_fitpanel
  getNdivisions = xform1 c_th2poly_getndivisions
  getAxisColor = xform1 c_th2poly_getaxiscolor
  getLabelColor = xform1 c_th2poly_getlabelcolor
  getLabelFont = xform1 c_th2poly_getlabelfont
  getLabelOffset = xform1 c_th2poly_getlabeloffset
  getLabelSize = xform1 c_th2poly_getlabelsize
  getTitleFont = xform1 c_th2poly_gettitlefont
  getTitleOffset = xform1 c_th2poly_gettitleoffset
  getTitleSize = xform1 c_th2poly_gettitlesize
  getTickLength = xform1 c_th2poly_getticklength
  getBarOffset = xform0 c_th2poly_getbaroffset
  getBarWidth = xform0 c_th2poly_getbarwidth
  getContour = xform1 c_th2poly_getcontour
  getContourLevel = xform1 c_th2poly_getcontourlevel
  getContourLevelPad = xform1 c_th2poly_getcontourlevelpad
  getBin = xform3 c_th2poly_getbin
  getBinCenter = xform1 c_th2poly_getbincenter
  getBinContent1 = xform1 c_th2poly_getbincontent1
  getBinContent2 = xform2 c_th2poly_getbincontent2
  getBinContent3 = xform3 c_th2poly_getbincontent3
  getBinError1 = xform1 c_th2poly_getbinerror1
  getBinError2 = xform2 c_th2poly_getbinerror2
  getBinError3 = xform3 c_th2poly_getbinerror3
  getBinLowEdge = xform1 c_th2poly_getbinlowedge
  getBinWidth = xform1 c_th2poly_getbinwidth
  getCellContent = xform2 c_th2poly_getcellcontent
  getCellError = xform2 c_th2poly_getcellerror
instance ITH1 TH2I where
  add = xform2 c_th2i_add
  addBinContent = xform2 c_th2i_addbincontent
  chi2Test = xform3 c_th2i_chi2test
  computeIntegral = xform0 c_th2i_computeintegral
  directoryAutoAdd = xform1 c_th2i_directoryautoadd
  distancetoPrimitive = xform2 c_th2i_distancetoprimitive
  divide = xform5 c_th2i_divide
  drawCopy = xform1 c_th2i_drawcopy
  drawNormalized = xform2 c_th2i_drawnormalized
  drawPanel = xform0 c_th2i_drawpanel
  bufferEmpty = xform1 c_th2i_bufferempty
  eval = xform2 c_th2i_eval
  executeEvent = xform3 c_th2i_executeevent
  fFT = xform2 c_th2i_fft
  fill1 = xform1 c_th2i_fill1
  fillN = xform4 c_th2i_filln
  fillRandom = xform2 c_th2i_fillrandom
  findBin = xform3 c_th2i_findbin
  findFixBin = xform3 c_th2i_findfixbin
  findFirstBinAbove = xform2 c_th2i_findfirstbinabove
  findLastBinAbove = xform2 c_th2i_findlastbinabove
  fitPanel = xform0 c_th2i_fitpanel
  getNdivisions = xform1 c_th2i_getndivisions
  getAxisColor = xform1 c_th2i_getaxiscolor
  getLabelColor = xform1 c_th2i_getlabelcolor
  getLabelFont = xform1 c_th2i_getlabelfont
  getLabelOffset = xform1 c_th2i_getlabeloffset
  getLabelSize = xform1 c_th2i_getlabelsize
  getTitleFont = xform1 c_th2i_gettitlefont
  getTitleOffset = xform1 c_th2i_gettitleoffset
  getTitleSize = xform1 c_th2i_gettitlesize
  getTickLength = xform1 c_th2i_getticklength
  getBarOffset = xform0 c_th2i_getbaroffset
  getBarWidth = xform0 c_th2i_getbarwidth
  getContour = xform1 c_th2i_getcontour
  getContourLevel = xform1 c_th2i_getcontourlevel
  getContourLevelPad = xform1 c_th2i_getcontourlevelpad
  getBin = xform3 c_th2i_getbin
  getBinCenter = xform1 c_th2i_getbincenter
  getBinContent1 = xform1 c_th2i_getbincontent1
  getBinContent2 = xform2 c_th2i_getbincontent2
  getBinContent3 = xform3 c_th2i_getbincontent3
  getBinError1 = xform1 c_th2i_getbinerror1
  getBinError2 = xform2 c_th2i_getbinerror2
  getBinError3 = xform3 c_th2i_getbinerror3
  getBinLowEdge = xform1 c_th2i_getbinlowedge
  getBinWidth = xform1 c_th2i_getbinwidth
  getCellContent = xform2 c_th2i_getcellcontent
  getCellError = xform2 c_th2i_getcellerror
instance ITH1 TH2F where
  add = xform2 c_th2f_add
  addBinContent = xform2 c_th2f_addbincontent
  chi2Test = xform3 c_th2f_chi2test
  computeIntegral = xform0 c_th2f_computeintegral
  directoryAutoAdd = xform1 c_th2f_directoryautoadd
  distancetoPrimitive = xform2 c_th2f_distancetoprimitive
  divide = xform5 c_th2f_divide
  drawCopy = xform1 c_th2f_drawcopy
  drawNormalized = xform2 c_th2f_drawnormalized
  drawPanel = xform0 c_th2f_drawpanel
  bufferEmpty = xform1 c_th2f_bufferempty
  eval = xform2 c_th2f_eval
  executeEvent = xform3 c_th2f_executeevent
  fFT = xform2 c_th2f_fft
  fill1 = xform1 c_th2f_fill1
  fillN = xform4 c_th2f_filln
  fillRandom = xform2 c_th2f_fillrandom
  findBin = xform3 c_th2f_findbin
  findFixBin = xform3 c_th2f_findfixbin
  findFirstBinAbove = xform2 c_th2f_findfirstbinabove
  findLastBinAbove = xform2 c_th2f_findlastbinabove
  fitPanel = xform0 c_th2f_fitpanel
  getNdivisions = xform1 c_th2f_getndivisions
  getAxisColor = xform1 c_th2f_getaxiscolor
  getLabelColor = xform1 c_th2f_getlabelcolor
  getLabelFont = xform1 c_th2f_getlabelfont
  getLabelOffset = xform1 c_th2f_getlabeloffset
  getLabelSize = xform1 c_th2f_getlabelsize
  getTitleFont = xform1 c_th2f_gettitlefont
  getTitleOffset = xform1 c_th2f_gettitleoffset
  getTitleSize = xform1 c_th2f_gettitlesize
  getTickLength = xform1 c_th2f_getticklength
  getBarOffset = xform0 c_th2f_getbaroffset
  getBarWidth = xform0 c_th2f_getbarwidth
  getContour = xform1 c_th2f_getcontour
  getContourLevel = xform1 c_th2f_getcontourlevel
  getContourLevelPad = xform1 c_th2f_getcontourlevelpad
  getBin = xform3 c_th2f_getbin
  getBinCenter = xform1 c_th2f_getbincenter
  getBinContent1 = xform1 c_th2f_getbincontent1
  getBinContent2 = xform2 c_th2f_getbincontent2
  getBinContent3 = xform3 c_th2f_getbincontent3
  getBinError1 = xform1 c_th2f_getbinerror1
  getBinError2 = xform2 c_th2f_getbinerror2
  getBinError3 = xform3 c_th2f_getbinerror3
  getBinLowEdge = xform1 c_th2f_getbinlowedge
  getBinWidth = xform1 c_th2f_getbinwidth
  getCellContent = xform2 c_th2f_getcellcontent
  getCellError = xform2 c_th2f_getcellerror
instance ITH1 TH2D where
  add = xform2 c_th2d_add
  addBinContent = xform2 c_th2d_addbincontent
  chi2Test = xform3 c_th2d_chi2test
  computeIntegral = xform0 c_th2d_computeintegral
  directoryAutoAdd = xform1 c_th2d_directoryautoadd
  distancetoPrimitive = xform2 c_th2d_distancetoprimitive
  divide = xform5 c_th2d_divide
  drawCopy = xform1 c_th2d_drawcopy
  drawNormalized = xform2 c_th2d_drawnormalized
  drawPanel = xform0 c_th2d_drawpanel
  bufferEmpty = xform1 c_th2d_bufferempty
  eval = xform2 c_th2d_eval
  executeEvent = xform3 c_th2d_executeevent
  fFT = xform2 c_th2d_fft
  fill1 = xform1 c_th2d_fill1
  fillN = xform4 c_th2d_filln
  fillRandom = xform2 c_th2d_fillrandom
  findBin = xform3 c_th2d_findbin
  findFixBin = xform3 c_th2d_findfixbin
  findFirstBinAbove = xform2 c_th2d_findfirstbinabove
  findLastBinAbove = xform2 c_th2d_findlastbinabove
  fitPanel = xform0 c_th2d_fitpanel
  getNdivisions = xform1 c_th2d_getndivisions
  getAxisColor = xform1 c_th2d_getaxiscolor
  getLabelColor = xform1 c_th2d_getlabelcolor
  getLabelFont = xform1 c_th2d_getlabelfont
  getLabelOffset = xform1 c_th2d_getlabeloffset
  getLabelSize = xform1 c_th2d_getlabelsize
  getTitleFont = xform1 c_th2d_gettitlefont
  getTitleOffset = xform1 c_th2d_gettitleoffset
  getTitleSize = xform1 c_th2d_gettitlesize
  getTickLength = xform1 c_th2d_getticklength
  getBarOffset = xform0 c_th2d_getbaroffset
  getBarWidth = xform0 c_th2d_getbarwidth
  getContour = xform1 c_th2d_getcontour
  getContourLevel = xform1 c_th2d_getcontourlevel
  getContourLevelPad = xform1 c_th2d_getcontourlevelpad
  getBin = xform3 c_th2d_getbin
  getBinCenter = xform1 c_th2d_getbincenter
  getBinContent1 = xform1 c_th2d_getbincontent1
  getBinContent2 = xform2 c_th2d_getbincontent2
  getBinContent3 = xform3 c_th2d_getbincontent3
  getBinError1 = xform1 c_th2d_getbinerror1
  getBinError2 = xform2 c_th2d_getbinerror2
  getBinError3 = xform3 c_th2d_getbinerror3
  getBinLowEdge = xform1 c_th2d_getbinlowedge
  getBinWidth = xform1 c_th2d_getbinwidth
  getCellContent = xform2 c_th2d_getcellcontent
  getCellError = xform2 c_th2d_getcellerror
instance ITH1 TH2C where
  add = xform2 c_th2c_add
  addBinContent = xform2 c_th2c_addbincontent
  chi2Test = xform3 c_th2c_chi2test
  computeIntegral = xform0 c_th2c_computeintegral
  directoryAutoAdd = xform1 c_th2c_directoryautoadd
  distancetoPrimitive = xform2 c_th2c_distancetoprimitive
  divide = xform5 c_th2c_divide
  drawCopy = xform1 c_th2c_drawcopy
  drawNormalized = xform2 c_th2c_drawnormalized
  drawPanel = xform0 c_th2c_drawpanel
  bufferEmpty = xform1 c_th2c_bufferempty
  eval = xform2 c_th2c_eval
  executeEvent = xform3 c_th2c_executeevent
  fFT = xform2 c_th2c_fft
  fill1 = xform1 c_th2c_fill1
  fillN = xform4 c_th2c_filln
  fillRandom = xform2 c_th2c_fillrandom
  findBin = xform3 c_th2c_findbin
  findFixBin = xform3 c_th2c_findfixbin
  findFirstBinAbove = xform2 c_th2c_findfirstbinabove
  findLastBinAbove = xform2 c_th2c_findlastbinabove
  fitPanel = xform0 c_th2c_fitpanel
  getNdivisions = xform1 c_th2c_getndivisions
  getAxisColor = xform1 c_th2c_getaxiscolor
  getLabelColor = xform1 c_th2c_getlabelcolor
  getLabelFont = xform1 c_th2c_getlabelfont
  getLabelOffset = xform1 c_th2c_getlabeloffset
  getLabelSize = xform1 c_th2c_getlabelsize
  getTitleFont = xform1 c_th2c_gettitlefont
  getTitleOffset = xform1 c_th2c_gettitleoffset
  getTitleSize = xform1 c_th2c_gettitlesize
  getTickLength = xform1 c_th2c_getticklength
  getBarOffset = xform0 c_th2c_getbaroffset
  getBarWidth = xform0 c_th2c_getbarwidth
  getContour = xform1 c_th2c_getcontour
  getContourLevel = xform1 c_th2c_getcontourlevel
  getContourLevelPad = xform1 c_th2c_getcontourlevelpad
  getBin = xform3 c_th2c_getbin
  getBinCenter = xform1 c_th2c_getbincenter
  getBinContent1 = xform1 c_th2c_getbincontent1
  getBinContent2 = xform2 c_th2c_getbincontent2
  getBinContent3 = xform3 c_th2c_getbincontent3
  getBinError1 = xform1 c_th2c_getbinerror1
  getBinError2 = xform2 c_th2c_getbinerror2
  getBinError3 = xform3 c_th2c_getbinerror3
  getBinLowEdge = xform1 c_th2c_getbinlowedge
  getBinWidth = xform1 c_th2c_getbinwidth
  getCellContent = xform2 c_th2c_getcellcontent
  getCellError = xform2 c_th2c_getcellerror
instance ITH1 TH1S where
  add = xform2 c_th1s_add
  addBinContent = xform2 c_th1s_addbincontent
  chi2Test = xform3 c_th1s_chi2test
  computeIntegral = xform0 c_th1s_computeintegral
  directoryAutoAdd = xform1 c_th1s_directoryautoadd
  distancetoPrimitive = xform2 c_th1s_distancetoprimitive
  divide = xform5 c_th1s_divide
  drawCopy = xform1 c_th1s_drawcopy
  drawNormalized = xform2 c_th1s_drawnormalized
  drawPanel = xform0 c_th1s_drawpanel
  bufferEmpty = xform1 c_th1s_bufferempty
  eval = xform2 c_th1s_eval
  executeEvent = xform3 c_th1s_executeevent
  fFT = xform2 c_th1s_fft
  fill1 = xform1 c_th1s_fill1
  fillN = xform4 c_th1s_filln
  fillRandom = xform2 c_th1s_fillrandom
  findBin = xform3 c_th1s_findbin
  findFixBin = xform3 c_th1s_findfixbin
  findFirstBinAbove = xform2 c_th1s_findfirstbinabove
  findLastBinAbove = xform2 c_th1s_findlastbinabove
  fitPanel = xform0 c_th1s_fitpanel
  getNdivisions = xform1 c_th1s_getndivisions
  getAxisColor = xform1 c_th1s_getaxiscolor
  getLabelColor = xform1 c_th1s_getlabelcolor
  getLabelFont = xform1 c_th1s_getlabelfont
  getLabelOffset = xform1 c_th1s_getlabeloffset
  getLabelSize = xform1 c_th1s_getlabelsize
  getTitleFont = xform1 c_th1s_gettitlefont
  getTitleOffset = xform1 c_th1s_gettitleoffset
  getTitleSize = xform1 c_th1s_gettitlesize
  getTickLength = xform1 c_th1s_getticklength
  getBarOffset = xform0 c_th1s_getbaroffset
  getBarWidth = xform0 c_th1s_getbarwidth
  getContour = xform1 c_th1s_getcontour
  getContourLevel = xform1 c_th1s_getcontourlevel
  getContourLevelPad = xform1 c_th1s_getcontourlevelpad
  getBin = xform3 c_th1s_getbin
  getBinCenter = xform1 c_th1s_getbincenter
  getBinContent1 = xform1 c_th1s_getbincontent1
  getBinContent2 = xform2 c_th1s_getbincontent2
  getBinContent3 = xform3 c_th1s_getbincontent3
  getBinError1 = xform1 c_th1s_getbinerror1
  getBinError2 = xform2 c_th1s_getbinerror2
  getBinError3 = xform3 c_th1s_getbinerror3
  getBinLowEdge = xform1 c_th1s_getbinlowedge
  getBinWidth = xform1 c_th1s_getbinwidth
  getCellContent = xform2 c_th1s_getcellcontent
  getCellError = xform2 c_th1s_getcellerror
instance ITH1 TH1I where
  add = xform2 c_th1i_add
  addBinContent = xform2 c_th1i_addbincontent
  chi2Test = xform3 c_th1i_chi2test
  computeIntegral = xform0 c_th1i_computeintegral
  directoryAutoAdd = xform1 c_th1i_directoryautoadd
  distancetoPrimitive = xform2 c_th1i_distancetoprimitive
  divide = xform5 c_th1i_divide
  drawCopy = xform1 c_th1i_drawcopy
  drawNormalized = xform2 c_th1i_drawnormalized
  drawPanel = xform0 c_th1i_drawpanel
  bufferEmpty = xform1 c_th1i_bufferempty
  eval = xform2 c_th1i_eval
  executeEvent = xform3 c_th1i_executeevent
  fFT = xform2 c_th1i_fft
  fill1 = xform1 c_th1i_fill1
  fillN = xform4 c_th1i_filln
  fillRandom = xform2 c_th1i_fillrandom
  findBin = xform3 c_th1i_findbin
  findFixBin = xform3 c_th1i_findfixbin
  findFirstBinAbove = xform2 c_th1i_findfirstbinabove
  findLastBinAbove = xform2 c_th1i_findlastbinabove
  fitPanel = xform0 c_th1i_fitpanel
  getNdivisions = xform1 c_th1i_getndivisions
  getAxisColor = xform1 c_th1i_getaxiscolor
  getLabelColor = xform1 c_th1i_getlabelcolor
  getLabelFont = xform1 c_th1i_getlabelfont
  getLabelOffset = xform1 c_th1i_getlabeloffset
  getLabelSize = xform1 c_th1i_getlabelsize
  getTitleFont = xform1 c_th1i_gettitlefont
  getTitleOffset = xform1 c_th1i_gettitleoffset
  getTitleSize = xform1 c_th1i_gettitlesize
  getTickLength = xform1 c_th1i_getticklength
  getBarOffset = xform0 c_th1i_getbaroffset
  getBarWidth = xform0 c_th1i_getbarwidth
  getContour = xform1 c_th1i_getcontour
  getContourLevel = xform1 c_th1i_getcontourlevel
  getContourLevelPad = xform1 c_th1i_getcontourlevelpad
  getBin = xform3 c_th1i_getbin
  getBinCenter = xform1 c_th1i_getbincenter
  getBinContent1 = xform1 c_th1i_getbincontent1
  getBinContent2 = xform2 c_th1i_getbincontent2
  getBinContent3 = xform3 c_th1i_getbincontent3
  getBinError1 = xform1 c_th1i_getbinerror1
  getBinError2 = xform2 c_th1i_getbinerror2
  getBinError3 = xform3 c_th1i_getbinerror3
  getBinLowEdge = xform1 c_th1i_getbinlowedge
  getBinWidth = xform1 c_th1i_getbinwidth
  getCellContent = xform2 c_th1i_getcellcontent
  getCellError = xform2 c_th1i_getcellerror
instance ITH1 TH1F where
  add = xform2 c_th1f_add
  addBinContent = xform2 c_th1f_addbincontent
  chi2Test = xform3 c_th1f_chi2test
  computeIntegral = xform0 c_th1f_computeintegral
  directoryAutoAdd = xform1 c_th1f_directoryautoadd
  distancetoPrimitive = xform2 c_th1f_distancetoprimitive
  divide = xform5 c_th1f_divide
  drawCopy = xform1 c_th1f_drawcopy
  drawNormalized = xform2 c_th1f_drawnormalized
  drawPanel = xform0 c_th1f_drawpanel
  bufferEmpty = xform1 c_th1f_bufferempty
  eval = xform2 c_th1f_eval
  executeEvent = xform3 c_th1f_executeevent
  fFT = xform2 c_th1f_fft
  fill1 = xform1 c_th1f_fill1
  fillN = xform4 c_th1f_filln
  fillRandom = xform2 c_th1f_fillrandom
  findBin = xform3 c_th1f_findbin
  findFixBin = xform3 c_th1f_findfixbin
  findFirstBinAbove = xform2 c_th1f_findfirstbinabove
  findLastBinAbove = xform2 c_th1f_findlastbinabove
  fitPanel = xform0 c_th1f_fitpanel
  getNdivisions = xform1 c_th1f_getndivisions
  getAxisColor = xform1 c_th1f_getaxiscolor
  getLabelColor = xform1 c_th1f_getlabelcolor
  getLabelFont = xform1 c_th1f_getlabelfont
  getLabelOffset = xform1 c_th1f_getlabeloffset
  getLabelSize = xform1 c_th1f_getlabelsize
  getTitleFont = xform1 c_th1f_gettitlefont
  getTitleOffset = xform1 c_th1f_gettitleoffset
  getTitleSize = xform1 c_th1f_gettitlesize
  getTickLength = xform1 c_th1f_getticklength
  getBarOffset = xform0 c_th1f_getbaroffset
  getBarWidth = xform0 c_th1f_getbarwidth
  getContour = xform1 c_th1f_getcontour
  getContourLevel = xform1 c_th1f_getcontourlevel
  getContourLevelPad = xform1 c_th1f_getcontourlevelpad
  getBin = xform3 c_th1f_getbin
  getBinCenter = xform1 c_th1f_getbincenter
  getBinContent1 = xform1 c_th1f_getbincontent1
  getBinContent2 = xform2 c_th1f_getbincontent2
  getBinContent3 = xform3 c_th1f_getbincontent3
  getBinError1 = xform1 c_th1f_getbinerror1
  getBinError2 = xform2 c_th1f_getbinerror2
  getBinError3 = xform3 c_th1f_getbinerror3
  getBinLowEdge = xform1 c_th1f_getbinlowedge
  getBinWidth = xform1 c_th1f_getbinwidth
  getCellContent = xform2 c_th1f_getcellcontent
  getCellError = xform2 c_th1f_getcellerror
instance ITH1 TH1D where
  add = xform2 c_th1d_add
  addBinContent = xform2 c_th1d_addbincontent
  chi2Test = xform3 c_th1d_chi2test
  computeIntegral = xform0 c_th1d_computeintegral
  directoryAutoAdd = xform1 c_th1d_directoryautoadd
  distancetoPrimitive = xform2 c_th1d_distancetoprimitive
  divide = xform5 c_th1d_divide
  drawCopy = xform1 c_th1d_drawcopy
  drawNormalized = xform2 c_th1d_drawnormalized
  drawPanel = xform0 c_th1d_drawpanel
  bufferEmpty = xform1 c_th1d_bufferempty
  eval = xform2 c_th1d_eval
  executeEvent = xform3 c_th1d_executeevent
  fFT = xform2 c_th1d_fft
  fill1 = xform1 c_th1d_fill1
  fillN = xform4 c_th1d_filln
  fillRandom = xform2 c_th1d_fillrandom
  findBin = xform3 c_th1d_findbin
  findFixBin = xform3 c_th1d_findfixbin
  findFirstBinAbove = xform2 c_th1d_findfirstbinabove
  findLastBinAbove = xform2 c_th1d_findlastbinabove
  fitPanel = xform0 c_th1d_fitpanel
  getNdivisions = xform1 c_th1d_getndivisions
  getAxisColor = xform1 c_th1d_getaxiscolor
  getLabelColor = xform1 c_th1d_getlabelcolor
  getLabelFont = xform1 c_th1d_getlabelfont
  getLabelOffset = xform1 c_th1d_getlabeloffset
  getLabelSize = xform1 c_th1d_getlabelsize
  getTitleFont = xform1 c_th1d_gettitlefont
  getTitleOffset = xform1 c_th1d_gettitleoffset
  getTitleSize = xform1 c_th1d_gettitlesize
  getTickLength = xform1 c_th1d_getticklength
  getBarOffset = xform0 c_th1d_getbaroffset
  getBarWidth = xform0 c_th1d_getbarwidth
  getContour = xform1 c_th1d_getcontour
  getContourLevel = xform1 c_th1d_getcontourlevel
  getContourLevelPad = xform1 c_th1d_getcontourlevelpad
  getBin = xform3 c_th1d_getbin
  getBinCenter = xform1 c_th1d_getbincenter
  getBinContent1 = xform1 c_th1d_getbincontent1
  getBinContent2 = xform2 c_th1d_getbincontent2
  getBinContent3 = xform3 c_th1d_getbincontent3
  getBinError1 = xform1 c_th1d_getbinerror1
  getBinError2 = xform2 c_th1d_getbinerror2
  getBinError3 = xform3 c_th1d_getbinerror3
  getBinLowEdge = xform1 c_th1d_getbinlowedge
  getBinWidth = xform1 c_th1d_getbinwidth
  getCellContent = xform2 c_th1d_getcellcontent
  getCellError = xform2 c_th1d_getcellerror
instance ITH1 TH1C where
  add = xform2 c_th1c_add
  addBinContent = xform2 c_th1c_addbincontent
  chi2Test = xform3 c_th1c_chi2test
  computeIntegral = xform0 c_th1c_computeintegral
  directoryAutoAdd = xform1 c_th1c_directoryautoadd
  distancetoPrimitive = xform2 c_th1c_distancetoprimitive
  divide = xform5 c_th1c_divide
  drawCopy = xform1 c_th1c_drawcopy
  drawNormalized = xform2 c_th1c_drawnormalized
  drawPanel = xform0 c_th1c_drawpanel
  bufferEmpty = xform1 c_th1c_bufferempty
  eval = xform2 c_th1c_eval
  executeEvent = xform3 c_th1c_executeevent
  fFT = xform2 c_th1c_fft
  fill1 = xform1 c_th1c_fill1
  fillN = xform4 c_th1c_filln
  fillRandom = xform2 c_th1c_fillrandom
  findBin = xform3 c_th1c_findbin
  findFixBin = xform3 c_th1c_findfixbin
  findFirstBinAbove = xform2 c_th1c_findfirstbinabove
  findLastBinAbove = xform2 c_th1c_findlastbinabove
  fitPanel = xform0 c_th1c_fitpanel
  getNdivisions = xform1 c_th1c_getndivisions
  getAxisColor = xform1 c_th1c_getaxiscolor
  getLabelColor = xform1 c_th1c_getlabelcolor
  getLabelFont = xform1 c_th1c_getlabelfont
  getLabelOffset = xform1 c_th1c_getlabeloffset
  getLabelSize = xform1 c_th1c_getlabelsize
  getTitleFont = xform1 c_th1c_gettitlefont
  getTitleOffset = xform1 c_th1c_gettitleoffset
  getTitleSize = xform1 c_th1c_gettitlesize
  getTickLength = xform1 c_th1c_getticklength
  getBarOffset = xform0 c_th1c_getbaroffset
  getBarWidth = xform0 c_th1c_getbarwidth
  getContour = xform1 c_th1c_getcontour
  getContourLevel = xform1 c_th1c_getcontourlevel
  getContourLevelPad = xform1 c_th1c_getcontourlevelpad
  getBin = xform3 c_th1c_getbin
  getBinCenter = xform1 c_th1c_getbincenter
  getBinContent1 = xform1 c_th1c_getbincontent1
  getBinContent2 = xform2 c_th1c_getbincontent2
  getBinContent3 = xform3 c_th1c_getbincontent3
  getBinError1 = xform1 c_th1c_getbinerror1
  getBinError2 = xform2 c_th1c_getbinerror2
  getBinError3 = xform3 c_th1c_getbinerror3
  getBinLowEdge = xform1 c_th1c_getbinlowedge
  getBinWidth = xform1 c_th1c_getbinwidth
  getCellContent = xform2 c_th1c_getcellcontent
  getCellError = xform2 c_th1c_getcellerror
instance ITH1 TH3 where
  add = xform2 c_th3_add
  addBinContent = xform2 c_th3_addbincontent
  chi2Test = xform3 c_th3_chi2test
  computeIntegral = xform0 c_th3_computeintegral
  directoryAutoAdd = xform1 c_th3_directoryautoadd
  distancetoPrimitive = xform2 c_th3_distancetoprimitive
  divide = xform5 c_th3_divide
  drawCopy = xform1 c_th3_drawcopy
  drawNormalized = xform2 c_th3_drawnormalized
  drawPanel = xform0 c_th3_drawpanel
  bufferEmpty = xform1 c_th3_bufferempty
  eval = xform2 c_th3_eval
  executeEvent = xform3 c_th3_executeevent
  fFT = xform2 c_th3_fft
  fill1 = xform1 c_th3_fill1
  fillN = xform4 c_th3_filln
  fillRandom = xform2 c_th3_fillrandom
  findBin = xform3 c_th3_findbin
  findFixBin = xform3 c_th3_findfixbin
  findFirstBinAbove = xform2 c_th3_findfirstbinabove
  findLastBinAbove = xform2 c_th3_findlastbinabove
  fitPanel = xform0 c_th3_fitpanel
  getNdivisions = xform1 c_th3_getndivisions
  getAxisColor = xform1 c_th3_getaxiscolor
  getLabelColor = xform1 c_th3_getlabelcolor
  getLabelFont = xform1 c_th3_getlabelfont
  getLabelOffset = xform1 c_th3_getlabeloffset
  getLabelSize = xform1 c_th3_getlabelsize
  getTitleFont = xform1 c_th3_gettitlefont
  getTitleOffset = xform1 c_th3_gettitleoffset
  getTitleSize = xform1 c_th3_gettitlesize
  getTickLength = xform1 c_th3_getticklength
  getBarOffset = xform0 c_th3_getbaroffset
  getBarWidth = xform0 c_th3_getbarwidth
  getContour = xform1 c_th3_getcontour
  getContourLevel = xform1 c_th3_getcontourlevel
  getContourLevelPad = xform1 c_th3_getcontourlevelpad
  getBin = xform3 c_th3_getbin
  getBinCenter = xform1 c_th3_getbincenter
  getBinContent1 = xform1 c_th3_getbincontent1
  getBinContent2 = xform2 c_th3_getbincontent2
  getBinContent3 = xform3 c_th3_getbincontent3
  getBinError1 = xform1 c_th3_getbinerror1
  getBinError2 = xform2 c_th3_getbinerror2
  getBinError3 = xform3 c_th3_getbinerror3
  getBinLowEdge = xform1 c_th3_getbinlowedge
  getBinWidth = xform1 c_th3_getbinwidth
  getCellContent = xform2 c_th3_getcellcontent
  getCellError = xform2 c_th3_getcellerror
instance ITH1 TH2 where
  add = xform2 c_th2_add
  addBinContent = xform2 c_th2_addbincontent
  chi2Test = xform3 c_th2_chi2test
  computeIntegral = xform0 c_th2_computeintegral
  directoryAutoAdd = xform1 c_th2_directoryautoadd
  distancetoPrimitive = xform2 c_th2_distancetoprimitive
  divide = xform5 c_th2_divide
  drawCopy = xform1 c_th2_drawcopy
  drawNormalized = xform2 c_th2_drawnormalized
  drawPanel = xform0 c_th2_drawpanel
  bufferEmpty = xform1 c_th2_bufferempty
  eval = xform2 c_th2_eval
  executeEvent = xform3 c_th2_executeevent
  fFT = xform2 c_th2_fft
  fill1 = xform1 c_th2_fill1
  fillN = xform4 c_th2_filln
  fillRandom = xform2 c_th2_fillrandom
  findBin = xform3 c_th2_findbin
  findFixBin = xform3 c_th2_findfixbin
  findFirstBinAbove = xform2 c_th2_findfirstbinabove
  findLastBinAbove = xform2 c_th2_findlastbinabove
  fitPanel = xform0 c_th2_fitpanel
  getNdivisions = xform1 c_th2_getndivisions
  getAxisColor = xform1 c_th2_getaxiscolor
  getLabelColor = xform1 c_th2_getlabelcolor
  getLabelFont = xform1 c_th2_getlabelfont
  getLabelOffset = xform1 c_th2_getlabeloffset
  getLabelSize = xform1 c_th2_getlabelsize
  getTitleFont = xform1 c_th2_gettitlefont
  getTitleOffset = xform1 c_th2_gettitleoffset
  getTitleSize = xform1 c_th2_gettitlesize
  getTickLength = xform1 c_th2_getticklength
  getBarOffset = xform0 c_th2_getbaroffset
  getBarWidth = xform0 c_th2_getbarwidth
  getContour = xform1 c_th2_getcontour
  getContourLevel = xform1 c_th2_getcontourlevel
  getContourLevelPad = xform1 c_th2_getcontourlevelpad
  getBin = xform3 c_th2_getbin
  getBinCenter = xform1 c_th2_getbincenter
  getBinContent1 = xform1 c_th2_getbincontent1
  getBinContent2 = xform2 c_th2_getbincontent2
  getBinContent3 = xform3 c_th2_getbincontent3
  getBinError1 = xform1 c_th2_getbinerror1
  getBinError2 = xform2 c_th2_getbinerror2
  getBinError3 = xform3 c_th2_getbinerror3
  getBinLowEdge = xform1 c_th2_getbinlowedge
  getBinWidth = xform1 c_th2_getbinwidth
  getCellContent = xform2 c_th2_getcellcontent
  getCellError = xform2 c_th2_getcellerror

instance ITH2 TH2S where
  fill2 = xform2 c_th2s_fill2
instance ITH2 TH2Poly where
  fill2 = xform2 c_th2poly_fill2
instance ITH2 TH2I where
  fill2 = xform2 c_th2i_fill2
instance ITH2 TH2F where
  fill2 = xform2 c_th2f_fill2
instance ITH2 TH2D where
  fill2 = xform2 c_th2d_fill2
instance ITH2 TH2C where
  fill2 = xform2 c_th2c_fill2

instance ITH3 TH3S where
instance ITH3 TH3I where
instance ITH3 TH3F where
instance ITH3 TH3D where
instance ITH3 TH3C where

instance ITLine TGaxis where
instance ITLine TArrow where

instance ITNamed TH3S where
  setTitle = xform1 c_th3s_settitle
instance ITNamed TH3I where
  setTitle = xform1 c_th3i_settitle
instance ITNamed TH3F where
  setTitle = xform1 c_th3f_settitle
instance ITNamed TH3D where
  setTitle = xform1 c_th3d_settitle
instance ITNamed TH3C where
  setTitle = xform1 c_th3c_settitle
instance ITNamed TH2S where
  setTitle = xform1 c_th2s_settitle
instance ITNamed TH2Poly where
  setTitle = xform1 c_th2poly_settitle
instance ITNamed TH2I where
  setTitle = xform1 c_th2i_settitle
instance ITNamed TH2F where
  setTitle = xform1 c_th2f_settitle
instance ITNamed TH2D where
  setTitle = xform1 c_th2d_settitle
instance ITNamed TH2C where
  setTitle = xform1 c_th2c_settitle
instance ITNamed TH1S where
  setTitle = xform1 c_th1s_settitle
instance ITNamed TH1I where
  setTitle = xform1 c_th1i_settitle
instance ITNamed TH1F where
  setTitle = xform1 c_th1f_settitle
instance ITNamed TH1D where
  setTitle = xform1 c_th1d_settitle
instance ITNamed TH1C where
  setTitle = xform1 c_th1c_settitle
instance ITNamed TH3 where
  setTitle = xform1 c_th3_settitle
instance ITNamed TH2 where
  setTitle = xform1 c_th2_settitle
instance ITNamed TH1 where
  setTitle = xform1 c_th1_settitle
instance ITNamed TBranch where
  setTitle = xform1 c_tbranch_settitle
instance ITNamed TFile where
  setTitle = xform1 c_tfile_settitle
instance ITNamed TDirectoryFile where
  setTitle = xform1 c_tdirectoryfile_settitle
instance ITNamed TDirectory where
  setTitle = xform1 c_tdirectory_settitle
instance ITNamed TText where
  setTitle = xform1 c_ttext_settitle
instance ITNamed TLatex where
  setTitle = xform1 c_tlatex_settitle
instance ITNamed TAxis where
  setTitle = xform1 c_taxis_settitle
instance ITNamed TEfficiency where
  setTitle = xform1 c_tefficiency_settitle
instance ITNamed TTreeSQL where
  setTitle = xform1 c_ttreesql_settitle
instance ITNamed TNtupleD where
  setTitle = xform1 c_tntupled_settitle
instance ITNamed TNtuple where
  setTitle = xform1 c_tntuple_settitle
instance ITNamed TChain where
  setTitle = xform1 c_tchain_settitle
instance ITNamed TTree where
  setTitle = xform1 c_ttree_settitle
instance ITNamed TXTRU where
  setTitle = xform1 c_txtru_settitle
instance ITNamed TSPHE where
  setTitle = xform1 c_tsphe_settitle
instance ITNamed TPCON where
  setTitle = xform1 c_tpcon_settitle
instance ITNamed TTUBE where
  setTitle = xform1 c_ttube_settitle
instance ITNamed TBRIK where
  setTitle = xform1 c_tbrik_settitle
instance ITNamed TShape where
  setTitle = xform1 c_tshape_settitle
instance ITNamed TGraphQQ where
  setTitle = xform1 c_tgraphqq_settitle
instance ITNamed TGraphPolar where
  setTitle = xform1 c_tgraphpolar_settitle
instance ITNamed TGraphErrors where
  setTitle = xform1 c_tgrapherrors_settitle
instance ITNamed TGraphBentErrors where
  setTitle = xform1 c_tgraphbenterrors_settitle
instance ITNamed TCutG where
  setTitle = xform1 c_tcutg_settitle
instance ITNamed TGraphAsymmErrors where
  setTitle = xform1 c_tgraphasymmerrors_settitle
instance ITNamed TGraph where
  setTitle = xform1 c_tgraph_settitle
instance ITNamed TF1 where
  setTitle = xform1 c_tf1_settitle
instance ITNamed THStack where
  setTitle = xform1 c_thstack_settitle
instance ITNamed TAttParticle where
  setTitle = xform1 c_tattparticle_settitle
instance ITNamed TFormula where
  setTitle = xform1 c_tformula_settitle

instance ITObject TRint where
  getName = xform0 c_trint_getname
  draw = xform1 c_trint_draw
  findObject = xform1 c_trint_findobject
  saveAs = xform2 c_trint_saveas
  write = xform3 c_trint_write
instance ITObject TApplication where
  getName = xform0 c_tapplication_getname
  draw = xform1 c_tapplication_draw
  findObject = xform1 c_tapplication_findobject
  saveAs = xform2 c_tapplication_saveas
  write = xform3 c_tapplication_write
instance ITObject TSlider where
  getName = xform0 c_tslider_getname
  draw = xform1 c_tslider_draw
  findObject = xform1 c_tslider_findobject
  saveAs = xform2 c_tslider_saveas
  write = xform3 c_tslider_write
instance ITObject TEvePad where
  getName = xform0 c_tevepad_getname
  draw = xform1 c_tevepad_draw
  findObject = xform1 c_tevepad_findobject
  saveAs = xform2 c_tevepad_saveas
  write = xform3 c_tevepad_write
instance ITObject TInspectCanvas where
  getName = xform0 c_tinspectcanvas_getname
  draw = xform1 c_tinspectcanvas_draw
  findObject = xform1 c_tinspectcanvas_findobject
  saveAs = xform2 c_tinspectcanvas_saveas
  write = xform3 c_tinspectcanvas_write
instance ITObject TDialogCanvas where
  getName = xform0 c_tdialogcanvas_getname
  draw = xform1 c_tdialogcanvas_draw
  findObject = xform1 c_tdialogcanvas_findobject
  saveAs = xform2 c_tdialogcanvas_saveas
  write = xform3 c_tdialogcanvas_write
instance ITObject TCanvas where
  getName = xform0 c_tcanvas_getname
  draw = xform1 c_tcanvas_draw
  findObject = xform1 c_tcanvas_findobject
  saveAs = xform2 c_tcanvas_saveas
  write = xform3 c_tcanvas_write
instance ITObject TGroupButton where
  getName = xform0 c_tgroupbutton_getname
  draw = xform1 c_tgroupbutton_draw
  findObject = xform1 c_tgroupbutton_findobject
  saveAs = xform2 c_tgroupbutton_saveas
  write = xform3 c_tgroupbutton_write
instance ITObject TButton where
  getName = xform0 c_tbutton_getname
  draw = xform1 c_tbutton_draw
  findObject = xform1 c_tbutton_findobject
  saveAs = xform2 c_tbutton_saveas
  write = xform3 c_tbutton_write
instance ITObject TPad where
  getName = xform0 c_tpad_getname
  draw = xform1 c_tpad_draw
  findObject = xform1 c_tpad_findobject
  saveAs = xform2 c_tpad_saveas
  write = xform3 c_tpad_write
instance ITObject TVirtualPad where
  getName = xform0 c_tvirtualpad_getname
  draw = xform1 c_tvirtualpad_draw
  findObject = xform1 c_tvirtualpad_findobject
  saveAs = xform2 c_tvirtualpad_saveas
  write = xform3 c_tvirtualpad_write
instance ITObject TH3S where
  getName = xform0 c_th3s_getname
  draw = xform1 c_th3s_draw
  findObject = xform1 c_th3s_findobject
  saveAs = xform2 c_th3s_saveas
  write = xform3 c_th3s_write
instance ITObject TH3I where
  getName = xform0 c_th3i_getname
  draw = xform1 c_th3i_draw
  findObject = xform1 c_th3i_findobject
  saveAs = xform2 c_th3i_saveas
  write = xform3 c_th3i_write
instance ITObject TH3F where
  getName = xform0 c_th3f_getname
  draw = xform1 c_th3f_draw
  findObject = xform1 c_th3f_findobject
  saveAs = xform2 c_th3f_saveas
  write = xform3 c_th3f_write
instance ITObject TH3D where
  getName = xform0 c_th3d_getname
  draw = xform1 c_th3d_draw
  findObject = xform1 c_th3d_findobject
  saveAs = xform2 c_th3d_saveas
  write = xform3 c_th3d_write
instance ITObject TH3C where
  getName = xform0 c_th3c_getname
  draw = xform1 c_th3c_draw
  findObject = xform1 c_th3c_findobject
  saveAs = xform2 c_th3c_saveas
  write = xform3 c_th3c_write
instance ITObject TH2S where
  getName = xform0 c_th2s_getname
  draw = xform1 c_th2s_draw
  findObject = xform1 c_th2s_findobject
  saveAs = xform2 c_th2s_saveas
  write = xform3 c_th2s_write
instance ITObject TH2Poly where
  getName = xform0 c_th2poly_getname
  draw = xform1 c_th2poly_draw
  findObject = xform1 c_th2poly_findobject
  saveAs = xform2 c_th2poly_saveas
  write = xform3 c_th2poly_write
instance ITObject TH2I where
  getName = xform0 c_th2i_getname
  draw = xform1 c_th2i_draw
  findObject = xform1 c_th2i_findobject
  saveAs = xform2 c_th2i_saveas
  write = xform3 c_th2i_write
instance ITObject TH2F where
  getName = xform0 c_th2f_getname
  draw = xform1 c_th2f_draw
  findObject = xform1 c_th2f_findobject
  saveAs = xform2 c_th2f_saveas
  write = xform3 c_th2f_write
instance ITObject TH2D where
  getName = xform0 c_th2d_getname
  draw = xform1 c_th2d_draw
  findObject = xform1 c_th2d_findobject
  saveAs = xform2 c_th2d_saveas
  write = xform3 c_th2d_write
instance ITObject TH2C where
  getName = xform0 c_th2c_getname
  draw = xform1 c_th2c_draw
  findObject = xform1 c_th2c_findobject
  saveAs = xform2 c_th2c_saveas
  write = xform3 c_th2c_write
instance ITObject TH1S where
  getName = xform0 c_th1s_getname
  draw = xform1 c_th1s_draw
  findObject = xform1 c_th1s_findobject
  saveAs = xform2 c_th1s_saveas
  write = xform3 c_th1s_write
instance ITObject TH1I where
  getName = xform0 c_th1i_getname
  draw = xform1 c_th1i_draw
  findObject = xform1 c_th1i_findobject
  saveAs = xform2 c_th1i_saveas
  write = xform3 c_th1i_write
instance ITObject TH1F where
  getName = xform0 c_th1f_getname
  draw = xform1 c_th1f_draw
  findObject = xform1 c_th1f_findobject
  saveAs = xform2 c_th1f_saveas
  write = xform3 c_th1f_write
instance ITObject TH1D where
  getName = xform0 c_th1d_getname
  draw = xform1 c_th1d_draw
  findObject = xform1 c_th1d_findobject
  saveAs = xform2 c_th1d_saveas
  write = xform3 c_th1d_write
instance ITObject TH1C where
  getName = xform0 c_th1c_getname
  draw = xform1 c_th1c_draw
  findObject = xform1 c_th1c_findobject
  saveAs = xform2 c_th1c_saveas
  write = xform3 c_th1c_write
instance ITObject TH3 where
  getName = xform0 c_th3_getname
  draw = xform1 c_th3_draw
  findObject = xform1 c_th3_findobject
  saveAs = xform2 c_th3_saveas
  write = xform3 c_th3_write
instance ITObject TH2 where
  getName = xform0 c_th2_getname
  draw = xform1 c_th2_draw
  findObject = xform1 c_th2_findobject
  saveAs = xform2 c_th2_saveas
  write = xform3 c_th2_write
instance ITObject TH1 where
  getName = xform0 c_th1_getname
  draw = xform1 c_th1_draw
  findObject = xform1 c_th1_findobject
  saveAs = xform2 c_th1_saveas
  write = xform3 c_th1_write
instance ITObject TTreePlayer where
  getName = xform0 c_ttreeplayer_getname
  draw = xform1 c_ttreeplayer_draw
  findObject = xform1 c_ttreeplayer_findobject
  saveAs = xform2 c_ttreeplayer_saveas
  write = xform3 c_ttreeplayer_write
instance ITObject TVirtualTreePlayer where
  getName = xform0 c_tvirtualtreeplayer_getname
  draw = xform1 c_tvirtualtreeplayer_draw
  findObject = xform1 c_tvirtualtreeplayer_findobject
  saveAs = xform2 c_tvirtualtreeplayer_saveas
  write = xform3 c_tvirtualtreeplayer_write
instance ITObject TBranch where
  getName = xform0 c_tbranch_getname
  draw = xform1 c_tbranch_draw
  findObject = xform1 c_tbranch_findobject
  saveAs = xform2 c_tbranch_saveas
  write = xform3 c_tbranch_write
instance ITObject TFile where
  getName = xform0 c_tfile_getname
  draw = xform1 c_tfile_draw
  findObject = xform1 c_tfile_findobject
  saveAs = xform2 c_tfile_saveas
  write = xform3 c_tfile_write
instance ITObject TDirectoryFile where
  getName = xform0 c_tdirectoryfile_getname
  draw = xform1 c_tdirectoryfile_draw
  findObject = xform1 c_tdirectoryfile_findobject
  saveAs = xform2 c_tdirectoryfile_saveas
  write = xform3 c_tdirectoryfile_write
instance ITObject TDirectory where
  getName = xform0 c_tdirectory_getname
  draw = xform1 c_tdirectory_draw
  findObject = xform1 c_tdirectory_findobject
  saveAs = xform2 c_tdirectory_saveas
  write = xform3 c_tdirectory_write
instance ITObject TText where
  getName = xform0 c_ttext_getname
  draw = xform1 c_ttext_draw
  findObject = xform1 c_ttext_findobject
  saveAs = xform2 c_ttext_saveas
  write = xform3 c_ttext_write
instance ITObject TLatex where
  getName = xform0 c_tlatex_getname
  draw = xform1 c_tlatex_draw
  findObject = xform1 c_tlatex_findobject
  saveAs = xform2 c_tlatex_saveas
  write = xform3 c_tlatex_write
instance ITObject TAxis where
  getName = xform0 c_taxis_getname
  draw = xform1 c_taxis_draw
  findObject = xform1 c_taxis_findobject
  saveAs = xform2 c_taxis_saveas
  write = xform3 c_taxis_write
instance ITObject TEfficiency where
  getName = xform0 c_tefficiency_getname
  draw = xform1 c_tefficiency_draw
  findObject = xform1 c_tefficiency_findobject
  saveAs = xform2 c_tefficiency_saveas
  write = xform3 c_tefficiency_write
instance ITObject TCurlyArc where
  getName = xform0 c_tcurlyarc_getname
  draw = xform1 c_tcurlyarc_draw
  findObject = xform1 c_tcurlyarc_findobject
  saveAs = xform2 c_tcurlyarc_saveas
  write = xform3 c_tcurlyarc_write
instance ITObject TCurlyLine where
  getName = xform0 c_tcurlyline_getname
  draw = xform1 c_tcurlyline_draw
  findObject = xform1 c_tcurlyline_findobject
  saveAs = xform2 c_tcurlyline_saveas
  write = xform3 c_tcurlyline_write
instance ITObject TPolyLine where
  getName = xform0 c_tpolyline_getname
  draw = xform1 c_tpolyline_draw
  findObject = xform1 c_tpolyline_findobject
  saveAs = xform2 c_tpolyline_saveas
  write = xform3 c_tpolyline_write
instance ITObject TTreeSQL where
  getName = xform0 c_ttreesql_getname
  draw = xform1 c_ttreesql_draw
  findObject = xform1 c_ttreesql_findobject
  saveAs = xform2 c_ttreesql_saveas
  write = xform3 c_ttreesql_write
instance ITObject TNtupleD where
  getName = xform0 c_tntupled_getname
  draw = xform1 c_tntupled_draw
  findObject = xform1 c_tntupled_findobject
  saveAs = xform2 c_tntupled_saveas
  write = xform3 c_tntupled_write
instance ITObject TNtuple where
  getName = xform0 c_tntuple_getname
  draw = xform1 c_tntuple_draw
  findObject = xform1 c_tntuple_findobject
  saveAs = xform2 c_tntuple_saveas
  write = xform3 c_tntuple_write
instance ITObject TChain where
  getName = xform0 c_tchain_getname
  draw = xform1 c_tchain_draw
  findObject = xform1 c_tchain_findobject
  saveAs = xform2 c_tchain_saveas
  write = xform3 c_tchain_write
instance ITObject TTree where
  getName = xform0 c_ttree_getname
  draw = xform1 c_ttree_draw
  findObject = xform1 c_ttree_findobject
  saveAs = xform2 c_ttree_saveas
  write = xform3 c_ttree_write
instance ITObject TSliderBox where
  getName = xform0 c_tsliderbox_getname
  draw = xform1 c_tsliderbox_draw
  findObject = xform1 c_tsliderbox_findobject
  saveAs = xform2 c_tsliderbox_saveas
  write = xform3 c_tsliderbox_write
instance ITObject TFrame where
  getName = xform0 c_tframe_getname
  draw = xform1 c_tframe_draw
  findObject = xform1 c_tframe_findobject
  saveAs = xform2 c_tframe_saveas
  write = xform3 c_tframe_write
instance ITObject TWbox where
  getName = xform0 c_twbox_getname
  draw = xform1 c_twbox_draw
  findObject = xform1 c_twbox_findobject
  saveAs = xform2 c_twbox_saveas
  write = xform3 c_twbox_write
instance ITObject TPaveClass where
  getName = xform0 c_tpaveclass_getname
  draw = xform1 c_tpaveclass_draw
  findObject = xform1 c_tpaveclass_findobject
  saveAs = xform2 c_tpaveclass_saveas
  write = xform3 c_tpaveclass_write
instance ITObject TPaveLabel where
  getName = xform0 c_tpavelabel_getname
  draw = xform1 c_tpavelabel_draw
  findObject = xform1 c_tpavelabel_findobject
  saveAs = xform2 c_tpavelabel_saveas
  write = xform3 c_tpavelabel_write
instance ITObject TLegend where
  getName = xform0 c_tlegend_getname
  draw = xform1 c_tlegend_draw
  findObject = xform1 c_tlegend_findobject
  saveAs = xform2 c_tlegend_saveas
  write = xform3 c_tlegend_write
instance ITObject TPavesText where
  getName = xform0 c_tpavestext_getname
  draw = xform1 c_tpavestext_draw
  findObject = xform1 c_tpavestext_findobject
  saveAs = xform2 c_tpavestext_saveas
  write = xform3 c_tpavestext_write
instance ITObject TPaveStats where
  getName = xform0 c_tpavestats_getname
  draw = xform1 c_tpavestats_draw
  findObject = xform1 c_tpavestats_findobject
  saveAs = xform2 c_tpavestats_saveas
  write = xform3 c_tpavestats_write
instance ITObject TDiamond where
  getName = xform0 c_tdiamond_getname
  draw = xform1 c_tdiamond_draw
  findObject = xform1 c_tdiamond_findobject
  saveAs = xform2 c_tdiamond_saveas
  write = xform3 c_tdiamond_write
instance ITObject TPaveText where
  getName = xform0 c_tpavetext_getname
  draw = xform1 c_tpavetext_draw
  findObject = xform1 c_tpavetext_findobject
  saveAs = xform2 c_tpavetext_saveas
  write = xform3 c_tpavetext_write
instance ITObject TPave where
  getName = xform0 c_tpave_getname
  draw = xform1 c_tpave_draw
  findObject = xform1 c_tpave_findobject
  saveAs = xform2 c_tpave_saveas
  write = xform3 c_tpave_write
instance ITObject TBox where
  getName = xform0 c_tbox_getname
  draw = xform1 c_tbox_draw
  findObject = xform1 c_tbox_findobject
  saveAs = xform2 c_tbox_saveas
  write = xform3 c_tbox_write
instance ITObject TXTRU where
  getName = xform0 c_txtru_getname
  draw = xform1 c_txtru_draw
  findObject = xform1 c_txtru_findobject
  saveAs = xform2 c_txtru_saveas
  write = xform3 c_txtru_write
instance ITObject TSPHE where
  getName = xform0 c_tsphe_getname
  draw = xform1 c_tsphe_draw
  findObject = xform1 c_tsphe_findobject
  saveAs = xform2 c_tsphe_saveas
  write = xform3 c_tsphe_write
instance ITObject TPCON where
  getName = xform0 c_tpcon_getname
  draw = xform1 c_tpcon_draw
  findObject = xform1 c_tpcon_findobject
  saveAs = xform2 c_tpcon_saveas
  write = xform3 c_tpcon_write
instance ITObject TTUBE where
  getName = xform0 c_ttube_getname
  draw = xform1 c_ttube_draw
  findObject = xform1 c_ttube_findobject
  saveAs = xform2 c_ttube_saveas
  write = xform3 c_ttube_write
instance ITObject TBRIK where
  getName = xform0 c_tbrik_getname
  draw = xform1 c_tbrik_draw
  findObject = xform1 c_tbrik_findobject
  saveAs = xform2 c_tbrik_saveas
  write = xform3 c_tbrik_write
instance ITObject TShape where
  getName = xform0 c_tshape_getname
  draw = xform1 c_tshape_draw
  findObject = xform1 c_tshape_findobject
  saveAs = xform2 c_tshape_saveas
  write = xform3 c_tshape_write
instance ITObject TGaxis where
  getName = xform0 c_tgaxis_getname
  draw = xform1 c_tgaxis_draw
  findObject = xform1 c_tgaxis_findobject
  saveAs = xform2 c_tgaxis_saveas
  write = xform3 c_tgaxis_write
instance ITObject TArrow where
  getName = xform0 c_tarrow_getname
  draw = xform1 c_tarrow_draw
  findObject = xform1 c_tarrow_findobject
  saveAs = xform2 c_tarrow_saveas
  write = xform3 c_tarrow_write
instance ITObject TLine where
  getName = xform0 c_tline_getname
  draw = xform1 c_tline_draw
  findObject = xform1 c_tline_findobject
  saveAs = xform2 c_tline_saveas
  write = xform3 c_tline_write
instance ITObject TCrown where
  getName = xform0 c_tcrown_getname
  draw = xform1 c_tcrown_draw
  findObject = xform1 c_tcrown_findobject
  saveAs = xform2 c_tcrown_saveas
  write = xform3 c_tcrown_write
instance ITObject TArc where
  getName = xform0 c_tarc_getname
  draw = xform1 c_tarc_draw
  findObject = xform1 c_tarc_findobject
  saveAs = xform2 c_tarc_saveas
  write = xform3 c_tarc_write
instance ITObject TEllipse where
  getName = xform0 c_tellipse_getname
  draw = xform1 c_tellipse_draw
  findObject = xform1 c_tellipse_findobject
  saveAs = xform2 c_tellipse_saveas
  write = xform3 c_tellipse_write
instance ITObject TGraphQQ where
  getName = xform0 c_tgraphqq_getname
  draw = xform1 c_tgraphqq_draw
  findObject = xform1 c_tgraphqq_findobject
  saveAs = xform2 c_tgraphqq_saveas
  write = xform3 c_tgraphqq_write
instance ITObject TGraphPolar where
  getName = xform0 c_tgraphpolar_getname
  draw = xform1 c_tgraphpolar_draw
  findObject = xform1 c_tgraphpolar_findobject
  saveAs = xform2 c_tgraphpolar_saveas
  write = xform3 c_tgraphpolar_write
instance ITObject TGraphErrors where
  getName = xform0 c_tgrapherrors_getname
  draw = xform1 c_tgrapherrors_draw
  findObject = xform1 c_tgrapherrors_findobject
  saveAs = xform2 c_tgrapherrors_saveas
  write = xform3 c_tgrapherrors_write
instance ITObject TGraphBentErrors where
  getName = xform0 c_tgraphbenterrors_getname
  draw = xform1 c_tgraphbenterrors_draw
  findObject = xform1 c_tgraphbenterrors_findobject
  saveAs = xform2 c_tgraphbenterrors_saveas
  write = xform3 c_tgraphbenterrors_write
instance ITObject TCutG where
  getName = xform0 c_tcutg_getname
  draw = xform1 c_tcutg_draw
  findObject = xform1 c_tcutg_findobject
  saveAs = xform2 c_tcutg_saveas
  write = xform3 c_tcutg_write
instance ITObject TGraphAsymmErrors where
  getName = xform0 c_tgraphasymmerrors_getname
  draw = xform1 c_tgraphasymmerrors_draw
  findObject = xform1 c_tgraphasymmerrors_findobject
  saveAs = xform2 c_tgraphasymmerrors_saveas
  write = xform3 c_tgraphasymmerrors_write
instance ITObject TGraph where
  getName = xform0 c_tgraph_getname
  draw = xform1 c_tgraph_draw
  findObject = xform1 c_tgraph_findobject
  saveAs = xform2 c_tgraph_saveas
  write = xform3 c_tgraph_write
instance ITObject TF1 where
  getName = xform0 c_tf1_getname
  draw = xform1 c_tf1_draw
  findObject = xform1 c_tf1_findobject
  saveAs = xform2 c_tf1_saveas
  write = xform3 c_tf1_write
instance ITObject THStack where
  getName = xform0 c_thstack_getname
  draw = xform1 c_thstack_draw
  findObject = xform1 c_thstack_findobject
  saveAs = xform2 c_thstack_saveas
  write = xform3 c_thstack_write
instance ITObject TAttParticle where
  getName = xform0 c_tattparticle_getname
  draw = xform1 c_tattparticle_draw
  findObject = xform1 c_tattparticle_findobject
  saveAs = xform2 c_tattparticle_saveas
  write = xform3 c_tattparticle_write
instance ITObject TFormula where
  getName = xform0 c_tformula_getname
  draw = xform1 c_tformula_draw
  findObject = xform1 c_tformula_findobject
  saveAs = xform2 c_tformula_saveas
  write = xform3 c_tformula_write
instance ITObject TNamed where
  getName = xform0 c_tnamed_getname
  draw = xform1 c_tnamed_draw
  findObject = xform1 c_tnamed_findobject
  saveAs = xform2 c_tnamed_saveas
  write = xform3 c_tnamed_write

instance ITPad TSlider where
instance ITPad TEvePad where
instance ITPad TInspectCanvas where
instance ITPad TDialogCanvas where
instance ITPad TCanvas where
instance ITPad TGroupButton where
instance ITPad TButton where

instance ITPave TPaveClass where
instance ITPave TPaveLabel where
instance ITPave TLegend where
instance ITPave TPavesText where
instance ITPave TPaveStats where
instance ITPave TDiamond where
instance ITPave TPaveText where

instance ITPaveLabel TPaveClass where

instance ITPaveText TPavesText where
instance ITPaveText TPaveStats where
instance ITPaveText TDiamond where

instance ITPolyLine TCurlyArc where
instance ITPolyLine TCurlyLine where

instance ITQObject TRint where
instance ITQObject TApplication where
instance ITQObject TSlider where
instance ITQObject TEvePad where
instance ITQObject TInspectCanvas where
instance ITQObject TDialogCanvas where
instance ITQObject TCanvas where
instance ITQObject TGroupButton where
instance ITQObject TButton where
instance ITQObject TPad where
instance ITQObject TVirtualPad where

instance ITShape TXTRU where
instance ITShape TSPHE where
instance ITShape TPCON where
instance ITShape TTUBE where
instance ITShape TBRIK where

instance ITText TLatex where

instance ITTree TTreeSQL where
instance ITTree TNtupleD where
instance ITTree TNtuple where
instance ITTree TChain where

instance ITVirtualPad TSlider where
  getFrame = xform0 c_tslider_getframe
  range = xform4 c_tslider_range
instance ITVirtualPad TEvePad where
  getFrame = xform0 c_tevepad_getframe
  range = xform4 c_tevepad_range
instance ITVirtualPad TInspectCanvas where
  getFrame = xform0 c_tinspectcanvas_getframe
  range = xform4 c_tinspectcanvas_range
instance ITVirtualPad TDialogCanvas where
  getFrame = xform0 c_tdialogcanvas_getframe
  range = xform4 c_tdialogcanvas_range
instance ITVirtualPad TCanvas where
  getFrame = xform0 c_tcanvas_getframe
  range = xform4 c_tcanvas_range
instance ITVirtualPad TGroupButton where
  getFrame = xform0 c_tgroupbutton_getframe
  range = xform4 c_tgroupbutton_range
instance ITVirtualPad TButton where
  getFrame = xform0 c_tbutton_getframe
  range = xform4 c_tbutton_range
instance ITVirtualPad TPad where
  getFrame = xform0 c_tpad_getframe
  range = xform4 c_tpad_range

instance ITVirtualTreePlayer TTreePlayer where

instance ITWbox TSliderBox where
  setBorderMode = xform1 c_tsliderbox_setbordermode
instance ITWbox TFrame where
  setBorderMode = xform1 c_tframe_setbordermode



newTObject :: IO TObject
newTObject = xformnull c_tobject_newtobject

newTNamed :: String -> String -> IO TNamed
newTNamed = xform1 c_tnamed_newtnamed

newTFormula :: String -> String -> IO TFormula
newTFormula = xform1 c_tformula_newtformula



newTAttAxis :: IO TAttAxis
newTAttAxis = xformnull c_tattaxis_newtattaxis



newTAttCanvas :: IO TAttCanvas
newTAttCanvas = xformnull c_tattcanvas_newtattcanvas

newTAttFill :: Int -> Int -> IO TAttFill
newTAttFill = xform1 c_tattfill_newtattfill



newTAttLine :: Int -> Int -> Int -> IO TAttLine
newTAttLine = xform2 c_tattline_newtattline

newTAttMarker :: Int -> Int -> Int -> IO TAttMarker
newTAttMarker = xform2 c_tattmarker_newtattmarker

newTAttPad :: IO TAttPad
newTAttPad = xformnull c_tattpad_newtattpad



newTAttText :: Int -> Double -> Int -> Int -> Double -> IO TAttText
newTAttText = xform4 c_tatttext_newtatttext

newTHStack :: String -> String -> IO THStack
newTHStack = xform1 c_thstack_newthstack

newTF1 :: String -> String -> Double -> Double -> IO TF1
newTF1 = xform3 c_tf1_newtf1

newTGraph :: Int -> [Double] -> [Double] -> IO TGraph
newTGraph = xform2 c_tgraph_newtgraph

newTGraphAsymmErrors :: Int -> [Double] -> [Double] -> [Double] -> [Double] -> [Double] -> [Double] -> IO TGraphAsymmErrors
newTGraphAsymmErrors = xform6 c_tgraphasymmerrors_newtgraphasymmerrors

newTCutG :: String -> Int -> [Double] -> [Double] -> IO TCutG
newTCutG = xform3 c_tcutg_newtcutg

newTGraphBentErrors :: Int -> [Double] -> [Double] -> [Double] -> [Double] -> [Double] -> [Double] -> [Double] -> [Double] -> [Double] -> [Double] -> IO TGraphBentErrors
newTGraphBentErrors = xform10 c_tgraphbenterrors_newtgraphbenterrors

newTGraphErrors :: Int -> [Double] -> [Double] -> [Double] -> [Double] -> IO TGraphErrors
newTGraphErrors = xform4 c_tgrapherrors_newtgrapherrors

newTGraphPolar :: Int -> [Double] -> [Double] -> [Double] -> [Double] -> IO TGraphPolar
newTGraphPolar = xform4 c_tgraphpolar_newtgraphpolar

newTGraphQQ :: Int -> [Double] -> Int -> [Double] -> IO TGraphQQ
newTGraphQQ = xform3 c_tgraphqq_newtgraphqq

newTEllipse :: Double -> Double -> Double -> Double -> Double -> Double -> Double -> IO TEllipse
newTEllipse = xform6 c_tellipse_newtellipse

newTArc :: Double -> Double -> Double -> Double -> Double -> IO TArc
newTArc = xform4 c_tarc_newtarc

newTCrown :: Double -> Double -> Double -> Double -> Double -> Double -> IO TCrown
newTCrown = xform5 c_tcrown_newtcrown

newTLine :: Double -> Double -> Double -> Double -> IO TLine
newTLine = xform3 c_tline_newtline

newTArrow :: Double -> Double -> Double -> Double -> Double -> String -> IO TArrow
newTArrow = xform5 c_tarrow_newtarrow

newTGaxis :: Double -> Double -> Double -> Double -> Double -> Double -> Int -> String -> Double -> IO TGaxis
newTGaxis = xform8 c_tgaxis_newtgaxis

newTShape :: String -> String -> String -> IO TShape
newTShape = xform2 c_tshape_newtshape

newTBRIK :: String -> String -> String -> Double -> Double -> Double -> IO TBRIK
newTBRIK = xform5 c_tbrik_newtbrik

newTTUBE :: String -> String -> String -> Double -> Double -> Double -> Double -> IO TTUBE
newTTUBE = xform6 c_ttube_newttube

newTPCON :: String -> String -> String -> Double -> Double -> Int -> IO TPCON
newTPCON = xform5 c_tpcon_newtpcon

newTSPHE :: String -> String -> String -> Double -> Double -> Double -> Double -> Double -> Double -> IO TSPHE
newTSPHE = xform8 c_tsphe_newtsphe

newTXTRU :: String -> String -> String -> Int -> Int -> IO TXTRU
newTXTRU = xform4 c_txtru_newtxtru

newTBox :: Double -> Double -> Double -> Double -> IO TBox
newTBox = xform3 c_tbox_newtbox

newTPave :: Double -> Double -> Double -> Double -> Int -> String -> IO TPave
newTPave = xform5 c_tpave_newtpave

newTPaveText :: Double -> Double -> Double -> Double -> String -> IO TPaveText
newTPaveText = xform4 c_tpavetext_newtpavetext

newTDiamond :: Double -> Double -> Double -> Double -> IO TDiamond
newTDiamond = xform3 c_tdiamond_newtdiamond

newTPaveStats :: Double -> Double -> Double -> Double -> String -> IO TPaveStats
newTPaveStats = xform4 c_tpavestats_newtpavestats

newTPavesText :: Double -> Double -> Double -> Double -> Int -> String -> IO TPavesText
newTPavesText = xform5 c_tpavestext_newtpavestext

newTLegend :: Double -> Double -> Double -> Double -> String -> String -> IO TLegend
newTLegend = xform5 c_tlegend_newtlegend

newTPaveLabel :: Double -> Double -> Double -> Double -> String -> String -> IO TPaveLabel
newTPaveLabel = xform5 c_tpavelabel_newtpavelabel



newTWbox :: Double -> Double -> Double -> Double -> Int -> Int -> Int -> IO TWbox
newTWbox = xform6 c_twbox_newtwbox

newTFrame :: Double -> Double -> Double -> Double -> IO TFrame
newTFrame = xform3 c_tframe_newtframe

newTSliderBox :: Double -> Double -> Double -> Double -> Int -> Int -> Int -> IO TSliderBox
newTSliderBox = xform6 c_tsliderbox_newtsliderbox

newTTree :: String -> String -> Int -> IO TTree
newTTree = xform2 c_ttree_newttree

newTChain :: String -> String -> IO TChain
newTChain = xform1 c_tchain_newtchain

newTNtuple :: String -> String -> String -> Int -> IO TNtuple
newTNtuple = xform3 c_tntuple_newtntuple

newTNtupleD :: String -> String -> String -> Int -> IO TNtupleD
newTNtupleD = xform3 c_tntupled_newtntupled



newTPolyLine :: Int -> [Double] -> [Double] -> String -> IO TPolyLine
newTPolyLine = xform3 c_tpolyline_newtpolyline

newTCurlyLine :: Double -> Double -> Double -> Double -> Double -> Double -> IO TCurlyLine
newTCurlyLine = xform5 c_tcurlyline_newtcurlyline

newTCurlyArc :: Double -> Double -> Double -> Double -> Double -> Double -> Double -> IO TCurlyArc
newTCurlyArc = xform6 c_tcurlyarc_newtcurlyarc





newTLatex :: Double -> Double -> String -> IO TLatex
newTLatex = xform2 c_tlatex_newtlatex







newTFile :: String -> String -> String -> Int -> IO TFile
newTFile = xform3 c_tfile_newtfile

































newTH1F :: String -> String -> Int -> Double -> Double -> IO TH1F
newTH1F = xform4 c_th1f_newth1f









newTH2F :: String -> String -> Int -> Double -> Double -> Int -> Double -> Double -> IO TH2F
newTH2F = xform7 c_th2f_newth2f



























newTCanvas :: String -> String -> Int -> Int -> IO TCanvas
newTCanvas = xform3 c_tcanvas_newtcanvas









newTApplication :: String -> [Int] -> [String] -> IO TApplication
newTApplication = xform2 c_tapplication_newtapplication

newTRint :: String -> [Int] -> [String] -> IO TRint
newTRint = xform2 c_trint_newtrint



























































tLatexDrawLatex :: TLatex -> Double -> Double -> String -> IO TLatex
tLatexDrawLatex = xform3 c_tlatex_tlatexdrawlatex















tH1GetAsymmetry :: TH1 -> TH1 -> Double -> Double -> IO TH1
tH1GetAsymmetry = xform3 c_th1_th1getasymmetry
tH1GetBufferLength :: TH1 -> IO Int
tH1GetBufferLength = xform0 c_th1_th1getbufferlength
tH1GetBufferSize :: TH1 -> IO Int
tH1GetBufferSize = xform0 c_th1_th1getbuffersize
tH1GetDirectory :: TH1 -> IO TDirectory
tH1GetDirectory = xform0 c_th1_th1getdirectory
tH1GetXaxis :: TH1 -> IO TAxis
tH1GetXaxis = xform0 c_th1_th1getxaxis
tH1GetYaxis :: TH1 -> IO TAxis
tH1GetYaxis = xform0 c_th1_th1getyaxis
tH1GetZaxis :: TH1 -> IO TAxis
tH1GetZaxis = xform0 c_th1_th1getzaxis