#ifndef MVDCALCFEPIXEL_H_ #define MVDCALCFEPIXEL_H_ #include #include "MvdPixel.h" #include "TVector3.h" class MvdCalcFePixel { public : MvdCalcFePixel(){ _ncols = 0; _nrows = 0; _maxFEperCol = 0;}; MvdCalcFePixel(int ncols, int nrows, int maxFe){ _ncols = ncols; _nrows = nrows; _maxFEperCol = maxFe; }; void SetNCols(int ncols){_ncols = ncols;}; void SetNRows(int nrows){_nrows = nrows;}; void SetMaxFE(int maxFE){_maxFEperCol = maxFE;}; int GetNCols(){ return _ncols;}; int GetNRows(){ return _nrows;}; int GetMaxFE(){ return _maxFEperCol;}; void SetSensorHits(std::vector hits){ _SensorHits = hits; } std::vector CalcFEHits(); std::vector CalcFEHits(std::vector SensorHits){ SetSensorHits(SensorHits); return CalcFEHits(); }; std::vector CalcSensorHits(std::vector FePixel); private : int _ncols; int _nrows; int _maxFEperCol; std::vector _SensorHits; std::vector _FeHits; }; #endif /*MVDCALCFEPIXEL_H_*/