CMS 3D CMS Logo

SimpleTECWedge.cc
Go to the documentation of this file.
1 #include "SimpleTECWedge.h"
5 
6 
7 using namespace std;
8 
10 
12  theDet(theInputDet)
13 {
14  theDets.push_back(theDet);
15 
17 
18  LogDebug("TkDetLayers") << "DEBUG INFO for CompositeTECWedge" << "\n"
19  << "TECWedge z, perp,innerRadius,outerR: "
20  << this->position().z() << " , "
21  << this->position().perp() << " , "
22  << theDiskSector->innerRadius() << " , "
23  << theDiskSector->outerRadius() ;
24 
25 }
26 
28 
29 }
30 
31 
32 const vector<const GeometricSearchDet*>&
34  throw DetLayerException("SimpleTECWedge doesn't have GeometricSearchDet components");
35 }
36 
37 
38 pair<bool, TrajectoryStateOnSurface>
40  const Propagator& prop,
41  const MeasurementEstimator& est) const
42 {
43  return GeomDetCompatibilityChecker::isCompatible( theDet,tsos, prop, est);
44 }
45 
46 
47 
48 void
50  const Propagator& prop,
51  const MeasurementEstimator& est,
52  std::vector<DetGroup> & result) const{
53  pair<bool, TrajectoryStateOnSurface> compat = this->compatible(tsos,prop,est);
54 
55  if (compat.first) {
56  result.push_back( DetGroup(0,1) );
57  DetGroupElement ge( theDet, compat.second);
58  result.front().push_back(ge);
59  }
60 
61 }
62 
63 
64 
#define LogDebug(id)
virtual void groupedCompatibleDetsV(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const __attribute__((hot))
Common base class.
T perp() const
Definition: PV3DBase.h:72
std::vector< const GeomDet * > theDets
ReferenceCountingPointer< BoundDiskSector > theDiskSector
Definition: TECWedge.h:28
~SimpleTECWedge() __attribute__((cold))
virtual const std::vector< const GeometricSearchDet * > & components() const __attribute__((cold))
Returns basic components, if any.
static std::pair< bool, TrajectoryStateOnSurface > isCompatible(const GeomDet *theDet, const TrajectoryStateOnSurface &ts, const Propagator &prop, const MeasurementEstimator &est)
T z() const
Definition: PV3DBase.h:64
GeometricSearchDet::DetWithState DetWithState
virtual std::pair< bool, TrajectoryStateOnSurface > compatible(const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const __attribute__((hot))
virtual const Surface::PositionType & position() const
Returns position of the surface.
std::pair< const GeomDet *, TrajectoryStateOnSurface > DetWithState
SimpleTECWedge(const GeomDet *theDet) __attribute__((cold))
const GeomDet * theDet