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 
7 
8  void
10  const Propagator&,
11  const MeasurementEstimator&,
12  std::vector<DetWithState>&) const {
13  edm::LogError("DetLayers") << "At the moment not a real implementation" ;
14  }
15 
16 void
18  const Propagator&,
19  const MeasurementEstimator&,
20  std::vector<DetGroup> &) const {
21  edm::LogError("DetLayers") << "At the moment not a real implementation" ;
22 }
23 
24 
25 std::vector<GeometricSearchDet::DetWithState>
27  const Propagator& prop,
28  const MeasurementEstimator& est) const {
29  std::vector<DetWithState> result;
30  compatibleDetsV( startingState, prop, est,result);
31  return result;
32 }
33 
34 std::vector<DetGroup>
36  const Propagator& prop,
37  const MeasurementEstimator& est) const {
38  std::vector<DetGroup> result;
39  groupedCompatibleDetsV(startingState, prop, est,result);
40  return result;
41 }
42 
43 
44 
45 
46 void
48  const Propagator& prop,
49  const MeasurementEstimator& est,
50  std::vector<DetWithState> &result) const{
51 
52  // standard implementation of compatibleDets() for class which have
53  // groupedCompatibleDets implemented.
54 
55  std::vector<DetGroup> vectorGroups;
56  groupedCompatibleDetsV(startingState,prop,est,vectorGroups);
57  for(std::vector<DetGroup>::const_iterator itDG=vectorGroups.begin();
58  itDG!=vectorGroups.end();itDG++){
59  for(std::vector<DetGroupElement>::const_iterator itDGE=itDG->begin();
60  itDGE!=itDG->end();itDGE++){
61  result.push_back(DetWithState(itDGE->det(),itDGE->trajectoryState()));
62  }
63  }
64 }
65 
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