CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/DataFormats/DTRecHit/interface/DTChamberRecSegment2D.h

Go to the documentation of this file.
00001 #ifndef DTRecHit_DTChamberRecSegment2D_h
00002 #define DTRecHit_DTChamberRecSegment2D_h
00003 
00021 /* Base Class Headers */
00022 #include "DataFormats/DTRecHit/interface/DTRecSegment2D.h"
00023 #include "DataFormats/MuonDetId/interface/DTChamberId.h"
00024 
00025 /* Collaborating Class Declarations */
00026 
00027 /* C++ Headers */
00028 
00029 /* ====================================================================== */
00030 
00031 /* Class DTChamberRecSegment2D Interface */
00032 
00033 class DTChamberRecSegment2D : public DTRecSegment2D {
00034 
00035  public:
00036   
00038   DTChamberRecSegment2D() {}
00039 
00041   DTChamberRecSegment2D(DTChamberId id, const std::vector<DTRecHit1D>& hits) ;
00042   
00044   DTChamberRecSegment2D(DTChamberId id, 
00045                         LocalPoint &position, LocalVector &direction,
00046                         AlgebraicSymMatrix & covMatrix, double chi2, 
00047                         std::vector<DTRecHit1D> &hits1D);
00048   
00050   virtual ~DTChamberRecSegment2D(){};
00051 
00052   /* Operations */ 
00053 
00055   virtual DTChamberRecSegment2D* clone() const;
00056   
00058   DTChamberId chamberId() const;
00059 
00060  private:
00061   // in DTSegmentCand, setPosition and setDirection can be used
00062   friend class DTSegmentCand; 
00063   friend class DTSegmentUpdator;
00064   void setChamberId(DTChamberId chId){ setId(chId);}
00065 
00066  protected:
00067 
00068 
00069 
00070 };
00071 #endif // DTRecHit_DTChamberRecSegment2D_h
00072