#include <SiTrackerMultiRecHit.h>
Public Member Functions | |
virtual SiTrackerMultiRecHit * | clone () 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... | |
bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const |
SiTrackerMultiRecHit () | |
SiTrackerMultiRecHit (const LocalPoint &, const LocalError &, const DetId &, const std::vector< std::pair< const TrackingRecHit *, float > > &) | |
float | weight (unsigned int i) const |
std::vector< float > | weights () const |
virtual | ~SiTrackerMultiRecHit () |
Public Member Functions inherited from BaseSiTrackerRecHit2DLocalPos | |
BaseSiTrackerRecHit2DLocalPos () | |
BaseSiTrackerRecHit2DLocalPos (const LocalPoint &p, const LocalError &e, DetId id) | |
virtual void | getKfComponents (KfComponentsHolder &holder) const |
bool | hasPositionAndError () const |
virtual LocalPoint | localPosition () const |
virtual LocalError | localPositionError () const |
const LocalError & | localPositionErrorFast () const |
const LocalPoint & | localPositionFast () const |
~BaseSiTrackerRecHit2DLocalPos () | |
Public Member Functions inherited from RecHit2DLocalPos | |
virtual int | dimension () const |
virtual AlgebraicVector | parameters () const |
virtual AlgebraicSymMatrix | parametersError () const |
virtual AlgebraicMatrix | projectionMatrix () const |
RecHit2DLocalPos (DetId id) | |
RecHit2DLocalPos (TrackingRecHit::id_type id=0) | |
virtual | ~RecHit2DLocalPos () |
Public Member Functions inherited from TrackingRecHit | |
DetId | geographicalId () const |
Type | getType () const |
bool | isValid () const |
virtual void | recHitsV (std::vector< const TrackingRecHit * > &) const |
virtual void | recHitsV (std::vector< TrackingRecHit * > &) |
TrackingRecHit (DetId id, Type type=valid) | |
TrackingRecHit (id_type id=0, Type type=valid) | |
Type | type () const |
virtual float | weight () const |
virtual | ~TrackingRecHit () |
Private Attributes | |
edm::OwnVector< TrackingRecHit > | theHits |
std::vector< float > | theWeights |
Additional Inherited Members | |
Public Types inherited from RecHit2DLocalPos | |
typedef Surface::LocalPoint | LocalPoint |
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 } |
Protected Member Functions inherited from TrackingRecHit | |
void | setId (id_type iid) |
void | setType (Type ttype) |
Definition at line 13 of file SiTrackerMultiRecHit.h.
|
inline |
Definition at line 16 of file SiTrackerMultiRecHit.h.
Referenced by clone().
SiTrackerMultiRecHit::SiTrackerMultiRecHit | ( | const LocalPoint & | pos, |
const LocalError & | err, | ||
const DetId & | id, | ||
const std::vector< std::pair< const TrackingRecHit *, float > > & | aHitMap | ||
) |
Definition at line 7 of file SiTrackerMultiRecHit.cc.
References edm::OwnVector< T, P >::push_back(), theHits, and theWeights.
|
inlinevirtual |
Definition at line 23 of file SiTrackerMultiRecHit.h.
|
inlinevirtual |
Implements RecHit2DLocalPos.
Definition at line 21 of file SiTrackerMultiRecHit.h.
References SiTrackerMultiRecHit().
|
virtual |
Access to component RecHits (if any)
Reimplemented from RecHit2DLocalPos.
Definition at line 60 of file SiTrackerMultiRecHit.cc.
References edm::OwnVector< T, P >::begin(), edm::OwnVector< T, P >::end(), and theHits.
Referenced by TrackerHitAssociator::associateMultiRecHit(), TrackerHitAssociator::associateMultiRecHitId(), TrackerDpgAnalysis::insertMeasurement(), and TSiTrackerMultiRecHit::recHits().
|
virtual |
Non-const access to component RecHits (if any)
Reimplemented from RecHit2DLocalPos.
Definition at line 68 of file SiTrackerMultiRecHit.cc.
References edm::OwnVector< T, P >::data(), and theHits.
|
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 23 of file SiTrackerMultiRecHit.cc.
References TrackingRecHit::all, edm::OwnVector< T, P >::begin(), edm::OwnVector< T, P >::end(), newFWLiteAna::found, TrackingRecHit::geographicalId(), TrackingRecHit::recHits(), edm::OwnVector< T, P >::size(), TrackingRecHit::some, and theHits.
float SiTrackerMultiRecHit::weight | ( | unsigned int | i | ) | const |
Definition at line 16 of file SiTrackerMultiRecHit.cc.
References theWeights.
Referenced by TrackerHitAssociator::associateMultiRecHit(), and TrackerHitAssociator::associateMultiRecHitId().
|
inline |
Definition at line 31 of file SiTrackerMultiRecHit.h.
References theWeights.
Referenced by TrackerHitAssociator::associateMultiRecHit(), and TrackerHitAssociator::associateMultiRecHitId().
|
private |
Definition at line 40 of file SiTrackerMultiRecHit.h.
Referenced by recHits(), sharesInput(), and SiTrackerMultiRecHit().
|
private |
Definition at line 41 of file SiTrackerMultiRecHit.h.
Referenced by SiTrackerMultiRecHit(), weight(), and weights().