#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, inactive_inner = 6, inactive_outer = 7 } |
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... | |
AlgebraicSymMatrix | parametersError () const override |
ConstRecHitContainer | transientHits () const override |
return the sub components of this transient rechit More... | |
~MuonTransientTrackingRecHit () override | |
Public Member Functions inherited from GenericTransientTrackingRecHit | |
bool | canImproveWithTrack () const override |
TrackingRecHit * | cloneHit () const override |
int | dimension () const override |
const TrackingRecHit * | hit () const override |
LocalPoint | localPosition () const override |
LocalError | localPositionError () const override |
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... | |
~GenericTransientTrackingRecHit () override | |
Public Member Functions inherited from TValidTrackingRecHit | |
bool | canImproveWithTrack () const override |
TrackingRecHit * | cloneHit () const override |
virtual float | clusterProbability () const |
cluster probability, overloaded by pixel rechits. More... | |
float | errorGlobalR () const final |
float | errorGlobalRPhi () const final |
float | errorGlobalZ () const final |
GlobalPoint | globalPosition () const final |
GlobalError | globalPositionError () const final |
TrackingRecHitGlobalState | globalState () const |
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 | |
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 19 of file MuonTransientTrackingRecHit.h.
typedef std::vector<ConstMuonRecHitPointer> MuonTransientTrackingRecHit::ConstMuonRecHitContainer |
Definition at line 27 of file MuonTransientTrackingRecHit.h.
using MuonTransientTrackingRecHit::ConstMuonRecHitPointer = std::shared_ptr<MuonTransientTrackingRecHit const> |
Definition at line 22 of file MuonTransientTrackingRecHit.h.
typedef std::vector<MuonRecHitPointer> MuonTransientTrackingRecHit::MuonRecHitContainer |
Definition at line 26 of file MuonTransientTrackingRecHit.h.
using MuonTransientTrackingRecHit::MuonRecHitPointer = std::shared_ptr<MuonTransientTrackingRecHit> |
Definition at line 21 of file MuonTransientTrackingRecHit.h.
|
inlineoverride |
Definition at line 29 of file MuonTransientTrackingRecHit.h.
|
private |
Construct from a TrackingRecHit and its GeomDet.
Definition at line 20 of file MuonTransientTrackingRecHit.cc.
Referenced by build(), clone(), and specificBuild().
|
private |
Copy ctor.
Definition at line 23 of file MuonTransientTrackingRecHit.cc.
|
inlinestatic |
FIXME virtual ConstMuonRecHitContainer specificTransientHits() const;.
Definition at line 71 of file MuonTransientTrackingRecHit.h.
References MuonTransientTrackingRecHit().
Referenced by GlobalTrajectoryBuilderBase::fixTEC().
|
virtual |
Chi square of the fit for segments, else 0.
Definition at line 114 of file MuonTransientTrackingRecHit.cc.
References GenericTransientTrackingRecHit::hit().
|
inlineoverrideprivatevirtual |
Implements TValidTrackingRecHit.
Definition at line 91 of file MuonTransientTrackingRecHit.h.
References MuonTransientTrackingRecHit().
Referenced by transientHits().
|
virtual |
Degrees of freedom for segments, else 0.
Definition at line 121 of file MuonTransientTrackingRecHit.cc.
References GenericTransientTrackingRecHit::hit().
|
virtual |
Direction in 3D for segments, otherwise (0,0,0)
Definition at line 40 of file MuonTransientTrackingRecHit.cc.
References TrackingRecHit::det(), localDirection(), and TValidTrackingRecHit::surface().
|
virtual |
Error on the global direction.
Definition at line 44 of file MuonTransientTrackingRecHit.cc.
References TrackingRecHit::det(), localDirectionError(), TValidTrackingRecHit::surface(), and ErrorFrameTransformer::transform().
void MuonTransientTrackingRecHit::invalidateHit | ( | ) |
Definition at line 194 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 130 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 128 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 132 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 134 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 136 of file MuonTransientTrackingRecHit.cc.
References TrackingRecHit::geographicalId(), and MuonSubdetId::RPC.
|
virtual |
Direction in 3D for segments, otherwise (0,0,0)
Definition at line 26 of file MuonTransientTrackingRecHit.cc.
References GenericTransientTrackingRecHit::hit().
Referenced by globalDirection().
|
virtual |
Error on the local direction.
Definition at line 33 of file MuonTransientTrackingRecHit.cc.
References GenericTransientTrackingRecHit::hit().
Referenced by globalDirectionError().
|
overridevirtual |
Implements TrackingRecHit.
Definition at line 48 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(), submitPVValidationJobs::err, AlignmentPositionError::globalError(), GenericTransientTrackingRecHit::localPosition(), GenericTransientTrackingRecHit::parameters(), GenericTransientTrackingRecHit::parametersError(), ErrorFrameTransformer::transform46(), and PV3DBase< T, PVType, FrameType >::x().
|
inlinestatic |
Definition at line 75 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(), MuonDetLayerMeasurements::recHits(), ExhaustiveMuonTrajectoryBuilder::trajectories(), and MuonTrajectoryUpdator::update().
|
overridevirtual |
return the sub components of this transient rechit
Reimplemented from TrackingRecHit.
Definition at line 140 of file MuonTransientTrackingRecHit.cc.
References clone(), GeomDet::components(), filterCSVwithJSON::copy, TrackingRecHit::det(), GenericTransientTrackingRecHit::dimension(), GeomDet::geographicalId(), isDT(), GenericTransientTrackingRecHit::recHits(), and createJobs::tmp.
|
friend |
Definition at line 83 of file MuonTransientTrackingRecHit.h.