CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 21 of file MeasurementDetWithData.h.

Definition at line 23 of file MeasurementDetWithData.h.

Definition at line 20 of file MeasurementDetWithData.h.

Constructor & Destructor Documentation

MeasurementDetWithData::MeasurementDetWithData ( )
inline

Definition at line 8 of file MeasurementDetWithData.h.

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

Definition at line 11 of file MeasurementDetWithData.h.

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

Member Function Documentation

const MeasurementTrackerEvent& MeasurementDetWithData::data ( ) const
inlineprivate

Definition at line 73 of file MeasurementDetWithData.h.

References data_.

Referenced by cuy.FindIssue::__init__(), fastMeasurements(), hasBadComponents(), isActive(), measurements(), and recHits().

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

Definition at line 63 of file MeasurementDetWithData.h.

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

63 { 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 47 of file MeasurementDetWithData.h.

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

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

50  {
51  return mdet().fastMeasurements(stateOnThisDet, tsos2, prop, est, data());
52  }
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 64 of file MeasurementDetWithData.h.

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

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

Definition at line 70 of file MeasurementDetWithData.h.

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

70 { 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 69 of file MeasurementDetWithData.h.

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

69 { 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

Definition at line 15 of file MeasurementDetWithData.h.

References det_.

Referenced by OutsideInMuonSeeder::doLayer(), LayerMeasurements::groupedMeasurements(), and TSGForOI::makeSeedsFromHits().

15 { return det_ == 0; }
const MeasurementDet * det_
bool MeasurementDetWithData::isValid ( void  ) const
inline

Definition at line 14 of file MeasurementDetWithData.h.

References det_.

Referenced by core.AutoHandle.AutoHandle::ReallyLoad().

14 { return det_ != 0; }
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 55 of file MeasurementDetWithData.h.

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

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

57  {
58  return mdet().measurements(stateOnThisDet, est, data(), result);
59  }
tuple result
Definition: mps_fire.py:83
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 66 of file MeasurementDetWithData.h.

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

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

Definition at line 25 of file MeasurementDetWithData.h.

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

Referenced by LayerMeasurements::recHits().

25  {
26  return mdet().recHits(tsos, data());
27  }
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 31 of file MeasurementDetWithData.h.

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

31  {
32  return mdet().recHits(stateOnThisDet, me, data(), result, out);
33  }
tuple result
Definition: mps_fire.py:83
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 35 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:83
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 65 of file MeasurementDetWithData.h.

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

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

Member Data Documentation

const MeasurementTrackerEvent* MeasurementDetWithData::data_
private

Definition at line 75 of file MeasurementDetWithData.h.

Referenced by data().

const MeasurementDet* MeasurementDetWithData::det_
private

Definition at line 74 of file MeasurementDetWithData.h.

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