CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GeometricSearchDet.cc
Go to the documentation of this file.
3 
5 
6 
7  void
9  const Propagator&,
10  const MeasurementEstimator&,
11  std::vector<DetWithState>&) const {
12  edm::LogError("DetLayers") << "At the moment not a real implementation" ;
13  }
14 
15 void
17  const Propagator&,
18  const MeasurementEstimator&,
19  std::vector<DetGroup> &) const {
20  edm::LogError("DetLayers") << "At the moment not a real implementation" ;
21 }
22 
23 
24 std::vector<GeometricSearchDet::DetWithState>
26  const Propagator& prop,
27  const MeasurementEstimator& est) const {
28  std::vector<DetWithState> result;
29  compatibleDetsV( startingState, prop, est,result);
30  return result;
31 }
32 
33 std::vector<DetGroup>
35  const Propagator& prop,
36  const MeasurementEstimator& est) const {
37  std::vector<DetGroup> result;
38  groupedCompatibleDetsV(startingState, prop, est,result);
39  return result;
40 }
41 
42 
43 
44 
45 void
47  const Propagator& prop,
48  const MeasurementEstimator& est,
49  std::vector<DetWithState> &result) const{
50 
51  // standard implementation of compatibleDets() for class which have
52  // groupedCompatibleDets implemented.
53 
54  std::vector<DetGroup> vectorGroups;
55  groupedCompatibleDetsV(startingState,prop,est,vectorGroups);
56  for(std::vector<DetGroup>::const_iterator itDG=vectorGroups.begin();
57  itDG!=vectorGroups.end();itDG++){
58  for(std::vector<DetGroupElement>::const_iterator itDGE=itDG->begin();
59  itDGE!=itDG->end();itDGE++){
60  result.push_back(DetWithState(itDGE->det(),itDGE->trajectoryState()));
61  }
62  }
63 }
64 
virtual std::vector< DetGroup > groupedCompatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
virtual void groupedCompatibleDetsV(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const
virtual std::vector< DetWithState > compatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
tuple result
Definition: query.py:137
void compatibleDetsV(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetWithState > &result) const
virtual void compatibleDetsV(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetWithState > &result) const
GeometricSearchDet::DetWithState DetWithState