#include <DTRecSegment4D.h>
Public Member Functions | |
virtual DTChamberId | chamberId () const |
The (specific) DetId of the chamber on which the segment resides. More... | |
virtual double | chi2 () const |
Chi2 of the segment fit. More... | |
virtual DTRecSegment4D * | clone () const |
virtual int | degreesOfFreedom () const |
Degrees of freedom of the segment fit. More... | |
virtual int | dimension () const |
Dimension (in parameter space) More... | |
DTRecSegment4D () | |
Empty constructor. More... | |
DTRecSegment4D (const DTChamberRecSegment2D &phiSeg, const DTSLRecSegment2D &zedSeg, const LocalPoint &posZInCh, const LocalVector &dirZInCh) | |
Construct from phi and Z projections. More... | |
DTRecSegment4D (const DTChamberRecSegment2D &phiSeg) | |
Construct from phi projection. More... | |
DTRecSegment4D (const DTSLRecSegment2D &zedSeg, const LocalPoint &posZInCh, const LocalVector &dirZInCh) | |
Construct from Z projection. More... | |
bool | hasPhi () const |
Does it have the Phi projection? More... | |
bool | hasZed () const |
Does it have the Z projection? More... | |
virtual LocalVector | localDirection () const |
Local direction in Chamber frame. More... | |
virtual LocalError | localDirectionError () const |
Local direction error in the Chamber frame. More... | |
virtual LocalPoint | localPosition () const |
Local position in Chamber frame. More... | |
virtual LocalError | localPositionError () const |
Local position error in Chamber frame. More... | |
AlgebraicVector | parameters () const |
AlgebraicSymMatrix | parametersError () const |
Covariance matrix fo parameters() More... | |
const DTChamberRecSegment2D * | phiSegment () const |
The superPhi segment: 0 if no phi projection available. More... | |
virtual AlgebraicMatrix | projectionMatrix () const |
The projection matrix relates the trajectory state parameters to the segment parameters(). More... | |
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... | |
void | setCovMatrix (AlgebraicSymMatrix mat) |
Set covariance matrix. More... | |
void | setDirection (LocalVector dir) |
Set direction. More... | |
void | setPosition (LocalPoint pos) |
Set position. More... | |
const DTSLRecSegment2D * | zSegment () const |
The Z segment: 0 if not zed projection available. More... | |
~DTRecSegment4D () | |
Destructor. More... | |
Public Member Functions inherited from RecSegment | |
RecSegment (DetId id) | |
RecSegment (TrackingRecHit::id_type id=0) | |
virtual | ~RecSegment () |
Destructor. More... | |
Public Member Functions inherited from TrackingRecHit | |
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 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) | |
Type | type () const |
virtual float | weight () const |
virtual | ~TrackingRecHit () |
Private Types | |
enum | Projection { full, phi, Z, none } |
Which projections are actually there. More... | |
Private Member Functions | |
DTChamberRecSegment2D * | phiSegment () |
the superPhi segment More... | |
void | setCovMatrixForZed (const LocalPoint &posZInCh) |
DTSLRecSegment2D * | zSegment () |
the Z segment More... | |
Private Attributes | |
AlgebraicSymMatrix | theCovMatrix |
int | theDimension |
LocalVector | theDirection |
DTChamberRecSegment2D | thePhiSeg |
LocalPoint | thePosition |
Projection | theProjection |
DTSLRecSegment2D | theZedSeg |
Friends | |
class | DTSegmentUpdator |
Additional Inherited Members | |
Public Types inherited from TrackingRecHit | |
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 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) |
4-parameter RecHits for MuonBarrel DT (x,y, dx/dz, dy/dz)
Definition at line 25 of file DTRecSegment4D.h.
|
private |
Which projections are actually there.
Enumerator | |
---|---|
full | |
phi | |
Z | |
none |
Definition at line 121 of file DTRecSegment4D.h.
|
inline |
Empty constructor.
Definition at line 30 of file DTRecSegment4D.h.
Referenced by clone().
DTRecSegment4D::DTRecSegment4D | ( | const DTChamberRecSegment2D & | phiSeg, |
const DTSLRecSegment2D & | zedSeg, | ||
const LocalPoint & | posZInCh, | ||
const LocalVector & | dirZInCh | ||
) |
Construct from phi and Z projections.
Definition at line 19 of file DTRecSegment4D.cc.
References funct::cos(), DTRecSegment2D::covMatrix(), DTChamberId, edm::hlt::Exception, TrackingRecHit::geographicalId(), DTRecSegment2D::localDirection(), DTRecSegment2D::localPosition(), DetId::rawId(), setCovMatrixForZed(), theCovMatrix, theDirection, thePosition, PV3DBase< T, PVType, FrameType >::theta(), Vector3DBase< T, FrameTag >::unit(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
DTRecSegment4D::DTRecSegment4D | ( | const DTChamberRecSegment2D & | phiSeg | ) |
Construct from phi projection.
Definition at line 59 of file DTRecSegment4D.cc.
References DTRecSegment2D::covMatrix(), DTRecSegment2D::localDirection(), DTRecSegment2D::localPosition(), theCovMatrix, theDirection, thePhiSeg, and thePosition.
DTRecSegment4D::DTRecSegment4D | ( | const DTSLRecSegment2D & | zedSeg, |
const LocalPoint & | posZInCh, | ||
const LocalVector & | dirZInCh | ||
) |
Construct from Z projection.
Definition at line 78 of file DTRecSegment4D.cc.
References funct::cos(), setCovMatrixForZed(), theCovMatrix, theDirection, thePosition, PV3DBase< T, PVType, FrameType >::theta(), and PV3DBase< T, PVType, FrameType >::z().
DTRecSegment4D::~DTRecSegment4D | ( | ) |
|
virtual |
The (specific) DetId of the chamber on which the segment resides.
Definition at line 276 of file DTRecSegment4D.cc.
References DTChamberId, and TrackingRecHit::geographicalId().
Referenced by FWDTSegmentProxyBuilder::buildViewType(), DTTrigGeomUtils::computeSCCoordinates(), DTSegmentUpdator::fit(), DTChamberEfficiencyTask::interpolate(), DTChamberEfficiencyTask::isGoodSegment(), and DTLocalTriggerTask::runSegmentAnalysis().
|
virtual |
Chi2 of the segment fit.
Implements RecSegment.
Definition at line 191 of file DTRecSegment4D.cc.
References DTRecSegment2D::chi2(), hasPhi(), hasZed(), query::result, thePhiSeg, and theZedSeg.
Referenced by DTChamberEfficiencyTask::getBestSegment(), DTChamberEfficiencyTask::isGoodSegment(), DTSegmentSelector::operator()(), and operator<<().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 46 of file DTRecSegment4D.h.
References DTRecSegment4D().
Referenced by DTSegment4DT0Corrector::produce().
|
virtual |
Degrees of freedom of the segment fit.
Implements RecSegment.
Definition at line 199 of file DTRecSegment4D.cc.
References DTRecSegment2D::degreesOfFreedom(), hasPhi(), hasZed(), query::result, thePhiSeg, and theZedSeg.
Referenced by DTChamberEfficiencyTask::getBestSegment(), DTChamberEfficiencyTask::isGoodSegment(), DTSegmentSelector::operator()(), and operator<<().
|
inlinevirtual |
Dimension (in parameter space)
Implements RecSegment.
Definition at line 79 of file DTRecSegment4D.h.
References theDimension.
Referenced by DTCalibValidation::compute(), operator<<(), parameters(), parametersError(), and projectionMatrix().
|
inline |
Does it have the Phi projection?
Definition at line 92 of file DTRecSegment4D.h.
References full, phi, and theProjection.
Referenced by TrackDetectorAssociator::addTAMuonSegmentMatch(), DTChamberEfficiencyTask::analyze(), DTSegmentUpdator::calculateT0corr(), chi2(), degreesOfFreedom(), DTSegmentUpdator::fit(), DTChamberEfficiencyTask::getBestSegment(), MuonAssociatorByHits::getMatchedIds(), TrackerMuonHitExtractor::getMuonHits(), DTChamberEfficiencyTask::interpolate(), DTChamberEfficiencyTask::isGoodSegment(), MuonResidualsFromTrack::MuonResidualsFromTrack(), DTSegmentSelector::operator()(), operator<<(), phiSegment(), MuonTrackProducer::produce(), recHits(), MuonTrackDT13ChamberResidual::setSegmentResidual(), StateSegmentMatcher::StateSegmentMatcher(), CosmicMuonTrajectoryBuilder::t0(), and DTSegmentUpdator::update().
|
inline |
Does it have the Z projection?
Definition at line 95 of file DTRecSegment4D.h.
References full, theProjection, and Z.
Referenced by TrackDetectorAssociator::addTAMuonSegmentMatch(), DTChamberEfficiencyTask::analyze(), DTSegmentUpdator::calculateT0corr(), chi2(), degreesOfFreedom(), DTSegmentUpdator::fit(), DTChamberEfficiencyTask::getBestSegment(), MuonAssociatorByHits::getMatchedIds(), TrackerMuonHitExtractor::getMuonHits(), DTChamberEfficiencyTask::interpolate(), DTChamberEfficiencyTask::isGoodSegment(), MuonResidualsFromTrack::MuonResidualsFromTrack(), DTSegmentSelector::operator()(), operator<<(), MuonTrackProducer::produce(), recHits(), MuonTrackDT2ChamberResidual::setSegmentResidual(), StateSegmentMatcher::StateSegmentMatcher(), DTSegmentUpdator::update(), and zSegment().
|
inlinevirtual |
Local direction in Chamber frame.
Implements RecSegment.
Definition at line 67 of file DTRecSegment4D.h.
References theDirection.
Referenced by DTSegment4DQuality::analyze(), FWDTSegmentProxyBuilder::buildViewType(), DTRecHitSegmentResidual::compute(), DTCalibValidation::compute(), DTTrigGeomUtils::computeSCCoordinates(), DTSegmentSelector::operator()(), operator<<(), DTCombinatorialPatternReco4D::segmentSpecialZed(), DTResidualCalibration::segmentToWireDistance(), and DTSegmentUpdator::update().
|
virtual |
Local direction error in the Chamber frame.
Implements RecSegment.
Definition at line 186 of file DTRecSegment4D.cc.
References theCovMatrix.
Referenced by DTSegment4DQuality::analyze().
|
inlinevirtual |
Local position in Chamber frame.
Implements TrackingRecHit.
Definition at line 61 of file DTRecSegment4D.h.
References thePosition.
Referenced by DTSegment4DQuality::analyze(), DTChamberEfficiencyTask::analyze(), FWDTSegmentProxyBuilder::buildViewType(), DTRecHitSegmentResidual::compute(), DTCalibValidation::compute(), DTTrigGeomUtils::computeSCCoordinates(), DTChamberEfficiencyTask::interpolate(), operator<<(), DTCombinatorialPatternReco4D::segmentSpecialZed(), DTResidualCalibration::segmentToWireDistance(), and DTSegmentUpdator::update().
|
virtual |
Local position error in Chamber frame.
Implements TrackingRecHit.
Definition at line 181 of file DTRecSegment4D.cc.
References theCovMatrix.
Referenced by DTSegment4DQuality::analyze().
|
virtual |
Parameters of the segment, for the track fit. For a 4D segment: (dx/dy,dy/dz,x,y) For a 2D, phi-only segment: (dx/dz,x) For a 2D, Z-only segment: (dy/dz,y)
Implements TrackingRecHit.
Definition at line 103 of file DTRecSegment4D.cc.
References dimension(), phi, query::result, theDirection, thePosition, theProjection, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and Z.
Referenced by ChamberSegmentUtility::getDTRHmap(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties(), and StateSegmentMatcher::StateSegmentMatcher().
|
virtual |
Covariance matrix fo parameters()
Implements TrackingRecHit.
Definition at line 128 of file DTRecSegment4D.cc.
References dimension(), phi, query::result, theCovMatrix, theProjection, and Z.
Referenced by StateSegmentMatcher::StateSegmentMatcher().
|
inline |
The superPhi segment: 0 if no phi projection available.
Definition at line 98 of file DTRecSegment4D.h.
References hasPhi(), and thePhiSeg.
Referenced by TrackDetectorAssociator::addTAMuonSegmentMatch(), SegmentTrackAnalyzer::analyze(), DTLocalTriggerLutTask::analyze(), DTLocalTriggerSynchTask::analyze(), FWDTSegmentProxyBuilder::buildViewType(), DTSegmentUpdator::calculateT0corr(), DTCalibValidation::compute(), DTSegmentUpdator::fit(), DTChamberEfficiencyTask::getBestSegment(), MuonAssociatorByHits::getMatchedIds(), TrackerMuonHitExtractor::getMuonHits(), DTChamberEfficiencyTask::isGoodSegment(), DTSegmentSelector::operator()(), operator<<(), MuonTrackProducer::produce(), recHits(), DTLocalTriggerTask::runSegmentAnalysis(), DTCombinatorialPatternReco4D::segmentSpecialZed(), MuonTrackDT13ChamberResidual::setSegmentResidual(), CosmicMuonTrajectoryBuilder::t0(), and DTSegmentUpdator::update().
|
inlineprivate |
|
virtual |
The projection matrix relates the trajectory state parameters to the segment parameters().
Implements TrackingRecHit.
Definition at line 148 of file DTRecSegment4D.cc.
References dimension(), phi, theProjection, and Z.
|
virtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 254 of file DTRecSegment4D.cc.
References hasPhi(), hasZed(), phiSegment(), and zSegment().
|
virtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 265 of file DTRecSegment4D.cc.
References hasPhi(), hasZed(), phiSegment(), and zSegment().
|
inline |
Set covariance matrix.
Definition at line 114 of file DTRecSegment4D.h.
References theCovMatrix.
Referenced by DTSegmentUpdator::fit().
|
private |
Definition at line 207 of file DTRecSegment4D.cc.
References DTRecSegment2D::parametersError(), theCovMatrix, theZedSeg, and PV3DBase< T, PVType, FrameType >::z().
Referenced by DTRecSegment4D(), and DTSegmentUpdator::fit().
|
inline |
Set direction.
Definition at line 111 of file DTRecSegment4D.h.
References dir, and theDirection.
Referenced by DTSegmentUpdator::fit().
|
inline |
Set position.
Definition at line 108 of file DTRecSegment4D.h.
References pos, and thePosition.
Referenced by DTSegmentUpdator::fit().
|
inline |
The Z segment: 0 if not zed projection available.
Definition at line 103 of file DTRecSegment4D.h.
References hasZed(), and theZedSeg.
Referenced by DTSegment4DQuality::analyze(), FWDTSegmentProxyBuilder::buildViewType(), DTSegmentUpdator::calculateT0corr(), DTCalibValidation::compute(), DTSegmentUpdator::fit(), DTChamberEfficiencyTask::getBestSegment(), MuonAssociatorByHits::getMatchedIds(), DTChamberEfficiencyTask::isGoodSegment(), DTSegmentSelector::operator()(), operator<<(), recHits(), DTCombinatorialPatternReco4D::segmentSpecialZed(), and DTSegmentUpdator::update().
|
inlineprivate |
|
friend |
Definition at line 28 of file DTRecSegment4D.h.
|
private |
Definition at line 142 of file DTRecSegment4D.h.
Referenced by DTRecSegment4D(), localDirectionError(), localPositionError(), parametersError(), setCovMatrix(), and setCovMatrixForZed().
|
private |
Definition at line 147 of file DTRecSegment4D.h.
Referenced by dimension().
|
private |
Definition at line 131 of file DTRecSegment4D.h.
Referenced by DTRecSegment4D(), localDirection(), parameters(), and setDirection().
|
private |
Definition at line 144 of file DTRecSegment4D.h.
Referenced by chi2(), degreesOfFreedom(), DTRecSegment4D(), and phiSegment().
|
private |
Definition at line 130 of file DTRecSegment4D.h.
Referenced by DTRecSegment4D(), localPosition(), parameters(), and setPosition().
|
private |
Definition at line 122 of file DTRecSegment4D.h.
Referenced by hasPhi(), hasZed(), parameters(), parametersError(), and projectionMatrix().
|
private |
Definition at line 145 of file DTRecSegment4D.h.
Referenced by chi2(), degreesOfFreedom(), setCovMatrixForZed(), and zSegment().