CMS 3D CMS Logo

Public Types | Public Member Functions | Protected Attributes | Private Member Functions | Static Private Attributes

BeamSpotTransientTrackingRecHit Class Reference

#include <BeamSpotTransientTrackingRecHit.h>

Inheritance diagram for BeamSpotTransientTrackingRecHit:
TransientTrackingRecHit TrackingRecHit ReferenceCountedPoolAllocated BlockWipedPoolAllocated

List of all members.

Public Types

typedef TrackingRecHit::Type Type

Public Member Functions

 BeamSpotTransientTrackingRecHit (const reco::BeamSpot &beamSpot, const BeamSpotGeomDet *geom, double phi)
virtual int dimension () const
float errorGlobalR () const
float errorGlobalRPhi () const
float errorGlobalZ () const
virtual GlobalPoint globalPosition () const
virtual GlobalError globalPositionError () const
virtual const TrackingRecHithit () const
virtual LocalPoint localPosition () const
virtual LocalError localPositionError () const
virtual AlgebraicVector parameters () const
virtual AlgebraicSymMatrix parametersError () const
virtual AlgebraicMatrix projectionMatrix () const
virtual std::vector
< TrackingRecHit * > 
recHits ()
 Non-const access to component RecHits (if any)
virtual std::vector< const
TrackingRecHit * > 
recHits () const
 Access to component RecHits (if any)
virtual const Surfacesurface () const
virtual ~BeamSpotTransientTrackingRecHit ()

Protected Attributes

float beamSpotErrorR_
float beamSpotErrorRPhi_
float beamSpotErrorZ_
GlobalError beamSpotGlobalError_
GlobalPoint beamSpotGlobalPosition_
LocalError beamSpotLocalError_
LocalPoint beamSpotLocalPosition_

Private Member Functions

virtual
BeamSpotTransientTrackingRecHit
clone () const
void initialize () const
BeamSpotTransientTrackingRecHitoperator= (const BeamSpotTransientTrackingRecHit &t)

Static Private Attributes

static bool isInitialized
static AlgebraicMatrix theProjectionMatrix

Detailed Description

Transient tracking rec hit for the beam spot used in ReferenceTrajectory to extend the track to the beam spot.

Author : Andreas Mussgiller date : 2010/08/30 last update:

Date:
2010/09/10 12:06:43

by :

Author:
mussgill

Definition at line 27 of file BeamSpotTransientTrackingRecHit.h.


Member Typedef Documentation

Type of hits: valid = valid hit missing = detector is good, but no rec hit found inactive = detector is off, so there was no hope bad = there were many bad strips within the ellipse (in Tracker) = hit is compatible with the trajectory, but chi2 is too large (in Muon System)

Reimplemented from TrackingRecHit.

Definition at line 30 of file BeamSpotTransientTrackingRecHit.h.


Constructor & Destructor Documentation

BeamSpotTransientTrackingRecHit::BeamSpotTransientTrackingRecHit ( const reco::BeamSpot beamSpot,
const BeamSpotGeomDet geom,
double  phi 
) [inline]
virtual BeamSpotTransientTrackingRecHit::~BeamSpotTransientTrackingRecHit ( ) [inline, virtual]

Definition at line 50 of file BeamSpotTransientTrackingRecHit.h.

{}

Member Function Documentation

virtual BeamSpotTransientTrackingRecHit* BeamSpotTransientTrackingRecHit::clone ( void  ) const [inline, private, virtual]
virtual int BeamSpotTransientTrackingRecHit::dimension ( ) const [inline, virtual]

Implements TrackingRecHit.

Definition at line 64 of file BeamSpotTransientTrackingRecHit.h.

{ return 1; }
float BeamSpotTransientTrackingRecHit::errorGlobalR ( ) const [inline]

Reimplemented from TransientTrackingRecHit.

Definition at line 58 of file BeamSpotTransientTrackingRecHit.h.

References beamSpotErrorR_.

{ return beamSpotErrorR_; }
float BeamSpotTransientTrackingRecHit::errorGlobalRPhi ( ) const [inline]

Reimplemented from TransientTrackingRecHit.

Definition at line 60 of file BeamSpotTransientTrackingRecHit.h.

References beamSpotErrorRPhi_.

