Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:14

0001 /** \file
0002  *
0003  * \author Stefano Lacaprara - INFN Legnaro <stefano.lacaprara@pd.infn.it>
0004  * \author Riccardo Bellan - INFN TO <riccardo.bellan@cern.ch>
0005  *
0006  */
0007 #include "DataFormats/DTRecHit/interface/DTChamberRecSegment2D.h"
0008 
0009 // c'tor from hits
0010 DTChamberRecSegment2D::DTChamberRecSegment2D(const DTChamberId id, const std::vector<DTRecHit1D> &hits)
0011     : DTRecSegment2D(id, hits) {}
0012 
0013 // complete constructor
0014 DTChamberRecSegment2D::DTChamberRecSegment2D(const DTChamberId id,
0015                                              LocalPoint &position,
0016                                              LocalVector &direction,
0017                                              AlgebraicSymMatrix &covMatrix,
0018                                              double chi2,
0019                                              std::vector<DTRecHit1D> &hits1D)
0020     : DTRecSegment2D(id, position, direction, covMatrix, chi2, hits1D) {}
0021 
0022 DTChamberRecSegment2D *DTChamberRecSegment2D::clone() const { return new DTChamberRecSegment2D(*this); }
0023 
0024 DTChamberId DTChamberRecSegment2D::chamberId() const { return DTChamberId(geographicalId()); }