00001 #ifndef CSCRecHitD_CSCStripHitData_h 00002 #define CSCRecHitD_CSCStripHitData_h 00003 00014 class CSCStripHitData 00015 { 00016 public: 00017 00018 CSCStripHitData() : x_(-1.), y0_(0.), y1_(0.), y2_(0.), y3_(0.), 00019 y0Raw_(0.), y1Raw_(0.), y2Raw_(0.), y3Raw_(0.), t_(-1) {}; 00020 CSCStripHitData( float x, float y0, float y1, float y2, float y3, 00021 float y0Raw, float y1Raw, float y2Raw, float y3Raw, int t) : 00022 x_(x), y0_(y0), y1_(y1), y2_(y2), y3_(y3), 00023 y0Raw_(y0Raw), y1Raw_(y1Raw), y2Raw_(y2Raw), y3Raw_(y3Raw), t_(t) {}; 00024 00025 float x() const {return x_;} 00026 float y0() const {return y0_;} 00027 float y1() const {return y1_;} 00028 float y2() const {return y2_;} 00029 float y3() const {return y3_;} 00030 float y0Raw() const {return y0Raw_;} 00031 float y1Raw() const {return y1Raw_;} 00032 float y2Raw() const {return y2Raw_;} 00033 float y3Raw() const {return y3Raw_;} 00034 int t() const {return t_;} 00035 00036 bool operator<( const CSCStripHitData & data ) const { return y1_ < data.y1_; } 00037 00038 00039 private: 00040 00041 float x_; 00042 float y0_; 00043 float y1_; 00044 float y2_; 00045 float y3_; 00046 float y0Raw_; 00047 float y1Raw_; 00048 float y2Raw_; 00049 float y3Raw_; 00050 int t_; 00051 00052 }; 00053 00054 #endif 00055