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

class HParamList;

class HRpcSlewingPar : public HParCond {

protected:

    TArrayF fExpo1;   // Parameters of the exponential describing behaviour below fQcut
    TArrayF fExpo2;   // Parameters of the exponential describing behaviour above fQcut
    Float_t fQcut;    // Cut value for the two parameterizations. Limit region of both pars

public:
    HRpcSlewingPar(const Char_t* name ="RpcSlewingPar",
	      const Char_t* title  ="Slewing correciton parameters for the Rpc Detector",
	      const Char_t* context="RpcSlewingParProduction");
    ~HRpcSlewingPar();

    const   Float_t*  getExpo1(Int_t sec, Int_t col, Int_t cell)                { return &fExpo1[ 576*sec + 96*col + 3*cell ];}
    const   Float_t*  getExpo2(Int_t sec, Int_t col, Int_t cell)                { return &fExpo2[ 576*sec + 96*col + 3*cell ];}
            Float_t   getQcut()                                                 { return fQcut;}

    void    setExpo1par(Int_t sec, Int_t col, Int_t cell, Int_t index, Float_t par)  { fExpo1[ 576*sec + 96*col + 3*cell + index] = par; }
    void    setExpo2par(Int_t sec, Int_t col, Int_t cell, Int_t index, Float_t par)  { fExpo2[ 576*sec + 96*col + 3*cell + index] = par; }
    void    setQcut(Float_t q)  { fQcut = q; }

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

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