CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch13/src/DataFormats/DTRecHit/src/DTChamberRecSegment2D.cc

Go to the documentation of this file.
00001 
00009 #include "DataFormats/DTRecHit/interface/DTChamberRecSegment2D.h"
00010 
00011 // c'tor from hits
00012 DTChamberRecSegment2D::DTChamberRecSegment2D(const DTChamberId id, const std::vector<DTRecHit1D>& hits): 
00013   DTRecSegment2D(id,hits){}
00014 
00015 // complete constructor
00016 DTChamberRecSegment2D::DTChamberRecSegment2D(const DTChamberId id, 
00017                                              LocalPoint &position, LocalVector &direction,
00018                                              AlgebraicSymMatrix & covMatrix, double chi2, 
00019                                              std::vector<DTRecHit1D> &hits1D):
00020   DTRecSegment2D(id, position, direction, covMatrix, chi2, hits1D){}
00021 
00022 DTChamberRecSegment2D* DTChamberRecSegment2D::clone() const { 
00023   return new DTChamberRecSegment2D(*this);
00024 }
00025   
00026 DTChamberId DTChamberRecSegment2D::chamberId() const {
00027   return DTChamberId(geographicalId());
00028 }