CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Friends
DTChamberRecSegment2D Class Reference

#include <DTChamberRecSegment2D.h>

Inheritance diagram for DTChamberRecSegment2D:
DTRecSegment2D RecSegment TrackingRecHit

Public Member Functions

DTChamberId chamberId () const
 The id of the chamber on which reside the segment. More...
 
virtual DTChamberRecSegment2Dclone () const
 The clone method needed by the clone policy. More...
 
 DTChamberRecSegment2D ()
 empty c'tor More...
 
 DTChamberRecSegment2D (DTChamberId id, const std::vector< DTRecHit1D > &hits)
 c'tor from hits More...
 
 DTChamberRecSegment2D (DTChamberId id, LocalPoint &position, LocalVector &direction, AlgebraicSymMatrix &covMatrix, double chi2, std::vector< DTRecHit1D > &hits1D)
 complete constructor More...
 
virtual ~DTChamberRecSegment2D ()
 Destructor. More...
 
- Public Member Functions inherited from DTRecSegment2D
virtual double chi2 () const
 the chi2 of the fit More...
 
AlgebraicSymMatrix covMatrix () const
 the Covariance Matrix More...
 
virtual int degreesOfFreedom () const
 return the DOF of the segment More...
 
virtual int dimension () const
 return 2. The dimension of the matrix More...
 
 DTRecSegment2D ()
 
 DTRecSegment2D (DetId id, const std::vector< DTRecHit1D > &hits)
 c'tor from hits More...
 
 DTRecSegment2D (DetId id, LocalPoint &position, LocalVector &direction, AlgebraicSymMatrix &covMatrix, double chi2, std::vector< DTRecHit1D > &hits1D)
 complete constructor More...
 
bool ist0Valid () const
 
virtual LocalVector localDirection () const
 the local direction in SL frame More...
 
virtual LocalError localDirectionError () const
 the local direction error (xx,xy,yy) in SL frame: only xx is not 0. More...
 
virtual LocalPoint localPosition () const
 local position in SL frame More...
 
virtual LocalError localPositionError () const
 local position error in SL frame More...
 
virtual AlgebraicVector parameters () const
 the vector of parameters (dx/dz,x) More...
 
virtual AlgebraicSymMatrix parametersError () const
 
virtual AlgebraicMatrix projectionMatrix () const
 
virtual std::vector< const
TrackingRecHit * > 
recHits () const
 Access to component RecHits (if any) More...
 
virtual std::vector
< TrackingRecHit * > 
recHits ()
 Non-const access to component RecHits (if any) More...
 
std::vector< DTRecHit1DspecificRecHits () const
 Access to specific components. More...
 
double t0 () const
 Get the segment t0 (if recomputed, 0 is returned otherwise) More...
 
double vDrift () const
 
virtual ~DTRecSegment2D ()
 Destructor. More...
 
- Public Member Functions inherited from RecSegment
 RecSegment (DetId id)
 
 RecSegment (TrackingRecHit::id_type id=0)
 
virtual ~RecSegment ()
 Destructor. More...
 
- Public Member Functions inherited from TrackingRecHit
DetId geographicalId () const
 
virtual void getKfComponents (KfComponentsHolder &holder) const
 
unsigned int getRTTI () const
 
Type getType () const
 
virtual bool hasPositionAndError () const
 to be redefined by daughter class More...
 
bool isValid () const
 
id_type rawId () const
 
virtual void recHitsV (std::vector< const TrackingRecHit * > &) const
 
virtual void recHitsV (std::vector< TrackingRecHit * > &)
 
virtual bool sharesInput (const TrackingRecHit *other, SharedInputType what) const
 
 TrackingRecHit (DetId id, Type type=valid)
 
 TrackingRecHit (id_type id=0, Type type=valid)
 
 TrackingRecHit (DetId id, unsigned int rt, Type type=valid)
 
Type type () const
 
virtual float weight () const
 
virtual ~TrackingRecHit ()
 

Private Member Functions

void setChamberId (DTChamberId chId)
 

Friends

class DTSegmentCand
 
class DTSegmentUpdator
 

Additional Inherited Members

