#include <DataFormats/TrackingRecHit/interface/InvalidTrackingRecHit.h>
Public Types | |
typedef TrackingRecHit::Type | Type |
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. | |
Public Member Functions | |
virtual InvalidTrackingRecHit * | clone () const |
virtual int | dimension () const |
InvalidTrackingRecHit () | |
InvalidTrackingRecHit (DetId id, Type type) | |
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 bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const |
Returns true if the two TrackingRecHits are using the same input information (like Digis, Clusters, etc), false otherwise. | |
virtual | ~InvalidTrackingRecHit () |
Private Member Functions | |
void | throwError () const |
Definition at line 8 of file InvalidTrackingRecHit.h.
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.
Reimplemented from TrackingRecHit.
Definition at line 10 of file InvalidTrackingRecHit.h.
InvalidTrackingRecHit::InvalidTrackingRecHit | ( | ) | [inline] |
Definition at line 13 of file InvalidTrackingRecHit.h.
Referenced by clone().
00013 : TrackingRecHit(0, TrackingRecHit::missing) {}
virtual InvalidTrackingRecHit::~InvalidTrackingRecHit | ( | ) | [inline, virtual] |
virtual InvalidTrackingRecHit* InvalidTrackingRecHit::clone | ( | void | ) | const [inline, virtual] |
Implements TrackingRecHit.
Definition at line 17 of file InvalidTrackingRecHit.h.
References InvalidTrackingRecHit().
00017 {return new InvalidTrackingRecHit(*this);}
int InvalidTrackingRecHit::dimension | ( | ) | const [virtual] |
Implements TrackingRecHit.
Definition at line 23 of file InvalidTrackingRecHit.cc.
References throwError().
00023 { throwError(); return 0;}
LocalPoint InvalidTrackingRecHit::localPosition | ( | ) | const [virtual] |
Implements TrackingRecHit.
Definition at line 25 of file InvalidTrackingRecHit.cc.
References throwError().
00025 { 00026 throwError(); 00027 return LocalPoint(); 00028 }
LocalError InvalidTrackingRecHit::localPositionError | ( | ) | const [virtual] |
Implements TrackingRecHit.
Definition at line 30 of file InvalidTrackingRecHit.cc.
References throwError().
00030 { 00031 throwError(); 00032 return LocalError(); 00033 }
AlgebraicVector InvalidTrackingRecHit::parameters | ( | void | ) | const [virtual] |
Implements TrackingRecHit.
Definition at line 8 of file InvalidTrackingRecHit.cc.
References throwError().
00008 { 00009 throwError(); 00010 return AlgebraicVector(); 00011 }
AlgebraicSymMatrix InvalidTrackingRecHit::parametersError | ( | ) | const [virtual] |
Implements TrackingRecHit.
Definition at line 13 of file InvalidTrackingRecHit.cc.
References throwError().
00013 { 00014 throwError(); 00015 return AlgebraicSymMatrix(); 00016 }
AlgebraicMatrix InvalidTrackingRecHit::projectionMatrix | ( | ) | const [virtual] |
Implements TrackingRecHit.
Definition at line 18 of file InvalidTrackingRecHit.cc.
References throwError().
00018 { 00019 throwError(); 00020 return AlgebraicMatrix(); 00021 }
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().
00041 { 00042 throwError(); 00043 return std::vector<TrackingRecHit*>(); 00044 }
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().
00036 { 00037 throwError(); 00038 return std::vector<const TrackingRecHit*>(); 00039 }
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.
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().
00004 { 00005 throw cms::Exception("Invalid TrackingRecHit used"); 00006 }