CMS 3D CMS Logo

List of all members | Public Member Functions
NonPropagatingDetMeasurements Class Reference

#include <NonPropagatingDetMeasurements.h>

Public Member Functions

std::vector< TrajectoryMeasurementget (const MeasurementDet &det, const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, const MeasurementTrackerEvent &data) const
 

Detailed Description

Definition at line 13 of file NonPropagatingDetMeasurements.h.

Member Function Documentation

◆ get()

std::vector< TrajectoryMeasurement > NonPropagatingDetMeasurements::get ( const MeasurementDet det,
const TrajectoryStateOnSurface stateOnThisDet,
const MeasurementEstimator est,
const MeasurementTrackerEvent data 
) const

Definition at line 8 of file NonPropagatingDetMeasurements.cc.

11  {
12  throw cms::Exception("THIS SHOULD NOT BE CALLED");
13  std::vector<TrajectoryMeasurement> result;
14  /*
15  MeasurementDet::RecHitContainer allHits = det.recHits(stateOnThisDet, data);
16  for (MeasurementDet::RecHitContainer::const_iterator ihit=allHits.begin();
17  ihit != allHits.end(); ihit++) {
18  std::pair<bool,double> diffEst = est.estimate( stateOnThisDet, **ihit);
19  if ( diffEst.first) {
20  result.push_back( TrajectoryMeasurement( stateOnThisDet, *ihit,
21  diffEst.second));
22  }
23  }
24  //GIO// std::cerr << "NonPropagatingDetMeasurements: " << allHits.size() << " => " << result.size() << std::endl;
25  if ( result.empty()) {
26  // create a TrajectoryMeasurement with an invalid RecHit and zero estimate
27  result.push_back( TrajectoryMeasurement( stateOnThisDet,
28  InvalidTransientRecHit::build(&det.geomDet()), 0.F));
29  }
30  else {
31  // sort results according to estimator value
32  if ( result.size() > 1) {
33  sort( result.begin(), result.end(), TrajMeasLessEstim());
34  }
35  }
36  */
37  return result;
38 }

References Exception, and mps_fire::result.

Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), and submitPVValidationJobs.BetterConfigParser::getResultingSection().

Exception
Definition: hltDiff.cc:245
mps_fire.result
result
Definition: mps_fire.py:311