#include <MuonTransientTrackingRecHit.h>
Public Types | |
typedef std::vector < ConstMuonRecHitPointer > | ConstMuonRecHitContainer |
typedef MuonTransientTrackingRecHit const * | ConstMuonRecHitPointer |
typedef std::vector < MuonRecHitPointer > | MuonRecHitContainer |
typedef MuonTransientTrackingRecHit * | MuonRecHitPointer |
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 | 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 |
float | errorGlobalRPhi () const |
float | errorGlobalZ () const |
virtual GlobalPoint | globalPosition () const |
GlobalError | globalPositionError () const |
TrackingRecHitGlobalState | globalState () const |
virtual const Surface * | surface () const |
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.
Definition at line 17 of file MuonTransientTrackingRecHit.h.
typedef std::vector<ConstMuonRecHitPointer> MuonTransientTrackingRecHit::ConstMuonRecHitContainer |
Definition at line 31 of file MuonTransientTrackingRecHit.h.
Definition at line 25 of file MuonTransientTrackingRecHit.h.
typedef std::vector<MuonRecHitPointer> MuonTransientTrackingRecHit::MuonRecHitContainer |
Definition at line 30 of file MuonTransientTrackingRecHit.h.
Definition at line 24 of file MuonTransientTrackingRecHit.h.
|
inlinevirtual |
Definition at line 33 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 69 of file MuonTransientTrackingRecHit.h.
References MuonTransientTrackingRecHit().
Referenced by GlobalTrajectoryBuilderBase::fixTEC().
|
virtual |
Chi square of the fit for segments, else 0.
Definition at line 86 of file MuonTransientTrackingRecHit.cc.
References GenericTransientTrackingRecHit::hit().
Referenced by CosmicMuonSeedGenerator::checkQuality(), and MuonSeedCleaner::NChi2OfSegment().
|
inlineoverrideprivatevirtual |
Reimplemented from GenericTransientTrackingRecHit.
Definition at line 89 of file MuonTransientTrackingRecHit.h.
References MuonTransientTrackingRecHit().
Referenced by transientHits().
|
virtual |
Degrees of freedom for segments, else 0.
Definition at line 93 of file MuonTransientTrackingRecHit.cc.
References GenericTransientTrackingRecHit::hit().
Referenced by CosmicMuonSeedGenerator::leftIsBetter(), and MuonSeedCleaner::NChi2OfSegment().
|
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().
Referenced by CosmicMuonSeedGenerator::areCorrelated(), CosmicMuonSeedGenerator::createSeed(), and MuonSeedOrcaPatternRecognition::discriminator().
|
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 174 of file MuonTransientTrackingRecHit.cc.
References TrackingRecHit::bad, GenericTransientTrackingRecHit::dimension(), isCSC(), isDT(), GenericTransientTrackingRecHit::recHits(), TrackingRecHit::setType(), and GenericTransientTrackingRecHit::trackingRecHit_.
Referenced by StandAloneMuonFilter::createDefaultTrajectory(), and MuonTrajectoryUpdator::update().
bool MuonTransientTrackingRecHit::isCSC | ( | ) | const |
if this rec hit is a CSC rec hit
Definition at line 104 of file MuonTransientTrackingRecHit.cc.
References MuonSubdetId::CSC, and TrackingRecHit::geographicalId().
Referenced by CosmicMuonSeedGenerator::checkQuality(), and invalidateHit().
bool MuonTransientTrackingRecHit::isDT | ( | ) | const |
if this rec hit is a DT rec hit
Definition at line 100 of file MuonTransientTrackingRecHit.cc.
References MuonSubdetId::DT, and TrackingRecHit::geographicalId().
Referenced by CosmicMuonSeedGenerator::checkQuality(), MuonSeedOrcaPatternRecognition::discriminator(), invalidateHit(), and transientHits().
bool MuonTransientTrackingRecHit::isRPC | ( | ) | const |
if this rec hit is a RPC rec hit
Definition at line 108 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 GenericTransientTrackingRecHit::parametersError().
Referenced by CosmicMuonSeedGenerator::createSeed().
|
inlinestatic |
Definition at line 73 of file MuonTransientTrackingRecHit.h.
References 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 114 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 81 of file MuonTransientTrackingRecHit.h.