ROOT logo
#ifndef HRPCHITFPAR_H
#define HRPCHITFPAR_H
#include "TArrayF.h"
#include "hparcond.h"

class HParamList;

class HRpcHitFPar : public HParCond {
protected:
    TArrayF fPol5Pars;   // Parameters of 5th order pol parameterization of T=f(Q) 

    TArrayF fPol1Pars;   // Parameters of 1th order pol parameterization of T=f(Q) 

		Float_t fQcut;       // Cut value for the two parameterizations
public:
    HRpcHitFPar(const Char_t* name ="RpcHitFPar",
	      const Char_t* title  ="Hit Finder parameters for the Rpc Detector",
	      const Char_t* context="RpcHitFProduction");
    ~HRpcHitFPar();

		const   Float_t*  getPol5Pars(Int_t sec,Int_t col,Int_t cell)                {return &fPol5Pars[1152*sec+192*col+6*cell];}
    void    setPol5Pars(Int_t sec,Int_t col,Int_t cell,Int_t index,Float_t par)  {fPol5Pars[1152*sec+192*col+6*cell+index]=par;}

    const   Float_t*  getPol1Pars(Int_t sec,Int_t col,Int_t cell)                {return &fPol1Pars[384*sec+64*col+2*cell];}
    void    setPol1Pars(Int_t sec,Int_t col,Int_t cell,Int_t index,Float_t par)  {fPol1Pars[384*sec+64*col+2*cell+index]=par;}

    Float_t getQcut()            {return fQcut;}
    void    setQcut(Float_t qc)  {fQcut=qc;}

    void    putParams(HParamList*);
    Bool_t  getParams(HParamList*);
    void    clear();

    ClassDef(HRpcHitFPar,1) // Container for the RPC hit finder parameters
};
#endif  /*!HRPCHITFPAR_H*/
 hrpchitfpar.h:1
 hrpchitfpar.h:2
 hrpchitfpar.h:3
 hrpchitfpar.h:4
 hrpchitfpar.h:5
 hrpchitfpar.h:6
 hrpchitfpar.h:7
 hrpchitfpar.h:8
 hrpchitfpar.h:9
 hrpchitfpar.h:10
 hrpchitfpar.h:11
 hrpchitfpar.h:12
 hrpchitfpar.h:13
 hrpchitfpar.h:14
 hrpchitfpar.h:15
 hrpchitfpar.h:16
 hrpchitfpar.h:17
 hrpchitfpar.h:18
 hrpchitfpar.h:19
 hrpchitfpar.h:20
 hrpchitfpar.h:21
 hrpchitfpar.h:22
 hrpchitfpar.h:23
 hrpchitfpar.h:24
 hrpchitfpar.h:25
 hrpchitfpar.h:26
 hrpchitfpar.h:27
 hrpchitfpar.h:28
 hrpchitfpar.h:29
 hrpchitfpar.h:30
 hrpchitfpar.h:31
 hrpchitfpar.h:32
 hrpchitfpar.h:33
 hrpchitfpar.h:34
 hrpchitfpar.h:35
 hrpchitfpar.h:36