CMS 3D CMS Logo

Public Types | Public Member Functions | Private Member Functions

InvalidTrackingRecHit Class Reference

#include <InvalidTrackingRecHit.h>

Inheritance diagram for InvalidTrackingRecHit:
TrackingRecHit

List of all members.

Public Types

typedef TrackingRecHit::Type Type

Public Member Functions

virtual InvalidTrackingRecHitclone () const
virtual int dimension () const
 InvalidTrackingRecHit (DetId id, Type type)
 InvalidTrackingRecHit ()
virtual LocalPoint localPosition () const
virtual LocalError localPositionError () const
virtual AlgebraicVector parameters () const
virtual AlgebraicSymMatrix parametersError () const
virtual AlgebraicMatrix projectionMatrix () const
virtual std::vector< const
TrackingRecHit * > 
recHits () const
 Access to component RecHits (if any)
virtual std::vector
< TrackingRecHit * > 
recHits ()
 Non-const access to component RecHits (if any)
virtual bool sharesInput (const TrackingRecHit *other, SharedInputType what) const
virtual ~InvalidTrackingRecHit ()

Private Member Functions

void throwError () const

Detailed Description

Definition at line 8 of file InvalidTrackingRecHit.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 10 of file InvalidTrackingRecHit.h.


Constructor & Destructor Documentation

InvalidTrackingRecHit::InvalidTrackingRecHit ( DetId  id,
Type  type 
) [inline]

Definition at line 12 of file InvalidTrackingRecHit.h.

: TrackingRecHit(id, type) {}
InvalidTrackingRecHit::InvalidTrackingRecHit ( ) [inline]

Definition at line 13 of file InvalidTrackingRecHit.h.

Referenced by clone().

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

Definition at line 15 of file InvalidTrackingRecHit.h.

{}

Member Function Documentation

virtual InvalidTrackingRecHit* InvalidTrackingRecHit::clone ( void  ) const [inline, virtual]

Implements TrackingRecHit.

Definition at line 17 of file InvalidTrackingRecHit.h.

References InvalidTrackingRecHit().

{return new InvalidTrackingRecHit(*this);}
int InvalidTrackingRecHit::dimension ( ) const [virtual]

Implements TrackingRecHit.

Definition at line 23 of file InvalidTrackingRecHit.cc.

References throwError().

{ throwError(); return 0;}
LocalPoint InvalidTrackingRecHit::localPosition ( ) const [virtual]

Implements TrackingRecHit.

Definition at line 25 of file InvalidTrackingRecHit.cc.

References throwError().

                                                      { 
  throwError();
  return LocalPoint();
}
LocalError InvalidTrackingRecHit::localPositionError ( ) const [virtual]

Implements TrackingRecHit.

Definition at line 30 of file InvalidTrackingRecHit.cc.

References throwError().

                                                           { 
  throwError();
  return LocalError();
}
AlgebraicVector InvalidTrackingRecHit::parameters ( void  ) const [virtual]

Implements TrackingRecHit.

Definition at line 8 of file InvalidTrackingRecHit.cc.

References throwError().

                                                        { 
  throwError();
  return AlgebraicVector();
}
AlgebraicSymMatrix InvalidTrackingRecHit::parametersError ( ) const [virtual]

Implements TrackingRecHit.

Definition at line 13 of file InvalidTrackingRecHit.cc.

References throwError().

                                                                { 
  throwError();
  return AlgebraicSymMatrix();
}
AlgebraicMatrix InvalidTrackingRecHit::projectionMatrix ( ) const [virtual]

Implements TrackingRecHit.

Definition at line 18 of file InvalidTrackingRecHit.cc.

References throwError().

                                                              { 
  throwError();
  return AlgebraicMatrix();
}
std::vector< const TrackingRecHit * > InvalidTrackingRecHit::recHits ( ) const [virtual]

Access to component RecHits (if any)

Implements TrackingRecHit.

Definition at line 36 of file InvalidTrackingRecHit.cc.

References throwError().

                                                                      { 
  throwError();
  return std::vector<const TrackingRecHit*>();
}
std::vector< TrackingRecHit * > InvalidTrackingRecHit::recHits ( ) [virtual]

Non-const access to component RecHits (if any)

Implements TrackingRecHit.

Definition at line 41 of file InvalidTrackingRecHit.cc.

References throwError().

                                                          { 
  throwError();
  return std::vector<TrackingRecHit*>();
}
bool InvalidTrackingRecHit::sharesInput ( const TrackingRecHit other,
SharedInputType  what 
) const [virtual]

Returns true if the two TrackingRecHits are using the same input information (like Digis, Clusters, etc), false otherwise. The second argument specifies how much sharing is needed in order to return true: the value "all" means that all inputs of the two hits must be identical; the value "some" means that at least one of the inputs is in common.

Reimplemented from TrackingRecHit.

Definition at line 46 of file InvalidTrackingRecHit.cc.

{
  return false;
}
void InvalidTrackingRecHit::throwError ( ) const [private]

Definition at line 4 of file InvalidTrackingRecHit.cc.

References Exception.

Referenced by dimension(), localPosition(), localPositionError(), parameters(), parametersError(), projectionMatrix(), and recHits().

                                             {
  throw cms::Exception("Invalid TrackingRecHit used");
}