Basic template class for a RecHit wrapping a Ref to an object. More...
#include <FTLTrackingRecHit.h>
Public Types | |
typedef ObjRef::value_type | obj_type |
typedef ObjRef | ref_type |
Public Types inherited from RecHit2DLocalPos | |
typedef GloballyPositioned< float >::LocalPoint | LocalPoint |
Public Types inherited from TrackingRecHit | |
typedef std::vector< ConstRecHitPointer > | ConstRecHitContainer |
using | ConstRecHitPointer = std::shared_ptr< TrackingRecHit const > |
typedef unsigned int | id_type |
typedef std::vector< ConstRecHitPointer > | RecHitContainer |
using | RecHitPointer = std::shared_ptr< TrackingRecHit const > |
enum | SharedInputType { all, some } |
definition of equality via shared input More... | |
enum | Type { valid = 0, missing = 1, inactive = 2, bad = 3, missing_inner = 4, missing_outer = 5, inactive_inner = 6, inactive_outer = 7 } |
Public Member Functions | |
FTLTrackingRecHit< ObjRef > * | clone () const override |
float | energy () const |
FTLTrackingRecHit () | |
FTLTrackingRecHit (DetId id, const ObjRef &objref, const LocalPoint &pos, const LocalError &err) | |
LocalPoint | localPosition () const override |
LocalError | localPositionError () const override |
const ObjRef & | objRef () const |
template<> | |
bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const |
bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const override |
template<> | |
bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const |
float | time () const |
float | timeError () const |
Public Member Functions inherited from RecHit2DLocalPos | |
int | dimension () const override |
AlgebraicVector | parameters () const override |
AlgebraicSymMatrix | parametersError () const override |
AlgebraicMatrix | projectionMatrix () const override |
RecHit2DLocalPos (DetId id) | |
RecHit2DLocalPos (TrackingRecHit::id_type id=0) | |
std::vector< const TrackingRecHit * > | recHits () const override |
Access to component RecHits (if any) More... | |
std::vector< TrackingRecHit * > | recHits () override |
Non-const access to component RecHits (if any) More... | |
~RecHit2DLocalPos () override | |
Public Member Functions inherited from TrackingRecHit | |
virtual bool | canImproveWithTrack () const |
RecHitPointer | cloneForFit (const GeomDet &idet) const |
virtual TrackingRecHit * | cloneHit () const |
virtual RecHitPointer | cloneSH () const |
const GeomDet * | det () const |
virtual const GeomDetUnit * | detUnit () const |
virtual float | errorGlobalR () const |
virtual float | errorGlobalRPhi () const |
virtual float | errorGlobalZ () const |
DetId | geographicalId () const |
virtual void | getKfComponents (KfComponentsHolder &holder) const |
unsigned int | getRTTI () const |
Type | getType () const |
virtual GlobalPoint | globalPosition () const |
virtual GlobalError | globalPositionError () const |
virtual bool | hasPositionAndError () const |
to be redefined by daughter class More... | |
virtual TrackingRecHit const * | hit () const |
bool | isValid () const |
id_type | rawId () const |
virtual void | recHitsV (std::vector< const TrackingRecHit *> &) const |
virtual void | recHitsV (std::vector< TrackingRecHit *> &) |
virtual void | setDet (const GeomDet &idet) |
virtual const Surface * | surface () const |
TrackingRecHit (DetId id, Type type=valid) | |
TrackingRecHit (id_type id=0, Type type=valid) | |
TrackingRecHit (DetId id, unsigned int rt, Type type=valid) | |
TrackingRecHit (const GeomDet &idet, Type type=valid) | |
TrackingRecHit (const GeomDet &idet, unsigned int rt, Type type=valid) | |
TrackingRecHit (const GeomDet &idet, TrackingRecHit const &rh) | |
virtual ConstRecHitContainer | transientHits () const |
Type | type () const |
virtual float | weight () const |
virtual | ~TrackingRecHit () |
Protected Attributes | |
LocalError | err_ |
ObjRef | objref_ |
LocalPoint | pos_ |
Additional Inherited Members | |
Static Public Attributes inherited from TrackingRecHit | |
static const int | rttiShift = 24 |
static const int | typeMask = 0xf |
Protected Member Functions inherited from TrackingRecHit | |
void | setId (id_type iid) |
void | setRTTI (unsigned int rt) |
void | setType (Type ttype) |
Basic template class for a RecHit wrapping a Ref to an object.
Definition at line 10 of file FTLTrackingRecHit.h.
typedef ObjRef::value_type FTLTrackingRecHit< ObjRef >::obj_type |
Definition at line 13 of file FTLTrackingRecHit.h.
typedef ObjRef FTLTrackingRecHit< ObjRef >::ref_type |
Definition at line 12 of file FTLTrackingRecHit.h.
|
inline |
Definition at line 15 of file FTLTrackingRecHit.h.
|
inline |
Definition at line 16 of file FTLTrackingRecHit.h.
|
inlineoverridevirtual |
Implements RecHit2DLocalPos.
Definition at line 19 of file FTLTrackingRecHit.h.
|
inline |
Definition at line 26 of file FTLTrackingRecHit.h.
References FTLTrackingRecHit< ObjRef >::objref_.
Referenced by Jet.Jet::rawEnergy().
|
inlineoverridevirtual |
Implements RecHit2DLocalPos.
Definition at line 21 of file FTLTrackingRecHit.h.
References FTLTrackingRecHit< ObjRef >::pos_.
|
inlineoverridevirtual |
Implements RecHit2DLocalPos.
Definition at line 22 of file FTLTrackingRecHit.h.
References FTLTrackingRecHit< ObjRef >::err_.
|
inline |
|
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 4 of file FTLTrackingRecHit.cc.
References trackingPlots::other.
|
inlineoverridevirtual |
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 31 of file FTLTrackingRecHit.h.
References cms::cuda::assert().
|
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.
|
inline |
|
inline |
|
protected |
Definition at line 36 of file FTLTrackingRecHit.h.
Referenced by FTLTrackingRecHit< ObjRef >::localPositionError().
|
protected |
Definition at line 34 of file FTLTrackingRecHit.h.
Referenced by FTLTrackingRecHit< ObjRef >::energy(), FTLTrackingRecHit< ObjRef >::objRef(), FTLTrackingRecHit< ObjRef >::time(), and FTLTrackingRecHit< ObjRef >::timeError().
|
protected |
Definition at line 35 of file FTLTrackingRecHit.h.
Referenced by FTLTrackingRecHit< ObjRef >::localPosition().