#include <SiTrackerMultiRecHit.h>
Public Types | |
typedef BaseTrackerRecHit | Base |
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 | |
SiTrackerMultiRecHit * | clone () const override |
int | dimension () const override |
OmniClusterRef const & | firstClusterRef () const override |
virtual double | getAnnealingFactor () const |
void | getKfComponents (KfComponentsHolder &holder) const override |
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... | |
bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const override |
SiTrackerMultiRecHit () | |
SiTrackerMultiRecHit (const LocalPoint &, const LocalError &, GeomDet const &idet, const std::vector< std::pair< const TrackingRecHit *, float > > &, double) | |
float | weight (unsigned int i) const |
float & | weight (unsigned int i) |
std::vector< float > const & | weights () const |
std::vector< float > & | weights () |
~SiTrackerMultiRecHit () override | |
Public Member Functions inherited from BaseTrackerRecHit | |
BaseTrackerRecHit () | |
BaseTrackerRecHit (DetId id, trackerHitRTTI::RTTI rt) | |
BaseTrackerRecHit (const LocalPoint &p, const LocalError &e, GeomDet const &idet, trackerHitRTTI::RTTI rt) | |
virtual float | clusterProbability () const |
cluster probability, overloaded by pixel rechits. More... | |
float | errorGlobalR () const final |
float | errorGlobalRPhi () const final |
float | errorGlobalZ () const final |
void | getKfComponents1D (KfComponentsHolder &holder) const |
void | getKfComponents2D (KfComponentsHolder &holder) const |
GlobalPoint | globalPosition () const final |
GlobalError | globalPositionError () const final |
TrackingRecHitGlobalState | globalState () const |
bool | hasPositionAndError () const final |
to be redefined by daughter class More... | |
BaseTrackerRecHit const * | hit () const final |
bool | isMatched () const |
bool | isMulti () const |
virtual bool | isPhase2 () const |
virtual bool | isPixel () const |
bool | isProjected () const |
bool | isProjMono () const |
bool | isProjStereo () const |
bool | isSingle () const |
LocalPoint | localPosition () const final |
LocalError | localPositionError () const final |
const LocalError & | localPositionErrorFast () const |
const LocalPoint & | localPositionFast () const |
AlgebraicVector | parameters () const override |
AlgebraicSymMatrix | parametersError () const override |
AlgebraicMatrix | projectionMatrix () const override |
trackerHitRTTI::RTTI | rtti () const |
bool | sameDetModule (TrackingRecHit const &hit) const |
const Surface * | surface () const final |
~BaseTrackerRecHit () 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 |
DetId | geographicalId () const |
unsigned int | getRTTI () const |
Type | getType () 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) |
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 () |
Private Attributes | |
double | annealing_ |
edm::OwnVector< TrackingRecHit > | theHits |
std::vector< float > | theWeights |
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) |
Protected Attributes inherited from BaseTrackerRecHit | |
LocalError | err_ |
LocalPoint | pos_ |
unsigned int | qualWord_ |
Definition at line 13 of file SiTrackerMultiRecHit.h.
Definition at line 16 of file SiTrackerMultiRecHit.h.
|
inline |
Definition at line 17 of file SiTrackerMultiRecHit.h.
Referenced by clone(), and ~SiTrackerMultiRecHit().
|
inlineoverride |
SiTrackerMultiRecHit::SiTrackerMultiRecHit | ( | const LocalPoint & | pos, |
const LocalError & | err, | ||
GeomDet const & | idet, | ||
const std::vector< std::pair< const TrackingRecHit *, float > > & | aHitMap, | ||
double | annealing | ||
) |
Definition at line 6 of file SiTrackerMultiRecHit.cc.
References annealing_, edm::OwnVector< T, P >::push_back(), theHits, and theWeights.
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 27 of file SiTrackerMultiRecHit.h.
References TrackingRecHit::cloneSH(), dimension(), getKfComponents(), and SiTrackerMultiRecHit().
|
overridevirtual |
Implements BaseTrackerRecHit.
Definition at line 68 of file SiTrackerMultiRecHit.cc.
References theHits.
Referenced by clone(), and getKfComponents().
|
inlineoverridevirtual |
Implements BaseTrackerRecHit.
Definition at line 38 of file SiTrackerMultiRecHit.h.
References firstClusterRef(), edm::OwnVector< T, P >::front(), recHits(), and theHits.
Referenced by firstClusterRef().
|
inlinevirtual |
Definition at line 56 of file SiTrackerMultiRecHit.h.
References annealing_, trackingPlots::other, and sharesInput().
Referenced by MRHChi2MeasurementEstimator::estimate(), and TrajAnnealing::getAnnealingWeight().
|
overridevirtual |
Implements BaseTrackerRecHit.
Definition at line 76 of file SiTrackerMultiRecHit.cc.
References dimension(), BaseTrackerRecHit::getKfComponents1D(), and BaseTrackerRecHit::getKfComponents2D().
Referenced by clone().
|
overridevirtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 55 of file SiTrackerMultiRecHit.cc.
References edm::OwnVector< T, P >::begin(), edm::OwnVector< T, P >::end(), and theHits.
Referenced by TrackerHitAssociator::associateMultiRecHit(), TrackerHitAssociator::associateMultiRecHitId(), DAFTrackProducerAlgorithm::calculateNdof(), DAFTrackProducerAlgorithm::checkHits(), DAFTrackProducerAlgorithm::countingGoodHits(), MRHChi2MeasurementEstimator::estimate(), DAFTrackProducerAlgorithm::filter(), firstClusterRef(), TrackerDpgAnalysis::insertMeasurement(), and TrajAnnealing::TrajAnnealing().
|
overridevirtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 63 of file SiTrackerMultiRecHit.cc.
References edm::OwnVector< T, P >::data(), and theHits.
|
overridevirtual |
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 18 of file SiTrackerMultiRecHit.cc.
References TrackingRecHit::all, edm::OwnVector< T, P >::begin(), edm::OwnVector< T, P >::end(), runEdmFileComparison::found, TrackingRecHit::geographicalId(), BaseTrackerRecHit::hit(), TrackingRecHit::recHits(), edm::OwnVector< T, P >::size(), TrackingRecHit::some, and theHits.
Referenced by getAnnealingFactor().
|
inline |
Definition at line 52 of file SiTrackerMultiRecHit.h.
References mps_fire::i, and theWeights.
Referenced by TrackerHitAssociator::associateMultiRecHit(), TrackerHitAssociator::associateMultiRecHitId(), DAFTrackProducerAlgorithm::calculateNdof(), DAFTrackProducerAlgorithm::checkHits(), DAFTrackProducerAlgorithm::countingGoodHits(), MRHChi2MeasurementEstimator::estimate(), DAFTrackProducerAlgorithm::filter(), and TrajAnnealing::TrajAnnealing().
|
inline |
Definition at line 53 of file SiTrackerMultiRecHit.h.
References mps_fire::i, and theWeights.
|
inline |
Definition at line 47 of file SiTrackerMultiRecHit.h.
References theWeights.
Referenced by TrackerHitAssociator::associateMultiRecHit(), TrackerHitAssociator::associateMultiRecHitId(), and TrajAnnealing::getAnnealingWeight().
|
inline |
Definition at line 48 of file SiTrackerMultiRecHit.h.
References theWeights, and TrackingRecHit::weight().
|
private |
Definition at line 65 of file SiTrackerMultiRecHit.h.
Referenced by getAnnealingFactor(), and SiTrackerMultiRecHit().
|
private |
Definition at line 63 of file SiTrackerMultiRecHit.h.
Referenced by dimension(), firstClusterRef(), recHits(), sharesInput(), and SiTrackerMultiRecHit().
|
private |
Definition at line 64 of file SiTrackerMultiRecHit.h.
Referenced by SiTrackerMultiRecHit(), weight(), and weights().