CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
MeasurementDetWithData Class Reference

#include <MeasurementDetWithData.h>

Public Types

typedef
MeasurementDet::RecHitContainer 
RecHitContainer
 
using SimpleHitContainer = MeasurementDet::SimpleHitContainer
 
typedef
MeasurementDet::TempMeasurements 
TempMeasurements
 

Public Member Functions

const GeomDetfastGeomDet () const
 
std::vector
< TrajectoryMeasurement
fastMeasurements (const TrajectoryStateOnSurface &stateOnThisDet, const TrajectoryStateOnSurface &tsos2, const Propagator &prop, const MeasurementEstimator &est) const
 
const GeomDetgeomDet () const
 
bool hasBadComponents (const TrajectoryStateOnSurface &tsos) const
 
bool isActive () const
 
bool isNull () const
 
bool isValid () const
 
const MeasurementDetmdet () const
 
 MeasurementDetWithData ()
 
 MeasurementDetWithData (const MeasurementDet &det, const MeasurementTrackerEvent &data)
 
bool measurements (const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, TempMeasurements &result) const
 
const Surface::PositionTypeposition () const
 
RecHitContainer recHits (const TrajectoryStateOnSurface &tsos) const
 
bool recHits (const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &me, RecHitContainer &result, std::vector< float > &out) const
 
bool recHits (SimpleHitContainer &result, const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &me) const
 
const Surfacesurface () const
 

Private Member Functions

const MeasurementTrackerEventdata () const
 

Private Attributes

const MeasurementTrackerEventdata_
 
const MeasurementDetdet_
 

Detailed Description

Definition at line 6 of file MeasurementDetWithData.h.

Member Typedef Documentation

Definition at line 19 of file MeasurementDetWithData.h.

Definition at line 21 of file MeasurementDetWithData.h.

Definition at line 18 of file MeasurementDetWithData.h.

Constructor & Destructor Documentation

MeasurementDetWithData::MeasurementDetWithData ( )
inline

Definition at line 8 of file MeasurementDetWithData.h.

8 : det_(nullptr), data_(nullptr) {}
const MeasurementDet * det_
const MeasurementTrackerEvent * data_
MeasurementDetWithData::MeasurementDetWithData ( const MeasurementDet det,
const MeasurementTrackerEvent data 
)
inline

Definition at line 10 of file MeasurementDetWithData.h.

10 : det_(&det), data_(&data) {}
const MeasurementDet * det_
const MeasurementTrackerEvent * data_

Member Function Documentation

const MeasurementTrackerEvent& MeasurementDetWithData::data ( ) const
inlineprivate

Definition at line 71 of file MeasurementDetWithData.h.

References data_.

Referenced by fastMeasurements(), hasBadComponents(), isActive(), measurements(), and recHits().

71 { return *data_; }
const MeasurementTrackerEvent * data_
const GeomDet& MeasurementDetWithData::fastGeomDet ( ) const
inline

Definition at line 61 of file MeasurementDetWithData.h.

References MeasurementDet::fastGeomDet(), and mdet().

