#ifndef HFORWARDCANDFINDERPAR_H #define HFORWARDCANDFINDERPAR_H #include "hparcond.h" #include class HForwardCandFinderPar : public HParCond { protected: Int_t nMaxAllowedHits; // reject events with more hits in Forward Float_t fStsTimeWindowL; // sts hit selection window lower boundary Float_t fStsTimeWindowU; // ... higher ... Float_t fFRpcTimeWindowL; // frpc hit selection window lower boundary Float_t fFRpcTimeWindowU; // ... higher ... Float_t fCutX; // cut parameter for X-cord Float_t fCutY; // cut parameter for Y-cord Float_t fLRCutChi2; // cut parameter for low-res Chi2 Float_t fHRCutChi2; // cut parameter for high-res Chi2 Float_t fTanCut; // cut parameter for Tangens cut Float_t fLRErrU; // low-res error of U-coordinate Float_t fHRErrU; // high-res error of U-coordinate Float_t fFRpcMatchDist; // max distance of fRPC match Int_t nMaxBest; // maximum best combinations for a single track Int_t nPass; // number of reco passess TArrayF fDriftRadiusPars; // params for time->radius conversion public: HForwardCandFinderPar(const Char_t *name = "VectorFinderPar", const Char_t *title = "VectorFinder parameters", const Char_t *context = "VectorFinderParProduction"); void clear(); void putParams(HParamList *); Bool_t getParams(HParamList *); Int_t getMaxAllowedHits() const { return nMaxAllowedHits; } Float_t getStsTimeWindowL() const { return fStsTimeWindowL; } Float_t getStsTimeWindowU() const { return fStsTimeWindowU; } Float_t getFRpcTimeWindowL() const { return fFRpcTimeWindowL; } Float_t getFRpcTimeWindowU() const { return fFRpcTimeWindowU; } Float_t getCutX() const { return fCutX; } Float_t getCutY() const { return fCutY; } Float_t getLRCutChi2() const { return fLRCutChi2; } Float_t getHRCutChi2() const { return fHRCutChi2; } Float_t getTanCut() const { return fTanCut; } Float_t getLRErrU() const { return fLRErrU; } Float_t getHRErrU() const { return fHRErrU; } Float_t getFRpcMatchDist() const { return fFRpcMatchDist; } Int_t getMaxBest() const { return nMaxBest; } Int_t getNpass() const { return nPass; } Float_t getDriftRadiusPar(Int_t idx) const; void setMaxAllowedHits(Int_t n) { nMaxAllowedHits = n; } void getStsTimeWindowL(Float_t t) { fStsTimeWindowL = t; } void getStsTimeWindowU(Float_t t) { fStsTimeWindowU = t; } void getFRpcTimeWindowL(Float_t t) { fFRpcTimeWindowL = t; } void getFRpcTimeWindowU(Float_t t) { fFRpcTimeWindowU = t; } void setCutX(Float_t cutx) { fCutX = cutx; } void setCutY(Float_t cuty) { fCutY = cuty; } void setLRCutChi2(Float_t chi2) { fLRCutChi2 = chi2; } void setHRCutChi2(Float_t chi2) { fHRCutChi2 = chi2; } void setTanCut(Float_t cut) { fTanCut = cut; } void setLRErrU(Float_t err) { fLRErrU = err; } void setHRErrU(Float_t err) { fHRErrU = err; } void setFRpcMatchDist(Float_t d) { fFRpcMatchDist = d; } void setMaxBest(Int_t nbest) { nMaxBest = nbest; } void setNpass(Int_t npass) { nPass = npass; } void setDriftRadiusPar(Int_t idx, Float_t p); private: static const Int_t dt_pars_num = 5; ClassDef(HForwardCandFinderPar, 2); }; #endif /*!HFORWARDCANDFINDERPAR_H*/