#include <TRecHit1DMomConstraint.h>
Public Member Functions | |
bool | canImproveWithTrack () const override |
int | charge () const |
virtual RecHitPointer | clone (const TrajectoryStateOnSurface &ts) const |
TrackingRecHit * | cloneHit () const override |
const GeomDetUnit * | detUnit () const override |
int | dimension () const override |
double | err () const |
float | errorGlobalR () const override |
float | errorGlobalRPhi () const override |
float | errorGlobalZ () const override |
GlobalPoint | globalPosition () const override |
GlobalError | globalPositionError () const override |
const TrackingRecHit * | hit () const override |
LocalPoint | localPosition () const override |
LocalError | localPositionError () const override |
double | mom () const |
AlgebraicVector | parameters () const override |
AlgebraicSymMatrix | parametersError () const override |
AlgebraicMatrix | projectionMatrix () 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 *, SharedInputType) const override |
const Surface * | surface () const override |
~TRecHit1DMomConstraint () override | |
Public Member Functions inherited from TrackingRecHit | |
RecHitPointer | cloneForFit (const GeomDet &idet) const |
virtual RecHitPointer | cloneSH () const |
const GeomDet * | det () const |
DetId | geographicalId () const |
virtual void | getKfComponents (KfComponentsHolder &holder) const |
unsigned int | getRTTI () const |
Type | getType () const |
virtual bool | hasPositionAndError () const |
to be redefined by daughter class More... | |
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 () |
Static Public Member Functions | |
static RecHitPointer | build (const int charge, const double mom, const double err, const Surface *surface) |
Private Member Functions | |
TRecHit1DMomConstraint * | clone () const override |
TRecHit1DMomConstraint (const int charge, const double mom, const double err, const Surface *surface) | |
Creates the TrackingRecHit internally, avoids redundent cloning. More... | |
TRecHit1DMomConstraint (const TRecHit1DMomConstraint &other) | |
Private Attributes | |
const int | charge_ |
const double | err_ |
const double | mom_ |
const Surface * | surface_ |
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 TrackingRecHit | |
void | setId (id_type iid) |
void | setRTTI (unsigned int rt) |
void | setType (Type ttype) |
Definition at line 9 of file TRecHit1DMomConstraint.h.
|
inlineoverride |
Definition at line 12 of file TRecHit1DMomConstraint.h.
|
inlineprivate |
Creates the TrackingRecHit internally, avoids redundent cloning.
Definition at line 78 of file TRecHit1DMomConstraint.h.
Referenced by build(), and clone().
|
inlineprivate |
|
inlinestatic |
Definition at line 56 of file TRecHit1DMomConstraint.h.
References TRecHit1DMomConstraint().
|
inlineoverridevirtual |
Returns true if the clone( const TrajectoryStateOnSurface&) method returns an improved hit, false if it returns an identical copy. In order to avoid redundent copies one should call canImproveWithTrack() before calling clone( const TrajectoryStateOnSurface&). this will be done inside the TkCloner itself
Reimplemented from TrackingRecHit.
Definition at line 50 of file TRecHit1DMomConstraint.h.
|
inline |
|
inlinevirtual |
Definition at line 52 of file TRecHit1DMomConstraint.h.
References clone().
Referenced by clone().
|
inlineoverrideprivatevirtual |
Implements TrackingRecHit.
Definition at line 87 of file TRecHit1DMomConstraint.h.
References TRecHit1DMomConstraint().
|
inlineoverridevirtual |
Reimplemented from TrackingRecHit.
Definition at line 44 of file TRecHit1DMomConstraint.h.
|
inlineoverridevirtual |
CAUTION: the GeomDetUnit* is zero for composite hits (matched hits in the tracker, segments in the muon). Always check this pointer before using it!
Reimplemented from TrackingRecHit.
Definition at line 54 of file TRecHit1DMomConstraint.h.
|
inlineoverridevirtual |
|
inline |
|
inlineoverridevirtual |
Reimplemented from TrackingRecHit.
Definition at line 67 of file TRecHit1DMomConstraint.h.
|
inlineoverridevirtual |
Reimplemented from TrackingRecHit.
Definition at line 69 of file TRecHit1DMomConstraint.h.
|
inlineoverridevirtual |
Reimplemented from TrackingRecHit.
Definition at line 68 of file TRecHit1DMomConstraint.h.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Reimplemented from TrackingRecHit.
Definition at line 43 of file TRecHit1DMomConstraint.h.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 36 of file TRecHit1DMomConstraint.h.
|
inline |
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 14 of file TRecHit1DMomConstraint.h.
References charge_, mom_, and mps_fire::result.
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 20 of file TRecHit1DMomConstraint.h.
References err_, funct::m, and mom_.
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 27 of file TRecHit1DMomConstraint.h.
References theProjectionMatrix.
|
inlineoverridevirtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 46 of file TRecHit1DMomConstraint.h.
|
inlineoverridevirtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 47 of file TRecHit1DMomConstraint.h.
|
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 48 of file TRecHit1DMomConstraint.h.
|
inlineoverridevirtual |
Reimplemented from TrackingRecHit.
Definition at line 63 of file TRecHit1DMomConstraint.h.
References surface_.
|
private |
Definition at line 73 of file TRecHit1DMomConstraint.h.
Referenced by charge(), and parameters().
|
private |
Definition at line 75 of file TRecHit1DMomConstraint.h.
Referenced by err(), and parametersError().
|
private |
Definition at line 74 of file TRecHit1DMomConstraint.h.
Referenced by mom(), parameters(), and parametersError().
|
private |
Definition at line 76 of file TRecHit1DMomConstraint.h.
Referenced by surface().