CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SimpleTECWedge.cc
Go to the documentation of this file.
2 
4 
8 
9 
10 using namespace std;
11 
13 
15  theDet(theInputDet)
16 {
17  theDets.push_back(theDet);
18 
20 
21  LogDebug("TkDetLayers") << "DEBUG INFO for CompositeTECWedge" << "\n"
22  << "TECWedge z, perp,innerRadius,outerR: "
23  << this->position().z() << " , "
24  << this->position().perp() << " , "
25  << theDiskSector->innerRadius() << " , "
26  << theDiskSector->outerRadius() ;
27 
28 }
29 
31 
32 }
33 
34 
35 const vector<const GeometricSearchDet*>&
37  throw DetLayerException("SimpleTECWedge doesn't have GeometricSearchDet components");
38 }
39 
40 
41 pair<bool, TrajectoryStateOnSurface>
43  const Propagator& prop,
44  const MeasurementEstimator& est) const
45 {
46  return GeomDetCompatibilityChecker::isCompatible( theDet,tsos, prop, est);
47 }
48 
49 
50 
51 void
53  const Propagator& prop,
54  const MeasurementEstimator& est,
55  std::vector<DetGroup> & result) const{
56  pair<bool, TrajectoryStateOnSurface> compat = this->compatible(tsos,prop,est);
57 
58  if (compat.first) {
59  result.push_back( DetGroup(0,1) );
60  DetGroupElement ge( theDet, compat.second);
61  result.front().push_back(ge);
62  }
63 
64 }
65 
66 
67 
#define LogDebug(id)
Common base class.
SimpleTECWedge(const GeomDet *theDet)
T perp() const
Definition: PV3DBase.h:66
std::vector< const GeomDet * > theDets
static std::pair< bool, TrajectoryStateOnSurface > isCompatible(const GeomDet *theDet, const TrajectoryStateOnSurface &ts, const Propagator &prop, const MeasurementEstimator &est)
ReferenceCountingPointer< BoundDiskSector > theDiskSector
Definition: TECWedge.h:24
virtual void groupedCompatibleDetsV(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const
virtual const std::vector< const GeometricSearchDet * > & components() const
Returns basic components, if any.
virtual std::pair< bool, TrajectoryStateOnSurface > compatible(const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const
T z() const
Definition: PV3DBase.h:58
tuple result
Definition: query.py:137
virtual const Surface::PositionType & position() const
Returns position of the surface.
std::pair< const GeomDet *, TrajectoryStateOnSurface > DetWithState
std::pair< const GeomDet *, TrajectoryStateOnSurface > DetWithState
const GeomDet * theDet