CMS 3D CMS Logo

DTSLRecSegment2D Class Reference

a 2D (x, dx/dz) segment in a DT superlayer. More...

#include <DataFormats/DTRecHit/interface/DTSLRecSegment2D.h>

Inheritance diagram for DTSLRecSegment2D:

DTRecSegment2D RecSegment TrackingRecHit

List of all members.

Public Member Functions

DTChamberId chamberId () const
 The id of the chamber on which reside the segment.
virtual DTSLRecSegment2Dclone () const
 The clone method needed by the clone policy.
 DTSLRecSegment2D (const DTSuperLayerId id, LocalPoint &position, LocalVector &direction, AlgebraicSymMatrix &covMatrix, double &chi2, std::vector< DTRecHit1D > &hits1D)
 complete constructor
 DTSLRecSegment2D (const DTSuperLayerId id, const std::vector< DTRecHit1D > &hits)
 c'tor from hits
 DTSLRecSegment2D ()
 Constructor.
DTSuperLayerId superLayerId () const
 The id of the superlayer on which reside the segment.
virtual ~DTSLRecSegment2D ()
 Destructor.

Friends

class DTSegmentUpdator


Detailed Description

a 2D (x, dx/dz) segment in a DT superlayer.

Date
2006/06/29 17:18:27
Revision
1.2
Author:
R. Bellan - INFN Torino <riccardo.bellan@cern.ch>

Definition at line 17 of file DTSLRecSegment2D.h.


Constructor & Destructor Documentation

DTSLRecSegment2D::DTSLRecSegment2D (  )  [inline]

Constructor.

Definition at line 20 of file DTSLRecSegment2D.h.

Referenced by clone().

00020 {};

DTSLRecSegment2D::DTSLRecSegment2D ( const DTSuperLayerId  id,
const std::vector< DTRecHit1D > &  hits 
)

c'tor from hits

Definition at line 10 of file DTSLRecSegment2D.cc.

00010                                                                                             :
00011   DTRecSegment2D(id,hits){}
  

DTSLRecSegment2D::DTSLRecSegment2D ( const DTSuperLayerId  id,
LocalPoint position,
LocalVector direction,
AlgebraicSymMatrix covMatrix,
double &  chi2,
std::vector< DTRecHit1D > &  hits1D 
)

complete constructor

Definition at line 14 of file DTSLRecSegment2D.cc.

00017                                                                  :
00018   DTRecSegment2D(id, position, direction, covMatrix, chi2, hits1D){}

virtual DTSLRecSegment2D::~DTSLRecSegment2D (  )  [inline, virtual]

Destructor.

Definition at line 32 of file DTSLRecSegment2D.h.

00032 {};


Member Function Documentation

DTChamberId DTSLRecSegment2D::chamberId (  )  const

The id of the chamber on which reside the segment.

Definition at line 32 of file DTSLRecSegment2D.cc.

References DTSuperLayerId::chamberId(), and superLayerId().

00032                                              {
00033   return superLayerId().chamberId();
00034 }

DTSLRecSegment2D * DTSLRecSegment2D::clone ( void   )  const [virtual]

The clone method needed by the clone policy.

Reimplemented from DTRecSegment2D.

Definition at line 22 of file DTSLRecSegment2D.cc.

References DTSLRecSegment2D().

00022                                                 { 
00023   return new DTSLRecSegment2D(*this);
00024 }

DTSuperLayerId DTSLRecSegment2D::superLayerId (  )  const

The id of the superlayer on which reside the segment.

Definition at line 27 of file DTSLRecSegment2D.cc.

References TrackingRecHit::geographicalId().

Referenced by DTSegment4DQuality::analyze(), DTVDriftCalibration::analyze(), chamberId(), and DTSegmentUpdator::fit().

00027                                                    {
00028   return DTSuperLayerId(geographicalId());
00029 }


Friends And Related Function Documentation

friend class DTSegmentUpdator [friend]

Reimplemented from DTRecSegment2D.

Definition at line 46 of file DTSLRecSegment2D.h.


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:19:06 2009 for CMSSW by  doxygen 1.5.4