CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/DataFormats/DTRecHit/src/DTSLRecSegment2D.cc

Go to the documentation of this file.
00001 
00007 #include "DataFormats/DTRecHit/interface/DTSLRecSegment2D.h"
00008 
00010 DTSLRecSegment2D::DTSLRecSegment2D(const DTSuperLayerId id, const std::vector<DTRecHit1D>& hits):
00011   DTRecSegment2D(id,hits){}
00012   
00014 DTSLRecSegment2D::DTSLRecSegment2D(const DTSuperLayerId id, 
00015                  LocalPoint &position, LocalVector &direction,
00016                  AlgebraicSymMatrix & covMatrix, double &chi2, 
00017                                    std::vector<DTRecHit1D> &hits1D):
00018   DTRecSegment2D(id, position, direction, covMatrix, chi2, hits1D){}
00019 
00020 
00022 DTSLRecSegment2D* DTSLRecSegment2D::clone() const { 
00023   return new DTSLRecSegment2D(*this);
00024 }
00025 
00027 DTSuperLayerId DTSLRecSegment2D::superLayerId() const{
00028   return DTSuperLayerId(geographicalId());
00029 }
00030 
00032 DTChamberId DTSLRecSegment2D::chamberId() const{
00033   return superLayerId().chamberId();
00034 }