- Public Types inherited from TrackingRecHit
typedef unsigned int id_type
 
enum  SharedInputType { all, some }
 definition of equality via shared input More...
 
enum  Type { valid = 0, missing = 1, inactive = 2, bad = 3 }
 
- Static Public Attributes inherited from TrackingRecHit
static const int rttiShift = 24
 
static const int typeMask = 0xf
 
- Protected Member Functions inherited from DTRecSegment2D
void setChi2 (const double &chi2)
 
void setCovMatrix (const AlgebraicSymMatrix &cov)
 
void setDirection (const LocalVector &dir)
 
void setPosition (const LocalPoint &pos)
 
void setT0 (const double &t0)
 
void setVdrift (const double &vdrift)
 
void update (std::vector< DTRecHit1D > &updatedRecHits)
 
- Protected Member Functions inherited from TrackingRecHit
void setId (id_type iid)
 
void setRTTI (unsigned int rt)
 
void setType (Type ttype)
 
- Protected Attributes inherited from DTRecSegment2D
double theChi2
 
AlgebraicSymMatrix theCovMatrix
 
LocalVector theDirection
 
std::vector< DTRecHit1DtheHits
 
LocalPoint thePosition
 
double theT0
 
double theVdrift
 

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.

Author
Stefano Lacaprara - INFN Legnaro stefa.nosp@m.no.l.nosp@m.acapr.nosp@m.ara@.nosp@m.pd.in.nosp@m.fn.i.nosp@m.t
Riccardo Bellan - INFN TO ricca.nosp@m.rdo..nosp@m.bella.nosp@m.n@ce.nosp@m.rn.ch

Definition at line 31 of file DTChamberRecSegment2D.h.

Constructor & Destructor Documentation

DTChamberRecSegment2D::DTChamberRecSegment2D ( )
inline

empty c'tor

Definition at line 36 of file DTChamberRecSegment2D.h.

Referenced by clone().

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

c'tor from hits

Definition at line 10 of file DTChamberRecSegment2D.cc.

10  :
11  DTRecSegment2D(id,hits){}
DTChamberRecSegment2D::DTChamberRecSegment2D ( DTChamberId  id,
LocalPoint position,
LocalVector direction,
AlgebraicSymMatrix covMatrix,
double  chi2,
std::vector< DTRecHit1D > &  hits1D 
)

complete constructor

Definition at line 14 of file DTChamberRecSegment2D.cc.

17  :
18  DTRecSegment2D(id, position, direction, covMatrix, chi2, hits1D){}
virtual double chi2() const
the chi2 of the fit
AlgebraicSymMatrix covMatrix() const
the Covariance Matrix
virtual DTChamberRecSegment2D::~DTChamberRecSegment2D ( )
inlinevirtual

Destructor.

Definition at line 48 of file DTChamberRecSegment2D.h.

48 {};

Member Function Documentation

DTChamberId DTChamberRecSegment2D::chamberId ( ) const

The id of the chamber on which reside the segment.

Definition at line 24 of file DTChamberRecSegment2D.cc.

References DTChamberId, and TrackingRecHit::geographicalId().

24  {
25  return DTChamberId(geographicalId());
26 }
DetId geographicalId() const
DTChamberRecSegment2D * DTChamberRecSegment2D::clone ( void  ) const
virtual

The clone method needed by the clone policy.

Reimplemented from DTRecSegment2D.

Definition at line 20 of file DTChamberRecSegment2D.cc.

References DTChamberRecSegment2D().

20  {
21  return new DTChamberRecSegment2D(*this);
22 }
DTChamberRecSegment2D()
empty c&#39;tor
void DTChamberRecSegment2D::setChamberId ( DTChamberId  chId)
inlineprivate

Definition at line 62 of file DTChamberRecSegment2D.h.

References TrackingRecHit::setId().

62 { setId(chId);}
void setId(id_type iid)

Friends And Related Function Documentation

friend class DTSegmentCand
friend

Definition at line 60 of file DTChamberRecSegment2D.h.

friend class DTSegmentUpdator
friend

Definition at line 61 of file DTChamberRecSegment2D.h.