CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

MeasurementDet Class Reference

#include <MeasurementDet.h>

Inheritance diagram for MeasurementDet:
GCC11_FINAL< T, TOPO > GCC11_FINAL< T, TOPO > TkPixelMeasurementDet

List of all members.

Public Types

typedef
TransientTrackingRecHit::ConstRecHitContainer 
RecHitContainer
typedef tracking::TempMeasurements TempMeasurements

Public Member Functions

const GeomDetfastGeomDet () const
std::vector
< TrajectoryMeasurement
fastMeasurements (const TrajectoryStateOnSurface &stateOnThisDet, const TrajectoryStateOnSurface &, const Propagator &, const MeasurementEstimator &est) const
virtual const GeomDetgeomDet () const
virtual bool hasBadComponents (const TrajectoryStateOnSurface &tsos) const =0
virtual bool isActive () const =0
 MeasurementDet (const GeomDet *gdet)
virtual bool measurements (const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, TempMeasurements &result) const =0
const Surface::PositionTypeposition () const
virtual RecHitContainer recHits (const TrajectoryStateOnSurface &) const =0
virtual bool recHits (const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &, RecHitContainer &result, std::vector< float > &) const
const Surfacesurface () const

Private Attributes

const GeomDettheGeomDet

Detailed Description

Definition at line 16 of file MeasurementDet.h.


Member Typedef Documentation

Reimplemented in GCC11_FINAL< T, TOPO >.

Definition at line 19 of file MeasurementDet.h.

Definition at line 18 of file MeasurementDet.h.


Constructor & Destructor Documentation

MeasurementDet::MeasurementDet ( const GeomDet gdet) [inline]

Definition at line 21 of file MeasurementDet.h.

: theGeomDet(gdet) {}

Member Function Documentation

const GeomDet& MeasurementDet::fastGeomDet ( ) const [inline]
std::vector<TrajectoryMeasurement> MeasurementDet::fastMeasurements ( const TrajectoryStateOnSurface stateOnThisDet,
const TrajectoryStateOnSurface ,
const Propagator ,
const MeasurementEstimator est 
) const [inline]

obsolete version in case the TrajectoryState on the surface of the Det is already available. The first TrajectoryStateOnSurface is on the surface of this Det, and the second TrajectoryStateOnSurface is not used, as the propagator... The stateOnThisDet should the result of
prop.propagate( startingState, this->surface())

Definition at line 40 of file MeasurementDet.h.

References tracking::TempMeasurements::distances, tracking::TempMeasurements::hits, i, getHLTprescales::index, j, measurements(), query::result, tracking::TempMeasurements::size(), and tracking::TempMeasurements::sortIndex().

Referenced by OutsideInMuonSeeder::doLayer(), and TSGForRoadSearch::pushTrajectorySeed().

                                                           {

    TempMeasurements tmps;
    measurements(stateOnThisDet, est, tmps);
    std::vector<TrajectoryMeasurement> result;
    result.reserve(tmps.size());
    int index[tmps.size()];  tmps.sortIndex(index);
    for (std::size_t i=0; i!=tmps.size(); ++i) {
       auto j=index[i];
       result.emplace_back(stateOnThisDet,std::move(tmps.hits[j]),tmps.distances[j]);
    }
    return result;
  }
virtual const GeomDet& MeasurementDet::geomDet ( ) const [inline, virtual]
virtual bool MeasurementDet::hasBadComponents ( const TrajectoryStateOnSurface tsos) const [pure virtual]
virtual bool MeasurementDet::isActive ( ) const [pure virtual]
virtual bool MeasurementDet::measurements ( const TrajectoryStateOnSurface stateOnThisDet,
const MeasurementEstimator est,
TempMeasurements result 
) const [pure virtual]
const Surface::PositionType& MeasurementDet::position ( void  ) const [inline]

Definition at line 68 of file MeasurementDet.h.

References geomDet(), and GeomDet::position().

Referenced by CkfDebugger::analyseRecHitExistance().

{return geomDet().position();}
virtual bool MeasurementDet::recHits ( const TrajectoryStateOnSurface stateOnThisDet,
const MeasurementEstimator ,
RecHitContainer result,
std::vector< float > &   
) const [inline, virtual]

Reimplemented in GCC11_FINAL< T, TOPO >.

Definition at line 27 of file MeasurementDet.h.

References recHits().

                                                                            {
    result = recHits(stateOnThisDet);
    return !result.empty();
  }
virtual RecHitContainer MeasurementDet::recHits ( const TrajectoryStateOnSurface ) const [pure virtual]
const Surface& MeasurementDet::surface ( ) const [inline]

Member Data Documentation

Definition at line 75 of file MeasurementDet.h.

Referenced by fastGeomDet(), and geomDet().