CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Friends

DTChamberRecSegment2D Class Reference

#include <DTChamberRecSegment2D.h>

Inheritance diagram for DTChamberRecSegment2D:
DTRecSegment2D RecSegment TrackingRecHit

List of all members.

Public Member Functions

DTChamberId chamberId () const
 The id of the chamber on which reside the segment.
virtual DTChamberRecSegment2Dclone () 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

Detailed Description

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.

Date:
2007/08/02 05:54:11
Revision:
1.4
Author:
Stefano Lacaprara - INFN Legnaro <stefano.lacaprara@pd.infn.it>
Riccardo Bellan - INFN TO <riccardo.bellan@cern.ch>

Definition at line 33 of file DTChamberRecSegment2D.h.


Constructor & Destructor Documentation

DTChamberRecSegment2D::DTChamberRecSegment2D ( ) [inline]

empty c'tor

Definition at line 38 of file DTChamberRecSegment2D.h.

Referenced by clone().

{}
DTChamberRecSegment2D::DTChamberRecSegment2D ( DTChamberId  id,
const std::vector< DTRecHit1D > &  hits 
)

c'tor from hits

Definition at line 12 of file DTChamberRecSegment2D.cc.

                                                                                                   : 
  DTRecSegment2D(id,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]

Destructor.

Definition at line 50 of file DTChamberRecSegment2D.h.

{};

Member Function Documentation

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);}

Friends And Related Function Documentation

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.