#include <FastTrackerRecHit.h>
Public Member Functions | |
bool | canImproveWithTrack () const override |
FastTrackerRecHit * | clone () const override |
int | dimension () const override |
get the dimensions right More... | |
float | energyLoss () const |
virtual int32_t | eventId (size_t i=0) const |
FastTrackerRecHit () | |
FastTrackerRecHit (const LocalPoint &p, const LocalError &e, GeomDet const &idet, fastTrackerRecHitType::HitType hitType) | |
OmniClusterRef const & | firstClusterRef () const override |
void | getKfComponents (KfComponentsHolder &holder) const override |
virtual int32_t | id (size_t i=0) const |
bool | isPixel () const override |
pixel or strip? More... | |
virtual size_t | nIds () const |
virtual size_t | nSimTrackIds () const |
virtual int32_t | recHitCombinationIndex () const |
std::vector< const TrackingRecHit * > | recHits () const override |
std::vector< TrackingRecHit * > | recHits () override |
bool | sameId (const FastTrackerRecHit *other, size_t i=0, size_t j=0) const |
void | set2D (bool is2D=true) |
void | setEnergyLoss (float e) |
virtual void | setEventId (int32_t eventId) |
virtual void | setRecHitCombinationIndex (int32_t recHitCombinationIndex) |
bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const override |
virtual int32_t | simTrackEventId (size_t i) const |
virtual int32_t | simTrackId (size_t i) const |
~FastTrackerRecHit () override | |
Public Member Functions inherited from BaseTrackerRecHit | |
BaseTrackerRecHit () | |
BaseTrackerRecHit (DetId id, trackerHitRTTI::RTTI rt) | |
BaseTrackerRecHit (const GeomDet &idet, 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 override |
to be redefined by daughter class More... | |
BaseTrackerRecHit const * | hit () const final |
bool | isMatched () const |
bool | isMulti () const |
virtual bool | isPhase2 () const |
bool | isProjected () const |
bool | isProjMono () const |
bool | isProjStereo () const |
bool | isSingle () const |
LocalPoint | localPosition () const override |
LocalError | localPositionError () const override |
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 | |
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 () |
Protected Member Functions | |
FastTrackerRecHit * | clone_ (TkCloner const &cloner, TrajectoryStateOnSurface const &tsos) const override |
void | load () |
helps making the hit postion and error persistent More... | |
void | store () |
helps making the hit postion and error persistent More... | |
Protected Member Functions inherited from TrackingRecHit | |
void | setId (id_type iid) |
void | setRTTI (unsigned int rt) |
void | setType (Type ttype) |
Protected Attributes | |
float | energyLoss_ |
bool | is2D_ |
hit is either one dimensional (is2D_ = false) or two dimensions (is2D_ = true) More... | |
const bool | isPixel_ |
hit is either on pixel modul (isPixel_ = true) or strip module (isPixel_ = false) More... | |
LocalError | myErr_ |
helps making the hit postion and error persistent More... | |
LocalPoint | myPos_ |
helps making the hit postion and error persistent More... | |
uint32_t | recHitCombinationIndex_ |
Protected Attributes inherited from BaseTrackerRecHit | |
LocalError | err_ |
LocalPoint | pos_ |
unsigned int | qualWord_ |
Additional Inherited Members | |
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 } |
Static Public Attributes inherited from TrackingRecHit | |
static const int | rttiShift = 24 |
static const int | typeMask = 0xf |
Definition at line 40 of file FastTrackerRecHit.h.
|
inline |
default constructor
Definition at line 44 of file FastTrackerRecHit.h.
Referenced by clone().
|
inlineoverride |
|
inline |
constructor requires a position with error in local detector coordinates, the detector id, and type information (rt)
Definition at line 53 of file FastTrackerRecHit.h.
References store().
|
inlineoverridevirtual |
Steers behaviour of hit in track fit. FastSim hit smearing assumes
Reimplemented from TrackingRecHit.
Definition at line 90 of file FastTrackerRecHit.h.
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 66 of file FastTrackerRecHit.h.
References FastTrackerRecHit(), load(), and AlCaHLTBitMon_ParallelJobs::p.
Referenced by clone_(), FastTrackerRecHitSplitter::split(), and FastTSGFromPropagation::trackerSeeds().
|
inlineoverrideprotectedvirtual |
Reimplemented from TrackingRecHit.
Definition at line 193 of file FastTrackerRecHit.h.
References clone().
|
inlineoverridevirtual |
get the dimensions right
Steers behaviour of hit in track fit. Hit is interpreted as 1D or 2D depending on value of is2D_
Implements BaseTrackerRecHit.
Definition at line 86 of file FastTrackerRecHit.h.
References is2D_.
Referenced by FastTrackerRecHitSplitter::split().
|
inline |
Steers behaviour of hit in track fit. Hit is interpreted as 1D or 2D depending on value of is2D_
Definition at line 75 of file FastTrackerRecHit.h.
References energyLoss_.
Referenced by FastTrackDeDxProducer::processHit().
|
inlinevirtual |
Reimplemented in FastProjectedTrackerRecHit, FastMatchedTrackerRecHit, and FastSingleTrackerRecHit.
Definition at line 96 of file FastTrackerRecHit.h.
Referenced by ntupleDataFormat.Event::eventIdStr(), and sameId().
|
overridevirtual |
bogus function : implement purely virutal function of BaseTrackerRecHit
Implements BaseTrackerRecHit.
Definition at line 8 of file FastTrackerRecHit.cc.
|
inlineoverridevirtual |
Implements BaseTrackerRecHit.
Definition at line 77 of file FastTrackerRecHit.h.
References BaseTrackerRecHit::getKfComponents1D(), BaseTrackerRecHit::getKfComponents2D(), and is2D_.
|
inlinevirtual |
Reimplemented in FastProjectedTrackerRecHit, FastMatchedTrackerRecHit, and FastSingleTrackerRecHit.
Definition at line 95 of file FastTrackerRecHit.h.
Referenced by fastTrackingUtilities::hitIsMasked(), FastTrackerRecHitMaskProducer::produce(), and sameId().
|
inlineoverridevirtual |
pixel or strip?
Reimplemented from BaseTrackerRecHit.
Definition at line 104 of file FastTrackerRecHit.h.
References isPixel_.
Referenced by FastTrackDeDxProducer::processHit(), and FastTrackerRecHitSplitter::split().
|
inlineprotected |
helps making the hit postion and error persistent
Definition at line 184 of file FastTrackerRecHit.h.
References BaseTrackerRecHit::err_, myErr_, myPos_, and BaseTrackerRecHit::pos_.
Referenced by FastSingleTrackerRecHit::clone(), FastMatchedTrackerRecHit::clone(), FastProjectedTrackerRecHit::clone(), and clone().
|
inlinevirtual |
Reimplemented in FastProjectedTrackerRecHit, FastMatchedTrackerRecHit, and FastSingleTrackerRecHit.
Definition at line 94 of file FastTrackerRecHit.h.
Referenced by fastTrackingUtilities::hitIsMasked(), FastTrackerRecHitMaskProducer::produce(), and sharesInput().
|
inlinevirtual |
Reimplemented in FastProjectedTrackerRecHit, FastMatchedTrackerRecHit, and FastSingleTrackerRecHit.
Definition at line 98 of file FastTrackerRecHit.h.
Referenced by TrackerHitAssociator::associateFastRecHit().
|
inlinevirtual |
Definition at line 102 of file FastTrackerRecHit.h.
References recHitCombinationIndex_.
Referenced by setRecHitCombinationIndex().
|
inlineoverridevirtual |
bogus function : implement purely virtual function of TrackingRecHit
Implements TrackingRecHit.
Definition at line 118 of file FastTrackerRecHit.h.
|
inlineoverridevirtual |
bogus function : implement purely virtual function of TrackingRecHit
Implements TrackingRecHit.
Definition at line 122 of file FastTrackerRecHit.h.
|
inline |
fastsim's way to check whether 2 single hits share sim-information or not hits are considered to share sim-information if
Definition at line 136 of file FastTrackerRecHit.h.
References eventId(), mps_fire::i, id(), and dqmiolumiharvest::j.
Referenced by TrackCandidateProducer::produce(), and sharesInput().
|
inline |
Definition at line 110 of file FastTrackerRecHit.h.
References fastTrackerRecHitType::is2D(), and is2D_.
Referenced by FastTrackerRecHitSplitter::buildSplitStripHit().
|
inline |
|
inlinevirtual |
Reimplemented in FastMatchedTrackerRecHit, FastSingleTrackerRecHit, and FastProjectedTrackerRecHit.
Definition at line 108 of file FastTrackerRecHit.h.
Referenced by edm::detail::doTheOffset().
|
inlinevirtual |
Reimplemented in FastMatchedTrackerRecHit, and FastProjectedTrackerRecHit.
Definition at line 112 of file FastTrackerRecHit.h.
References recHitCombinationIndex(), and recHitCombinationIndex_.
Referenced by FastProjectedTrackerRecHit::setRecHitCombinationIndex(), and FastMatchedTrackerRecHit::setRecHitCombinationIndex().
|
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 139 of file FastTrackerRecHit.h.
References TrackingRecHit::all, trackerHitRTTI::isFast(), nIds(), and sameId().
|
inlinevirtual |
Reimplemented in FastMatchedTrackerRecHit, FastProjectedTrackerRecHit, and FastSingleTrackerRecHit.
Definition at line 100 of file FastTrackerRecHit.h.
Referenced by TrackerHitAssociator::associateFastRecHit().
|
inlinevirtual |
Reimplemented in FastProjectedTrackerRecHit, FastMatchedTrackerRecHit, and FastSingleTrackerRecHit.
Definition at line 99 of file FastTrackerRecHit.h.
Referenced by TrackerHitAssociator::associateFastRecHit().
|
inlineprotected |
helps making the hit postion and error persistent
Definition at line 180 of file FastTrackerRecHit.h.
References BaseTrackerRecHit::err_, myErr_, myPos_, and BaseTrackerRecHit::pos_.
Referenced by FastTrackerRecHit().
|
protected |
Definition at line 190 of file FastTrackerRecHit.h.
Referenced by energyLoss(), and setEnergyLoss().
|
protected |
hit is either one dimensional (is2D_ = false) or two dimensions (is2D_ = true)
Definition at line 175 of file FastTrackerRecHit.h.
Referenced by dimension(), getKfComponents(), and set2D().
|
protected |
hit is either on pixel modul (isPixel_ = true) or strip module (isPixel_ = false)
Definition at line 174 of file FastTrackerRecHit.h.
Referenced by isPixel().
|
protected |
helps making the hit postion and error persistent
Definition at line 178 of file FastTrackerRecHit.h.
|
protected |
helps making the hit postion and error persistent
Definition at line 177 of file FastTrackerRecHit.h.
|
protected |
Definition at line 189 of file FastTrackerRecHit.h.
Referenced by recHitCombinationIndex(), and setRecHitCombinationIndex().