CMS 3D CMS Logo

DTChamberRecSegment2D.h
Go to the documentation of this file.
1 #ifndef DTRecHit_DTChamberRecSegment2D_h
2 #define DTRecHit_DTChamberRecSegment2D_h
3 
19 /* Base Class Headers */
22 
23 /* Collaborating Class Declarations */
24 
25 /* C++ Headers */
26 
27 /* ====================================================================== */
28 
29 /* Class DTChamberRecSegment2D Interface */
30 
32 public:
35 
37  DTChamberRecSegment2D(DTChamberId id, const std::vector<DTRecHit1D> &hits);
38 
42  LocalVector &direction,
44  double chi2,
45  std::vector<DTRecHit1D> &hits1D);
46 
48  ~DTChamberRecSegment2D() override{};
49 
50  /* Operations */
51 
53  DTChamberRecSegment2D *clone() const override;
54 
56  DTChamberId chamberId() const;
57 
58 private:
59  // in DTSegmentCand, setPosition and setDirection can be used
60  friend class DTSegmentCand;
61  friend class DTSegmentUpdator;
62  void setChamberId(DTChamberId chId) { setId(chId); }
63 
64 protected:
65 };
66 #endif // DTRecHit_DTChamberRecSegment2D_h
~DTChamberRecSegment2D() override
Destructor.
void setId(id_type iid)
DTChamberRecSegment2D * clone() const override
The clone method needed by the clone policy.
DTChamberId chamberId() const
The id of the chamber on which reside the segment.
double chi2() const override
the chi2 of the fit
void setChamberId(DTChamberId chId)
AlgebraicSymMatrix covMatrix() const
the Covariance Matrix
DTChamberRecSegment2D()
empty c&#39;tor
static int position[264][3]
Definition: ReadPGInfo.cc:289
CLHEP::HepSymMatrix AlgebraicSymMatrix