#include <MuonTransientTrackingRecHit.h>
Public Types | |
typedef std::vector < ConstMuonRecHitPointer > | ConstMuonRecHitContainer |
using | ConstMuonRecHitPointer = std::shared_ptr< MuonTransientTrackingRecHit const > |
typedef std::vector < MuonRecHitPointer > | MuonRecHitContainer |
using | MuonRecHitPointer = std::shared_ptr< MuonTransientTrackingRecHit > |
Public Types inherited from GenericTransientTrackingRecHit | |
typedef TrackingRecHit::Type | Type |
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 } |
Public Member Functions | |
virtual double | chi2 () const |
Chi square of the fit for segments, else 0. More... | |
virtual int | degreesOfFreedom () const |
Degrees of freedom for segments, else 0. More... | |
virtual GlobalVector | globalDirection () const |
Direction in 3D for segments, otherwise (0,0,0) More... | |
virtual GlobalError | globalDirectionError () const |
Error on the global direction. More... | |
void | invalidateHit () |
bool | isCSC () const |
if this rec hit is a CSC rec hit More... | |
bool | isDT () const |
if this rec hit is a DT rec hit More... | |
bool | isGEM () const |
if this rec hit is a GEM rec hit More... | |
bool | isME0 () const |
if this rec hit is a ME0 rec hit More... | |
bool | isRPC () const |
if this rec hit is a RPC rec hit More... | |
virtual LocalVector | localDirection () const |
Direction in 3D for segments, otherwise (0,0,0) More... | |
virtual LocalError | localDirectionError () const |
Error on the local direction. More... | |
virtual AlgebraicSymMatrix | parametersError () const override |
virtual ConstRecHitContainer | transientHits () const override |
return the sub components of this transient rechit More... | |
virtual | ~MuonTransientTrackingRecHit () |
Public Member Functions inherited from GenericTransientTrackingRecHit | |
virtual bool | canImproveWithTrack () const override |
TrackingRecHit * | cloneHit () const |
virtual int | dimension () const |
virtual const TrackingRecHit * | hit () const |
virtual LocalPoint | localPosition () const override |
virtual LocalError | localPositionError () const override |
virtual AlgebraicVector | parameters () const |
virtual AlgebraicMatrix | projectionMatrix () const |
virtual std::vector< const TrackingRecHit * > | recHits () const override |
Access to component RecHits (if any) More... | |
virtual std::vector < TrackingRecHit * > | recHits () override |
Non-const access to component RecHits (if any) More... | |
virtual | ~GenericTransientTrackingRecHit () |
Public Member Functions inherited from TValidTrackingRecHit | |
TrackingRecHit * | cloneHit () const |
virtual float | clusterProbability () const |
cluster probability, overloaded by pixel rechits. More... | |
float | errorGlobalR () const final |
float | errorGlobalRPhi () const final |
float | errorGlobalZ () const final |
virtual GlobalPoint | globalPosition () const final |
GlobalError | globalPositionError () const final |
TrackingRecHitGlobalState | globalState () const |
virtual const Surface * | surface () const final |
TValidTrackingRecHit (const GeomDet &geom) | |
template<typename... Args> | |
TValidTrackingRecHit (Args &&...args) | |
Public Member Functions inherited from TrackingRecHit | |
RecHitPointer | cloneForFit (const GeomDet &idet) const |
virtual RecHitPointer | cloneSH () const |
const GeomDet * | det () const |
virtual const GeomDetUnit * | detUnit () 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) |
virtual bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const |
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) | |
Type | type () const |
virtual float | weight () const |
virtual | ~TrackingRecHit () |
Static Public Member Functions | |
static RecHitPointer | build (const GeomDet *geom, const TrackingRecHit *rh) |
FIXME virtual ConstMuonRecHitContainer specificTransientHits() const;. More... | |
static MuonRecHitPointer | specificBuild (const GeomDet *geom, const TrackingRecHit *rh) |
Static Public Member Functions inherited from GenericTransientTrackingRecHit | |
static RecHitPointer | build (const GeomDet *geom, const TrackingRecHit *rh) |
Private Member Functions | |
virtual MuonTransientTrackingRecHit * | clone () const override |
MuonTransientTrackingRecHit (const GeomDet *geom, const TrackingRecHit *rh) | |
Construct from a TrackingRecHit and its GeomDet. More... | |
MuonTransientTrackingRecHit (const MuonTransientTrackingRecHit &other) | |
Copy ctor. More... | |
Friends | |
class | kkkwwwxxxyyyzzz |
Additional Inherited Members | |
Static Public Attributes inherited from TrackingRecHit | |
static const int | rttiShift = 24 |
static const int | typeMask = 0xf |
Protected Member Functions inherited from GenericTransientTrackingRecHit | |
GenericTransientTrackingRecHit (const GeomDet &geom, const TrackingRecHit &rh) | |
GenericTransientTrackingRecHit (const GeomDet &geom, TrackingRecHit *rh) | |
for derived classes convenience, does not clone! More... | |
GenericTransientTrackingRecHit (const GenericTransientTrackingRecHit &other) | |
Protected Member Functions inherited from TrackingRecHit | |
void | setId (id_type iid) |
void | setRTTI (unsigned int rt) |
void | setType (Type ttype) |
Protected Attributes inherited from GenericTransientTrackingRecHit | |
TrackingRecHit * | trackingRecHit_ |
A TransientTrackingRecHit for muons.
by C. Calabria INFN & Universita Bari
Definition at line 21 of file MuonTransientTrackingRecHit.h.
typedef std::vector<ConstMuonRecHitPointer> MuonTransientTrackingRecHit::ConstMuonRecHitContainer |
Definition at line 29 of file MuonTransientTrackingRecHit.h.
using MuonTransientTrackingRecHit::ConstMuonRecHitPointer = std::shared_ptr<MuonTransientTrackingRecHit const> |
Definition at line 24 of file MuonTransientTrackingRecHit.h.
typedef std::vector<MuonRecHitPointer> MuonTransientTrackingRecHit::MuonRecHitContainer |
Definition at line 28 of file MuonTransientTrackingRecHit.h.
using MuonTransientTrackingRecHit::MuonRecHitPointer = std::shared_ptr<MuonTransientTrackingRecHit> |
Definition at line 23 of file MuonTransientTrackingRecHit.h.
|
inlinevirtual |
Definition at line 31 of file MuonTransientTrackingRecHit.h.
|
private |
Construct from a TrackingRecHit and its GeomDet.
Definition at line 21 of file MuonTransientTrackingRecHit.cc.
Referenced by build(), clone(), and specificBuild().
|
private |
Copy ctor.
Definition at line 24 of file MuonTransientTrackingRecHit.cc.
|
inlinestatic |
FIXME virtual ConstMuonRecHitContainer specificTransientHits() const;.
Definition at line 73 of file MuonTransientTrackingRecHit.h.
References MuonTransientTrackingRecHit().
Referenced by GlobalTrajectoryBuilderBase::fixTEC().
|
virtual |
Chi square of the fit for segments, else 0.
Definition at line 126 of file MuonTransientTrackingRecHit.cc.
References GenericTransientTrackingRecHit::hit().
|
inlineoverrideprivatevirtual |
Reimplemented from GenericTransientTrackingRecHit.
Definition at line 94 of file MuonTransientTrackingRecHit.h.
References MuonTransientTrackingRecHit().
Referenced by transientHits().
|
virtual |
Degrees of freedom for segments, else 0.
Definition at line 133 of file MuonTransientTrackingRecHit.cc.
References GenericTransientTrackingRecHit::hit().
|
virtual |
Direction in 3D for segments, otherwise (0,0,0)
Definition at line 44 of file MuonTransientTrackingRecHit.cc.
References TrackingRecHit::det(), localDirection(), and TValidTrackingRecHit::surface().
|
virtual |
Error on the global direction.
Definition at line 49 of file MuonTransientTrackingRecHit.cc.
References TrackingRecHit::det(), localDirectionError(), TValidTrackingRecHit::surface(), and ErrorFrameTransformer::transform().
void MuonTransientTrackingRecHit::invalidateHit | ( | ) |
Definition at line 223 of file MuonTransientTrackingRecHit.cc.
References TrackingRecHit::bad, GenericTransientTrackingRecHit::dimension(), isCSC(), isDT(), GenericTransientTrackingRecHit::recHits(), TrackingRecHit::setType(), and GenericTransientTrackingRecHit::trackingRecHit_.
bool MuonTransientTrackingRecHit::isCSC | ( | ) | const |
if this rec hit is a CSC rec hit
Definition at line 144 of file MuonTransientTrackingRecHit.cc.
References MuonSubdetId::CSC, and TrackingRecHit::geographicalId().
Referenced by invalidateHit().
bool MuonTransientTrackingRecHit::isDT | ( | ) | const |
if this rec hit is a DT rec hit
Definition at line 140 of file MuonTransientTrackingRecHit.cc.
References MuonSubdetId::DT, and TrackingRecHit::geographicalId().
Referenced by invalidateHit(), and transientHits().
bool MuonTransientTrackingRecHit::isGEM | ( | ) | const |
if this rec hit is a GEM rec hit
Definition at line 148 of file MuonTransientTrackingRecHit.cc.
References MuonSubdetId::GEM, and TrackingRecHit::geographicalId().
bool MuonTransientTrackingRecHit::isME0 | ( | ) | const |
if this rec hit is a ME0 rec hit
Definition at line 152 of file MuonTransientTrackingRecHit.cc.
References TrackingRecHit::geographicalId(), and MuonSubdetId::ME0.
bool MuonTransientTrackingRecHit::isRPC | ( | ) | const |
if this rec hit is a RPC rec hit
Definition at line 157 of file MuonTransientTrackingRecHit.cc.
References TrackingRecHit::geographicalId(), and MuonSubdetId::RPC.
|
virtual |
Direction in 3D for segments, otherwise (0,0,0)
Definition at line 28 of file MuonTransientTrackingRecHit.cc.
References GenericTransientTrackingRecHit::hit().
Referenced by globalDirection().
|
virtual |
Error on the local direction.
Definition at line 36 of file MuonTransientTrackingRecHit.cc.
References GenericTransientTrackingRecHit::hit().
Referenced by globalDirectionError().
|
overridevirtual |
Reimplemented from GenericTransientTrackingRecHit.
Definition at line 55 of file MuonTransientTrackingRecHit.cc.
References GeomDet::alignmentPositionError(), LocalErrorBaseExtended< T, ErrorWeightType >::cphixphix(), LocalErrorBaseExtended< T, ErrorWeightType >::cphixx(), LocalErrorBaseExtended< T, ErrorWeightType >::cphixy(), LocalErrorBaseExtended< T, ErrorWeightType >::cphiyphix(), LocalErrorBaseExtended< T, ErrorWeightType >::cphiyphiy(), LocalErrorBaseExtended< T, ErrorWeightType >::cphiyx(), LocalErrorBaseExtended< T, ErrorWeightType >::cphiyy(), LocalErrorBaseExtended< T, ErrorWeightType >::cxx(), LocalErrorBaseExtended< T, ErrorWeightType >::cyx(), LocalErrorBaseExtended< T, ErrorWeightType >::cyy(), TrackingRecHit::det(), AlignmentPositionError::globalError(), GenericTransientTrackingRecHit::localPosition(), NULL, GenericTransientTrackingRecHit::parameters(), GenericTransientTrackingRecHit::parametersError(), ErrorFrameTransformer::transform46(), and PV3DBase< T, PVType, FrameType >::x().
|
inlinestatic |
Definition at line 77 of file MuonTransientTrackingRecHit.h.
References LogDebug, and MuonTransientTrackingRecHit().
Referenced by SegmentToTrackAssociator::associate(), SegmentsTrackAssociator::associate(), MuonTransientTrackingRecHitBuilder::build(), ResidualRefitting::CollectTrackHits(), StandAloneMuonFilter::createDefaultTrajectory(), MuonShowerInformationFiller::fillHitsByStation(), MuonShowerInformationFiller::hitsFromSegments(), MuonSeedCleaner::NChi2OfSegment(), ResidualRefitting::NewTrackMeasurements(), MuonSeedCleaner::NRecHitsFromSegment(), SETPatternRecognition::produce(), MuonMillepedeTrackRefitter::produce(), MuonDetLayerMeasurements::recHits(), ExhaustiveMuonTrajectoryBuilder::trajectories(), and MuonTrajectoryUpdator::update().
|
overridevirtual |
return the sub components of this transient rechit
Reimplemented from TrackingRecHit.
Definition at line 163 of file MuonTransientTrackingRecHit.cc.
References clone(), GeomDet::components(), filterCSVwithJSON::copy, TrackingRecHit::det(), GenericTransientTrackingRecHit::dimension(), GeomDet::geographicalId(), isDT(), GenericTransientTrackingRecHit::recHits(), and tmp.
|
friend |
Definition at line 86 of file MuonTransientTrackingRecHit.h.