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 Attributes
LayerMeasurements Class Reference

#include <LayerMeasurements.h>

Public Types

using SimpleHitContainer = std::vector< BaseTrackerRecHit * >
 

Public Member Functions

void addInvalidMeas (std::vector< TrajectoryMeasurement > &measVec, const DetGroup &group, const DetLayer &layer) const
 
std::vector
< TrajectoryMeasurementGroup
groupedMeasurements (const DetLayer &layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
 
MeasurementDetWithData idToDet (const DetId &id) const
 
 LayerMeasurements ()
 
 LayerMeasurements (const MeasurementDetSystem &detSystem, const MeasurementTrackerEvent &data)
 
std::vector
< TrajectoryMeasurement
measurements (const DetLayer &layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
 
bool recHits (SimpleHitContainer &result, const DetLayer &layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
 

Private Attributes

const MeasurementTrackerEventtheData
 
const MeasurementDetSystemtheDetSystem
 

Detailed Description

Definition at line 21 of file LayerMeasurements.h.

Member Typedef Documentation

Definition at line 24 of file LayerMeasurements.h.

Constructor & Destructor Documentation

LayerMeasurements::LayerMeasurements ( )
inline

Definition at line 28 of file LayerMeasurements.h.

28 : theDetSystem(0), theData(0) {}
const MeasurementTrackerEvent * theData
const MeasurementDetSystem * theDetSystem
LayerMeasurements::LayerMeasurements ( const MeasurementDetSystem detSystem,
const MeasurementTrackerEvent data 
)
inline

Definition at line 31 of file LayerMeasurements.h.

31  :
32  theDetSystem(&detSystem), theData(&data) {}
const MeasurementTrackerEvent * theData
const MeasurementDetSystem * theDetSystem

Member Function Documentation

void LayerMeasurements::addInvalidMeas ( std::vector< TrajectoryMeasurement > &  measVec,
const DetGroup group,
const DetLayer layer 
) const

Definition at line 182 of file LayerMeasurements.cc.

vector< TrajectoryMeasurementGroup > LayerMeasurements::groupedMeasurements ( const DetLayer layer,
const TrajectoryStateOnSurface startingState,
const Propagator prop,
const MeasurementEstimator est 
) const

Definition at line 138 of file LayerMeasurements.cc.

MeasurementDetWithData LayerMeasurements::idToDet ( const DetId id) const
inline

Definition at line 59 of file LayerMeasurements.h.

References MeasurementDetSystem::idToDet(), theData, and theDetSystem.

59  {
60  return theDetSystem->idToDet(id, *theData);
61  }
virtual MeasurementDetWithData idToDet(const DetId &id, const MeasurementTrackerEvent &data) const =0
const MeasurementTrackerEvent * theData
const MeasurementDetSystem * theDetSystem
vector< TrajectoryMeasurement > LayerMeasurements::measurements ( const DetLayer layer,
const TrajectoryStateOnSurface startingState,
const Propagator prop,
const MeasurementEstimator est 
) const

Definition at line 110 of file LayerMeasurements.cc.

Referenced by CosmicTrackingRegion::hits_().

bool LayerMeasurements::recHits ( SimpleHitContainer result,
const DetLayer layer,
const TrajectoryStateOnSurface startingState,
const Propagator prop,
const MeasurementEstimator est 
) const

Definition at line 92 of file LayerMeasurements.cc.

Member Data Documentation

const MeasurementTrackerEvent* LayerMeasurements::theData
private

Definition at line 66 of file LayerMeasurements.h.

Referenced by idToDet().

const MeasurementDetSystem* LayerMeasurements::theDetSystem
private

Definition at line 65 of file LayerMeasurements.h.

Referenced by idToDet().