61 { return mdet().fastGeomDet(); }
const GeomDet & fastGeomDet() const
const MeasurementDet & mdet() const
std::vector<TrajectoryMeasurement> MeasurementDetWithData::fastMeasurements ( const TrajectoryStateOnSurface stateOnThisDet,
const TrajectoryStateOnSurface tsos2,
const Propagator prop,
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 46 of file MeasurementDetWithData.h.

References data(), MeasurementDet::fastMeasurements(), and mdet().

Referenced by OutsideInMuonSeeder::doLayer(), TSGForOIDNN::makeSeedsFromHitDoublets(), TSGForOI::makeSeedsFromHits(), TSGForOIFromL2::makeSeedsFromHits(), TSGForOIDNN::makeSeedsFromHits(), and TSGForRoadSearch::pushTrajectorySeed().

49  {
50  return mdet().fastMeasurements(stateOnThisDet, tsos2, prop, est, data());
51  }
const MeasurementTrackerEvent & data() const
const MeasurementDet & mdet() const
std::vector< TrajectoryMeasurement > fastMeasurements(const TrajectoryStateOnSurface &stateOnThisDet, const TrajectoryStateOnSurface &, const Propagator &, const MeasurementEstimator &est, const MeasurementTrackerEvent &data) const
const GeomDet& MeasurementDetWithData::geomDet ( ) const
inline

Definition at line 62 of file MeasurementDetWithData.h.

References MeasurementDet::geomDet(), and mdet().

62 { return mdet().geomDet(); }
virtual const GeomDet & geomDet() const
const MeasurementDet & mdet() const
bool MeasurementDetWithData::hasBadComponents ( const TrajectoryStateOnSurface tsos) const
inline

Definition at line 68 of file MeasurementDetWithData.h.

References data(), MeasurementDet::hasBadComponents(), and mdet().

68 { return mdet().hasBadComponents(tsos, data()); }
const MeasurementTrackerEvent & data() const
const MeasurementDet & mdet() const
virtual bool hasBadComponents(const TrajectoryStateOnSurface &tsos, const MeasurementTrackerEvent &data) const =0
bool MeasurementDetWithData::isActive ( ) const
inline

Definition at line 67 of file MeasurementDetWithData.h.

References data(), MeasurementDet::isActive(), and mdet().

Referenced by TrajSeedMatcher::layerHasValidHits().

67 { return mdet().isActive(data()); }
const MeasurementTrackerEvent & data() const
const MeasurementDet & mdet() const
virtual bool isActive(const MeasurementTrackerEvent &data) const =0
bool MeasurementDetWithData::isNull ( ) const
inline
bool MeasurementDetWithData::isValid ( void  ) const
inline

Definition at line 12 of file MeasurementDetWithData.h.

References det_.

Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().

12 { return det_ != nullptr; }
const MeasurementDet * det_
const MeasurementDet& MeasurementDetWithData::mdet ( ) const
inline
bool MeasurementDetWithData::measurements ( const TrajectoryStateOnSurface stateOnThisDet,
const MeasurementEstimator est,
TempMeasurements result 
) const
inline

Definition at line 54 of file MeasurementDetWithData.h.

References data(), mdet(), and MeasurementDet::measurements().

Referenced by LayerMeasurements::groupedMeasurements(), SimpleDAFHitCollector::recHits(), and TrajectorySegmentBuilder::redoMeasurements().

56  {
57  return mdet().measurements(stateOnThisDet, est, data(), result);
58  }
tuple result
Definition: mps_fire.py:311
const MeasurementTrackerEvent & data() const
const MeasurementDet & mdet() const
virtual bool measurements(const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, const MeasurementTrackerEvent &data, TempMeasurements &result) const =0
const Surface::PositionType& MeasurementDetWithData::position ( ) const
inline

Definition at line 64 of file MeasurementDetWithData.h.

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

64 { return mdet().geomDet().position(); }
virtual const GeomDet & geomDet() const
const Surface::PositionType & position() const
The position (origin of the R.F.)
Definition: GeomDet.h:43
const MeasurementDet & mdet() const
RecHitContainer MeasurementDetWithData::recHits ( const TrajectoryStateOnSurface tsos) const
inline

Definition at line 23 of file MeasurementDetWithData.h.

References data(), mdet(), and MeasurementDet::recHits().

Referenced by LayerMeasurements::recHits().

23 { return mdet().recHits(tsos, data()); }
const MeasurementTrackerEvent & data() const
const MeasurementDet & mdet() const
virtual RecHitContainer recHits(const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &) const =0
bool MeasurementDetWithData::recHits ( const TrajectoryStateOnSurface stateOnThisDet,
const MeasurementEstimator me,
RecHitContainer result,
std::vector< float > &  out 
) const
inline

Definition at line 27 of file MeasurementDetWithData.h.

References data(), mdet(), and MeasurementDet::recHits().

30  {
31  return mdet().recHits(stateOnThisDet, me, data(), result, out);
32  }
tuple result
Definition: mps_fire.py:311
const MeasurementTrackerEvent & data() const
const MeasurementDet & mdet() const
virtual RecHitContainer recHits(const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &) const =0
bool MeasurementDetWithData::recHits ( SimpleHitContainer result,
const TrajectoryStateOnSurface stateOnThisDet,
const MeasurementEstimator me 
) const
inline

Definition at line 34 of file MeasurementDetWithData.h.

References data(), mdet(), and MeasurementDet::recHits().

36  {
37  return mdet().recHits(result, stateOnThisDet, me, data());
38  }
tuple result
Definition: mps_fire.py:311
const MeasurementTrackerEvent & data() const
const MeasurementDet & mdet() const
virtual RecHitContainer recHits(const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &) const =0
const Surface& MeasurementDetWithData::surface ( ) const
inline

Definition at line 63 of file MeasurementDetWithData.h.

References MeasurementDet::geomDet(), mdet(), and GeomDet::surface().

63 { return mdet().geomDet().surface(); }
virtual const GeomDet & geomDet() const
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
const MeasurementDet & mdet() const

Member Data Documentation

const MeasurementTrackerEvent* MeasurementDetWithData::data_
private

Definition at line 73 of file MeasurementDetWithData.h.

Referenced by data().

const MeasurementDet* MeasurementDetWithData::det_
private

Definition at line 72 of file MeasurementDetWithData.h.

Referenced by isNull(), isValid(), and mdet().