#include <CSCSegment.h>
Public Member Functions | |
double | chi2 () const |
Chi2 of the segment fit. More... | |
CSCSegment * | clone () const |
CSCDetId | cscDetId () const |
CSCSegment () | |
Default constructor. More... | |
CSCSegment (std::vector< const CSCRecHit2D * > proto_segment, LocalPoint origin, LocalVector direction, AlgebraicSymMatrix errors, double chi2) | |
Constructor. More... | |
virtual int | degreesOfFreedom () const |
Degrees of freedom of the segment fit. More... | |
virtual int | dimension () const |
Dimension (in parameter space) More... | |
const std::vector< CSCSegment > & | duplicateSegments () const |
bool | isME11a_duplicate () const |
LocalVector | localDirection () const |
Local direction. More... | |
LocalError | localDirectionError () const |
Error on the local direction. More... | |
LocalPoint | localPosition () const |
LocalError | localPositionError () const |
int | nRecHits () const |
AlgebraicVector | parameters () const |
Parameters of the segment, for the track fit in the order (dx/dz, dy/dz, x, y ) More... | |
AlgebraicSymMatrix | parametersError () const |
Covariance matrix of parameters() More... | |
void | print () const |
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 | setDuplicateSegments (std::vector< CSCSegment * > &duplicates) |
bool | sharesRecHits (const CSCSegment &anotherSegment, CSCRecHit2D::SharedInputType sharesInput) const |
bool | sharesRecHits (const CSCSegment &anotherSegment) const |
const std::vector< CSCRecHit2D > & | specificRecHits () const |
bool | testSharesAllInSpecificRecHits (const std::vector< CSCRecHit2D > &specificRecHits_1, const std::vector< CSCRecHit2D > &specificRecHits_2, CSCRecHit2D::SharedInputType) const |
virtual | ~CSCSegment () |
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 |
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 float | weight () const |
virtual | ~TrackingRecHit () |
Private Attributes | |
bool | aME11a_duplicate |
double | theChi2 |
AlgebraicSymMatrix | theCovMatrix |
std::vector< CSCRecHit2D > | theCSCRecHits |
std::vector< CSCSegment > | theDuplicateSegments |
LocalVector | theLocalDirection |
LocalPoint | theOrigin |
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 } |
Protected Member Functions inherited from TrackingRecHit | |
void | setId (id_type iid) |
void | setType (Type ttype) |
Describes a reconstructed track segment in the 6 layers of a CSC chamber. This is 4-dimensional since it has an origin (x,y) and a direction (x,y) in the local coordinate system of the chamber.
Definition at line 22 of file CSCSegment.h.
|
inline |
CSCSegment::CSCSegment | ( | std::vector< const CSCRecHit2D * > | proto_segment, |
LocalPoint | origin, | ||
LocalVector | direction, | ||
AlgebraicSymMatrix | errors, | ||
double | chi2 | ||
) |
Constructor.
Definition at line 19 of file CSCSegment.cc.
References i, and theCSCRecHits.
|
virtual |
|
inlinevirtual |
Chi2 of the segment fit.
Implements RecSegment.
Definition at line 58 of file CSCSegment.h.
References theChi2.
Referenced by CSCSegAlgoST::buildSegments(), operator<<(), CSCSegAlgoST::prune_bad_hits(), and CSCSegAlgoHitPruning::pruneBadHits().
|
inlinevirtual |
|
inline |
Definition at line 70 of file CSCSegment.h.
References TrackingRecHit::geographicalId().
Referenced by FWCSCSegmentProxyBuilder::build().
|
inlinevirtual |
Degrees of freedom of the segment fit.
Implements RecSegment.
Definition at line 62 of file CSCSegment.h.
References nRecHits().
Referenced by operator<<().
|
inlinevirtual |
|
inline |
Definition at line 76 of file CSCSegment.h.
References theDuplicateSegments.
Referenced by operator<<().
|
inline |
Definition at line 74 of file CSCSegment.h.
References theDuplicateSegments.
|
inlinevirtual |
Local direction.
Implements RecSegment.
Definition at line 42 of file CSCSegment.h.
References theLocalDirection.
Referenced by FWCSCSegmentProxyBuilder::build(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), operator<<(), and CSCSegmentValidation::plotResolution().
|
virtual |
Error on the local direction.
Implements RecSegment.
Definition at line 52 of file CSCSegment.cc.
References theCovMatrix.
Referenced by operator<<(), and CSCSegmentValidation::plotResolution().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 39 of file CSCSegment.h.
References theOrigin.
Referenced by FWCSCSegmentProxyBuilder::build(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), operator<<(), and CSCSegmentValidation::plotResolution().
|
virtual |
Implements TrackingRecHit.
Definition at line 48 of file CSCSegment.cc.
References theCovMatrix.
Referenced by operator<<(), and CSCSegmentValidation::plotResolution().
|
inline |
Definition at line 68 of file CSCSegment.h.
References theCSCRecHits.
Referenced by CSCSegAlgoST::buildSegments(), CSCSegAlgoDF::buildSegments(), degreesOfFreedom(), CSCSegAlgoST::prune_bad_hits(), and CSCSegAlgoHitPruning::pruneBadHits().
|
virtual |
Parameters of the segment, for the track fit in the order (dx/dz, dy/dz, x, y )
Implements TrackingRecHit.
Definition at line 57 of file CSCSegment.cc.
References query::result, theLocalDirection, theOrigin, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by ChamberSegmentUtility::getCSCRHmap(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties(), and StateSegmentMatcher::StateSegmentMatcher().
|
inlinevirtual |
Covariance matrix of parameters()
Implements TrackingRecHit.
Definition at line 49 of file CSCSegment.h.
References theCovMatrix.
Referenced by StateSegmentMatcher::StateSegmentMatcher().
void CSCSegment::print | ( | void | ) | const |
|
virtual |
The projection matrix relates the trajectory state parameters to the segment parameters().
Implements TrackingRecHit.
Definition at line 72 of file CSCSegment.cc.
|
virtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 31 of file CSCSegment.cc.
References theCSCRecHits.
Referenced by MuonAssociatorByHits::getMatchedIds(), TrackerMuonHitExtractor::getMuonHits(), and MuonTrackProducer::produce().
|
virtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 39 of file CSCSegment.cc.
References theCSCRecHits.
void CSCSegment::setDuplicateSegments | ( | std::vector< CSCSegment * > & | duplicates | ) |
Definition at line 85 of file CSCSegment.cc.
References i, and theDuplicateSegments.
bool CSCSegment::sharesRecHits | ( | const CSCSegment & | anotherSegment, |
CSCRecHit2D::SharedInputType | sharesInput | ||
) | const |
Definition at line 132 of file CSCSegment.cc.
References TrackingRecHit::sharesInput(), specificRecHits(), testSharesAllInSpecificRecHits(), and theCSCRecHits.
bool CSCSegment::sharesRecHits | ( | const CSCSegment & | anotherSegment | ) | const |
Definition at line 137 of file CSCSegment.cc.
References CSCRecHit2D::someStrips, CSCRecHit2D::someWires, specificRecHits(), testSharesAllInSpecificRecHits(), and theCSCRecHits.
|
inline |
Definition at line 66 of file CSCSegment.h.
References theCSCRecHits.
Referenced by operator<<(), and sharesRecHits().
bool CSCSegment::testSharesAllInSpecificRecHits | ( | const std::vector< CSCRecHit2D > & | specificRecHits_1, |
const std::vector< CSCRecHit2D > & | specificRecHits_2, | ||
CSCRecHit2D::SharedInputType | sharesInput | ||
) | const |
Definition at line 94 of file CSCSegment.cc.
Referenced by sharesRecHits().
|
private |
Definition at line 97 of file CSCSegment.h.
|
private |
Definition at line 96 of file CSCSegment.h.
Referenced by chi2().
|
private |
Definition at line 95 of file CSCSegment.h.
Referenced by localDirectionError(), localPositionError(), and parametersError().
|
private |
Definition at line 92 of file CSCSegment.h.
Referenced by CSCSegment(), nRecHits(), recHits(), sharesRecHits(), and specificRecHits().
|
private |
Definition at line 98 of file CSCSegment.h.
Referenced by duplicateSegments(), isME11a_duplicate(), and setDuplicateSegments().
|
private |
Definition at line 94 of file CSCSegment.h.
Referenced by localDirection(), and parameters().
|
private |
Definition at line 93 of file CSCSegment.h.
Referenced by localPosition(), and parameters().