#include <DTChamberRecSegment2D.h>
Public Member Functions | |
DTChamberId | chamberId () const |
The id of the chamber on which reside the segment. | |
virtual DTChamberRecSegment2D * | clone () const |
The clone method needed by the clone policy. | |
DTChamberRecSegment2D (DTChamberId id, const std::vector< DTRecHit1D > &hits) | |
c'tor from hits | |
DTChamberRecSegment2D () | |
empty c'tor | |
DTChamberRecSegment2D (DTChamberId id, LocalPoint &position, LocalVector &direction, AlgebraicSymMatrix &covMatrix, double chi2, std::vector< DTRecHit1D > &hits1D) | |
complete constructor | |
virtual | ~DTChamberRecSegment2D () |
Destructor. | |
Private Member Functions | |
void | setChamberId (DTChamberId chId) |
Friends | |
class | DTSegmentCand |
class | DTSegmentUpdator |
A 2D segment for the DT system for Phi projection. It's an intermediate data class between the normal DTSLRecSegment2D class and the DTRecSegment4D. The difference wrt DTSLRecSegment2D is that the segments it represents is build with the two phi SL. So this segment DOES not belong to the SL (as DTSLRecSegment2D), but to the chamber (via a DTRecSegment4D). A DTRecSegment4D has one of these objects, and so can access the full information of the two projections.
Definition at line 33 of file DTChamberRecSegment2D.h.
DTChamberRecSegment2D::DTChamberRecSegment2D | ( | ) | [inline] |
DTChamberRecSegment2D::DTChamberRecSegment2D | ( | DTChamberId | id, |
const std::vector< DTRecHit1D > & | hits | ||
) |
DTChamberRecSegment2D::DTChamberRecSegment2D | ( | DTChamberId | id, |
LocalPoint & | position, | ||
LocalVector & | direction, | ||
AlgebraicSymMatrix & | covMatrix, | ||
double | chi2, | ||
std::vector< DTRecHit1D > & | hits1D | ||
) |
complete constructor
Definition at line 16 of file DTChamberRecSegment2D.cc.
: DTRecSegment2D(id, position, direction, covMatrix, chi2, hits1D){}
virtual DTChamberRecSegment2D::~DTChamberRecSegment2D | ( | ) | [inline, virtual] |
DTChamberId DTChamberRecSegment2D::chamberId | ( | ) | const |
The id of the chamber on which reside the segment.
Definition at line 26 of file DTChamberRecSegment2D.cc.
References DTChamberId, and TrackingRecHit::geographicalId().
{ return DTChamberId(geographicalId()); }
DTChamberRecSegment2D * DTChamberRecSegment2D::clone | ( | void | ) | const [virtual] |
The clone method needed by the clone policy.
Reimplemented from DTRecSegment2D.
Definition at line 22 of file DTChamberRecSegment2D.cc.
References DTChamberRecSegment2D().
{ return new DTChamberRecSegment2D(*this); }
void DTChamberRecSegment2D::setChamberId | ( | DTChamberId | chId | ) | [inline, private] |
Definition at line 64 of file DTChamberRecSegment2D.h.
References TrackingRecHit::setId().
{ setId(chId);}
friend class DTSegmentCand [friend] |
Definition at line 62 of file DTChamberRecSegment2D.h.
friend class DTSegmentUpdator [friend] |
Reimplemented from DTRecSegment2D.
Definition at line 63 of file DTChamberRecSegment2D.h.