#ifndef HRTMATCHINGPAR_H #define HRTMATCHINGPAR_H #include #include #include #include #include "hparcond.h" #include class HRtMatchingPar : public HParCond { public: HRtMatchingPar(const char *name="RtMatchingPar", const char *title="Matching parameters for reft", const char *context="RtMatchingParProduction"); ~HRtMatchingPar(void); Bool_t init(HParIo *inp, Int_t *set); Int_t write(HParIo *io); char &bin(Int_t i[]); char &bin(Float_t a[]); char &bin(Int_t address) { return fCells[address]; } char &getLastBin(void) { return fCells[fTotalBins]; } void setDimension(Int_t n,Int_t bins[]); void setRange(UInt_t i,Float_t min, Float_t max); void putParams(HParamList *); Bool_t getParams(HParamList *); void readFrom(const HRtMatchingPar &par); void printTo(std::ostream &out); protected: TArrayI fIdx; TArrayC fCells; // UInt_t fTotalBins; TArrayF fMin; // TArrayF fMax; // TArrayF fBinSize; // TArrayI fBins; // public: ClassDef(HRtMatchingPar,1) }; #endif