#ifndef HFRPCCALIBRATER_H #define HFRPCCALIBRATER_H #include "frpcdef.h" #include "hreconstructor.h" class HCategory; class HIterator; class HFRpcGeomPar; class HFRpcDigiPar; class HFRpcCalPar; class HFRpcStripPar; class HGeomVector; class HFRpcCalibrater : public HReconstructor { protected: HCategory *pRawCat; //! pointer to the raw data HCategory *pCalCat; //! pointer to the cal data HCategory *pStartHitCat; //! pointer to the start hit data HIterator *iter; //! iterator on raw data. HLocation loc; //! location for new cal object HFRpcGeomPar *pGeomPar; //! frpc geometry HFRpcCalPar *pCalPar; HFRpcStripPar *pStripPar; HFRpcDigiPar *pDigiPar; Float_t strip_length; Float_t avg_prop_speed; Float_t sina[FRPC_MAX_SECTORS]; // rotation matrix of the FRPC sector Float_t cosa[FRPC_MAX_SECTORS]; Float_t offset_pos[FRPC_MAX_SECTORS][FRPC_MAX_STRIPS]; Float_t offset_time[FRPC_MAX_SECTORS][FRPC_MAX_STRIPS]; HGeomVector *frpcCellsLab[FRPC_MAX_SECTORS][FRPC_MAX_STRIPS]; // Centre of the strip [mm] public: HFRpcCalibrater(); HFRpcCalibrater(const Text_t *name, const Text_t *title); ~HFRpcCalibrater(); Bool_t init(); Bool_t reinit(); Int_t execute(); Bool_t finalize() { return kTRUE; } }; #endif /* !HFRPCCALIBRATER_H */