#include <FastSingleTrackerRecHit.h>
Public Member Functions | |
void | addSimTrackId (int32_t simTrackId) |
FastSingleTrackerRecHit * | clone () const override |
int32_t | eventId (size_t i=0) const override |
FastSingleTrackerRecHit () | |
FastSingleTrackerRecHit (const LocalPoint &p, const LocalError &e, GeomDet const &idet, fastTrackerRecHitType::HitType hitType) | |
int32_t | id (size_t i=0) const override |
size_t | nIds () const override |
size_t | nSimTrackIds () const override |
see addSimTrackId(int32_t simTrackId) More... | |
void | setEventId (int32_t eventId) override |
void | setId (int32_t id) |
int32_t | simTrackEventId (size_t i) const override |
see addSimTrackId(int32_t simTrackId) More... | |
int32_t | simTrackId (size_t i) const override |
see addSimTrackId(int32_t simTrackId) More... | |
Public Member Functions inherited from FastTrackerRecHit | |
bool | canImproveWithTrack () const override |
FastTrackerRecHit * | clone () const override |
int | dimension () const override |
get the dimensions right More... | |
float | energyLoss () 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 |
bool | isPixel () const override |
pixel or strip? More... | |
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 | setRecHitCombinationIndex (int32_t recHitCombinationIndex) |
bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const override |
~FastTrackerRecHit () override | |
Public Member Functions inherited from BaseTrackerRecHit | |
BaseTrackerRecHit () | |
BaseTrackerRecHit (const GeomDet &idet, trackerHitRTTI::RTTI rt) | |
BaseTrackerRecHit (const LocalPoint &p, const LocalError &e, GeomDet const &idet, trackerHitRTTI::RTTI rt) | |
BaseTrackerRecHit (DetId id, 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 (const GeomDet &idet, TrackingRecHit const &rh) | |
TrackingRecHit (const GeomDet &idet, Type type=valid) | |
TrackingRecHit (const GeomDet &idet, unsigned int rt, Type type=valid) | |
TrackingRecHit (DetId id, Type type=valid) | |
TrackingRecHit (DetId id, unsigned int rt, Type type=valid) | |
TrackingRecHit (id_type id=0, Type type=valid) | |
virtual ConstRecHitContainer | transientHits () const |
Type | type () const |
virtual float | weight () const |
virtual | ~TrackingRecHit () |
Private Attributes | |
int32_t | eventId_ |
see setEeId(int32_t eeid) More... | |
int32_t | id_ |
see setId(int32_t id) More... | |
std::vector< int32_t > | simTrackIds_ |
see addSimTrackIds(int32_t) More... | |
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 |
Protected Member Functions inherited from FastTrackerRecHit | |
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 inherited from FastTrackerRecHit | |
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_ |
Definition at line 7 of file FastSingleTrackerRecHit.h.
|
inline |
|
inline |
Definition at line 11 of file FastSingleTrackerRecHit.h.
|
inline |
add an id number to the list of id numbers of SimTracks from which the hit originates the SimTrack id numbers are the indices of the SimTracks in the SimTrack collection
Definition at line 37 of file FastSingleTrackerRecHit.h.
References simTrackId(), and simTrackIds_.
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 18 of file FastSingleTrackerRecHit.h.
References FastSingleTrackerRecHit(), and AlCaHLTBitMon_ParallelJobs::p.
|
inlineoverridevirtual |
Reimplemented from FastTrackerRecHit.
Definition at line 26 of file FastSingleTrackerRecHit.h.
References eventId_, and mps_fire::i.
Referenced by FastMatchedTrackerRecHit::eventId(), FastProjectedTrackerRecHit::eventId(), ntupleDataFormat.Event::eventIdStr(), and setEventId().
|
inlineoverridevirtual |
Reimplemented from FastTrackerRecHit.
Definition at line 25 of file FastSingleTrackerRecHit.h.
References mps_fire::i, and id_.
Referenced by FastMatchedTrackerRecHit::id(), FastProjectedTrackerRecHit::id(), and setId().
|
inlineoverridevirtual |
Reimplemented from FastTrackerRecHit.
Definition at line 24 of file FastSingleTrackerRecHit.h.
|
inlineoverridevirtual |
see addSimTrackId(int32_t simTrackId)
Reimplemented from FastTrackerRecHit.
Definition at line 27 of file FastSingleTrackerRecHit.h.
References simTrackIds_.
Referenced by FastMatchedTrackerRecHit::nSimTrackIds(), FastProjectedTrackerRecHit::nSimTrackIds(), FastMatchedTrackerRecHit::simTrackEventId(), and FastMatchedTrackerRecHit::simTrackId().
|
inlineoverridevirtual |
set the hit's event number there is in principle no reason to play with this variable outside the PU mixing modules see Adjuster::doTheOffset(int bunchSpace, int bcr, TrackingRecHitCollection & trackingrechits, unsigned int evtNr, int vertexOffset)
Reimplemented from FastTrackerRecHit.
Definition at line 47 of file FastSingleTrackerRecHit.h.
References eventId(), and eventId_.
Referenced by FastProjectedTrackerRecHit::setEventId(), and FastMatchedTrackerRecHit::setEventId().
|
inline |
|
inlineoverridevirtual |
see addSimTrackId(int32_t simTrackId)
Reimplemented from FastTrackerRecHit.
Definition at line 31 of file FastSingleTrackerRecHit.h.
References eventId_, mps_fire::i, and simTrackIds_.
Referenced by FastMatchedTrackerRecHit::simTrackEventId(), and FastProjectedTrackerRecHit::simTrackEventId().
|
inlineoverridevirtual |
see addSimTrackId(int32_t simTrackId)
Reimplemented from FastTrackerRecHit.
Definition at line 28 of file FastSingleTrackerRecHit.h.
References mps_fire::i, and simTrackIds_.
Referenced by addSimTrackId(), FastMatchedTrackerRecHit::simTrackId(), and FastProjectedTrackerRecHit::simTrackId().
|
private |
see setEeId(int32_t eeid)
Definition at line 51 of file FastSingleTrackerRecHit.h.
Referenced by eventId(), setEventId(), and simTrackEventId().
|
private |
Definition at line 50 of file FastSingleTrackerRecHit.h.
|
private |
see addSimTrackIds(int32_t)
Definition at line 52 of file FastSingleTrackerRecHit.h.
Referenced by addSimTrackId(), nSimTrackIds(), simTrackEventId(), and simTrackId().