{ return beamSpotErrorRPhi_; }
float BeamSpotTransientTrackingRecHit::errorGlobalZ ( ) const [inline]

Reimplemented from TransientTrackingRecHit.

Definition at line 59 of file BeamSpotTransientTrackingRecHit.h.

References beamSpotErrorZ_.

{ return beamSpotErrorZ_; }
virtual GlobalPoint BeamSpotTransientTrackingRecHit::globalPosition ( ) const [inline, virtual]

Reimplemented from TransientTrackingRecHit.

Definition at line 52 of file BeamSpotTransientTrackingRecHit.h.

References beamSpotGlobalPosition_.

virtual GlobalError BeamSpotTransientTrackingRecHit::globalPositionError ( ) const [inline, virtual]

Reimplemented from TransientTrackingRecHit.

Definition at line 53 of file BeamSpotTransientTrackingRecHit.h.

References beamSpotGlobalError_.

virtual const TrackingRecHit* BeamSpotTransientTrackingRecHit::hit ( void  ) const [inline, virtual]

Implements TransientTrackingRecHit.

Definition at line 66 of file BeamSpotTransientTrackingRecHit.h.

{ return 0; }
void BeamSpotTransientTrackingRecHit::initialize ( ) const [private]

Definition at line 26 of file BeamSpotTransientTrackingRecHit.cc.

References isInitialized, and theProjectionMatrix.

Referenced by projectionMatrix().

virtual LocalPoint BeamSpotTransientTrackingRecHit::localPosition ( ) const [inline, virtual]

Implements TrackingRecHit.

Definition at line 55 of file BeamSpotTransientTrackingRecHit.h.

References beamSpotLocalPosition_.

Referenced by parameters().

virtual LocalError BeamSpotTransientTrackingRecHit::localPositionError ( ) const [inline, virtual]

Implements TrackingRecHit.

Definition at line 56 of file BeamSpotTransientTrackingRecHit.h.

References beamSpotLocalError_.

Referenced by parametersError().

{ return beamSpotLocalError_; }
BeamSpotTransientTrackingRecHit& BeamSpotTransientTrackingRecHit::operator= ( const BeamSpotTransientTrackingRecHit t) [inline, private]

Definition at line 93 of file BeamSpotTransientTrackingRecHit.h.

                                                                                          {
     return *(this);
  }
AlgebraicVector BeamSpotTransientTrackingRecHit::parameters ( void  ) const [virtual]
AlgebraicSymMatrix BeamSpotTransientTrackingRecHit::parametersError ( ) const [virtual]

Implements TrackingRecHit.

Definition at line 18 of file BeamSpotTransientTrackingRecHit.cc.

References asciidump::le, localPositionError(), m, and LocalError::xx().

{
  LocalError le = localPositionError();
  AlgebraicSymMatrix m(1);
  m[0][0] = le.xx();
  return m;
}
virtual AlgebraicMatrix BeamSpotTransientTrackingRecHit::projectionMatrix ( ) const [inline, virtual]
virtual std::vector<const TrackingRecHit*> BeamSpotTransientTrackingRecHit::recHits ( ) const [inline, virtual]

Access to component RecHits (if any)

Implements TrackingRecHit.

Definition at line 68 of file BeamSpotTransientTrackingRecHit.h.

                                                           {
    return std::vector<const TrackingRecHit*>();
  }
virtual std::vector<TrackingRecHit*> BeamSpotTransientTrackingRecHit::recHits ( ) [inline, virtual]

Non-const access to component RecHits (if any)

Implements TrackingRecHit.

Definition at line 71 of file BeamSpotTransientTrackingRecHit.h.

                                               {
    return std::vector<TrackingRecHit*>();
  }
virtual const Surface* BeamSpotTransientTrackingRecHit::surface ( ) const [inline, virtual]

Reimplemented from TransientTrackingRecHit.

Definition at line 75 of file BeamSpotTransientTrackingRecHit.h.

References TransientTrackingRecHit::det(), and GeomDet::surface().

Referenced by BeamSpotTransientTrackingRecHit().

{ return &(det()->surface()); }

Member Data Documentation

Definition at line 103 of file BeamSpotTransientTrackingRecHit.h.

Referenced by initialize(), and projectionMatrix().

Definition at line 104 of file BeamSpotTransientTrackingRecHit.h.

Referenced by initialize(), and projectionMatrix().