File indexing completed on 2024-04-06 12:04:03
0001
0002
0003
0004
0005 #include "DataFormats/DTRecHit/interface/DTSLRecSegment2D.h"
0006
0007
0008 DTSLRecSegment2D::DTSLRecSegment2D(const DTSuperLayerId id, const std::vector<DTRecHit1D> &hits)
0009 : DTRecSegment2D(id, hits) {}
0010
0011
0012 DTSLRecSegment2D::DTSLRecSegment2D(const DTSuperLayerId id,
0013 LocalPoint &position,
0014 LocalVector &direction,
0015 AlgebraicSymMatrix &covMatrix,
0016 double &chi2,
0017 std::vector<DTRecHit1D> &hits1D)
0018 : DTRecSegment2D(id, position, direction, covMatrix, chi2, hits1D) {}
0019
0020
0021 DTSLRecSegment2D *DTSLRecSegment2D::clone() const { return new DTSLRecSegment2D(*this); }
0022
0023
0024 DTSuperLayerId DTSLRecSegment2D::superLayerId() const { return DTSuperLayerId(geographicalId()); }
0025
0026
0027 DTChamberId DTSLRecSegment2D::chamberId() const { return superLayerId().chamberId(); }