![]() |
![]() |
#include <TRecHit1DMomConstraint.h>
Public Member Functions | |
virtual bool | canImproveWithTrack () const |
int | charge () const |
virtual RecHitPointer | clone (const TrajectoryStateOnSurface &ts) const |
virtual const GeomDet * | det () const |
virtual const GeomDetUnit * | detUnit () const |
virtual int | dimension () const |
double | err () const |
virtual const TrackingRecHit * | hit () const |
virtual LocalPoint | localPosition () const |
virtual LocalError | localPositionError () const |
double | mom () const |
virtual AlgebraicVector | parameters () const |
virtual AlgebraicSymMatrix | parametersError () const |
virtual AlgebraicMatrix | projectionMatrix () 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... | |
virtual const Surface * | surface () const |
virtual | ~TRecHit1DMomConstraint () |
![]() | |
virtual float | clusterProbability () const |
cluster probability, overloaded by pixel rechits. More... | |
const GeomDet * | det () const |
The GomeDet* can be zero for InvalidTransientRecHits and for TConstraintRecHit2Ds. More... | |
float | errorGlobalR () const |
float | errorGlobalRPhi () const |
float | errorGlobalZ () const |
float | getAnnealingFactor () const |
virtual GlobalPoint | globalPosition () const |
virtual GlobalError | globalPositionError () const |
void | setAnnealingFactor (float annealing) |
void | setWeight (float weight) |
interface needed to set the transient hit weight and to read it back More... | |
virtual ConstRecHitContainer | transientHits () const |
Composite interface: returns the component hits, if any. More... | |
TransientTrackingRecHit (const GeomDet *geom=0, float weight=1., float annealing=1.) | |
TransientTrackingRecHit (const GeomDet *geom, DetId id, Type type=valid, float weight=1., float annealing=1.) | |
TransientTrackingRecHit (const GeomDet *geom, TrackingRecHit::id_type id, Type type=valid, float weight=1., float annealing=1.) | |
TransientTrackingRecHit (const GeomDet *geom, TrackingRecHit const &rh, float weight=1., float annealing=1.) | |
float | weight () const |
![]() | |
DetId | geographicalId () const |
virtual void | getKfComponents (KfComponentsHolder &holder) const |
Type | getType () const |
bool | isValid () const |
virtual void | recHitsV (std::vector< const TrackingRecHit * > &) const |
virtual void | recHitsV (std::vector< TrackingRecHit * > &) |
virtual bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const |
TrackingRecHit (DetId id, Type type=valid) | |
TrackingRecHit (id_type id=0, Type type=valid) | |
Type | type () const |
virtual | ~TrackingRecHit () |
![]() | |
void | addReference () const |
const ReferenceCountedPoolAllocated & | operator= (const ReferenceCountedPoolAllocated &) |
ReferenceCountedPoolAllocated () | |
ReferenceCountedPoolAllocated (const ReferenceCountedPoolAllocated &iRHS) | |
unsigned int | references () const |
void | removeReference () const |
virtual | ~ReferenceCountedPoolAllocated () |
![]() | |
virtual | ~BlockWipedPoolAllocated () |
Static Public Member Functions | |
static RecHitPointer | build (const int charge, const double mom, const double err, const Surface *surface) |
![]() | |
static BlockWipedAllocator & | allocator (size_t s) |
static void | operator delete (void *p, size_t s) |
static void * | operator new (size_t s, void *p) |
static void * | operator new (size_t s) |
static BlockWipedAllocator::Stat | stat (size_t s) |
static void | usePool () |
Private Member Functions | |
virtual TRecHit1DMomConstraint * | clone () const |
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 | |
![]() | |
typedef std::vector < ConstRecHitPointer > | ConstRecHitContainer |
typedef ConstReferenceCountingPointer < TransientTrackingRecHit > | ConstRecHitPointer |
typedef std::vector < ConstRecHitPointer > | RecHitContainer |
typedef ReferenceCountingPointer < TransientTrackingRecHit > | RecHitPointer |
![]() | |
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 } |
![]() | |
static int | s_alive =0 |
static int | s_referenced =0 |
![]() | |
static int | s_alive =0 |
![]() | |
void | setId (id_type iid) |
void | setType (Type ttype) |
Definition at line 8 of file TRecHit1DMomConstraint.h.
|
inlinevirtual |
Definition at line 11 of file TRecHit1DMomConstraint.h.
|
inlineprivate |
Creates the TrackingRecHit internally, avoids redundent cloning.
Definition at line 74 of file TRecHit1DMomConstraint.h.
Referenced by build(), and clone().
|
inlineprivate |
|
inlinestatic |
Definition at line 59 of file TRecHit1DMomConstraint.h.
References TRecHit1DMomConstraint().
Referenced by KalmanAlignmentTrackRefitter::refitSingleTracklet().
|
inlinevirtual |
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&).
Reimplemented from TransientTrackingRecHit.
Definition at line 52 of file TRecHit1DMomConstraint.h.
|
inline |
|
inlinevirtual |
Returns a copy of the hit with parameters and errors computed with respect to the TrajectoryStateOnSurface given as argument. For concrete hits not capable to improve their parameters and errors this method returns an exact copy, and is equivalent to clone() without arguments.
Reimplemented from TransientTrackingRecHit.
Definition at line 54 of file TRecHit1DMomConstraint.h.
References clone().
Referenced by clone().
|
inlineprivatevirtual |
Implements TransientTrackingRecHit.
Definition at line 83 of file TRecHit1DMomConstraint.h.
References TRecHit1DMomConstraint().
|
inlinevirtual |
Definition at line 57 of file TRecHit1DMomConstraint.h.
|
inlinevirtual |
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 TransientTrackingRecHit.
Definition at line 56 of file TRecHit1DMomConstraint.h.
|
inlinevirtual |
|
inline |
|
inlinevirtual |
Implements TransientTrackingRecHit.
Definition at line 41 of file TRecHit1DMomConstraint.h.
Referenced by recHits().
|
inlinevirtual |
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 35 of file TRecHit1DMomConstraint.h.
|
inline |
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 13 of file TRecHit1DMomConstraint.h.
References charge_, mom_, and query::result.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 45 of file TRecHit1DMomConstraint.h.
References hit(), and TrackingRecHit::recHits().
|
inlinevirtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 48 of file TRecHit1DMomConstraint.h.
|
inlinevirtual |
Reimplemented from TransientTrackingRecHit.
Definition at line 66 of file TRecHit1DMomConstraint.h.
References surface_.
|
private |
Definition at line 69 of file TRecHit1DMomConstraint.h.
Referenced by charge(), and parameters().
|
private |
Definition at line 71 of file TRecHit1DMomConstraint.h.
Referenced by err(), and parametersError().
|
private |
Definition at line 70 of file TRecHit1DMomConstraint.h.
Referenced by mom(), parameters(), and parametersError().
|
private |
Definition at line 72 of file TRecHit1DMomConstraint.h.
Referenced by surface().