00001 #ifndef DTSLRecSegment2D_H 00002 #define DTSLRecSegment2D_H 00003 00013 #include "DataFormats/DTRecHit/interface/DTRecSegment2D.h" 00014 #include "DataFormats/MuonDetId/interface/DTSuperLayerId.h" 00015 #include "DataFormats/MuonDetId/interface/DTChamberId.h" 00016 00017 class DTSLRecSegment2D: public DTRecSegment2D{ 00018 public: 00020 DTSLRecSegment2D(){}; 00021 00023 DTSLRecSegment2D(const DTSuperLayerId id, const std::vector<DTRecHit1D>& hits); 00024 00026 DTSLRecSegment2D(const DTSuperLayerId id, 00027 LocalPoint &position, LocalVector &direction, 00028 AlgebraicSymMatrix & covMatrix, double &chi2, 00029 std::vector<DTRecHit1D> &hits1D); 00030 00032 virtual ~DTSLRecSegment2D(){}; 00033 00034 // Operations 00035 00037 virtual DTSLRecSegment2D* clone() const; 00038 00040 DTSuperLayerId superLayerId() const; 00041 00043 DTChamberId chamberId() const; 00044 00045 private: 00046 friend class DTSegmentUpdator; 00047 00048 protected: 00049 00050 private: 00051 00052 }; 00053 #endif 00054