#include <RecoTracker/TkDetLayers/interface/SimpleTECWedge.h>
Public Member Functions | |
virtual const std::vector < const GeomDet * > & | basicComponents () const |
virtual std::pair< bool, TrajectoryStateOnSurface > | compatible (const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const |
tests the geometrical compatibility of the Det with the predicted state. | |
virtual const std::vector < const GeometricSearchDet * > & | components () const |
Returns basic components, if any. | |
virtual void | groupedCompatibleDetsV (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const |
SimpleTECWedge (const GeomDet *theDet) | |
~SimpleTECWedge () | |
Private Attributes | |
const GeomDet * | theDet |
std::vector< const GeomDet * > | theDets |
Definition at line 12 of file SimpleTECWedge.h.
SimpleTECWedge::SimpleTECWedge | ( | const GeomDet * | theDet | ) |
Definition at line 14 of file SimpleTECWedge.cc.
References LogDebug, PV3DBase< T, PVType, FrameType >::perp(), GeometricSearchDet::position(), theDet, theDets, TECWedge::theDiskSector, and PV3DBase< T, PVType, FrameType >::z().
00014 : 00015 theDet(theInputDet) 00016 { 00017 theDets.push_back(theDet); 00018 00019 theDiskSector = ForwardDiskSectorBuilderFromDet()( theDets ); 00020 00021 LogDebug("TkDetLayers") << "DEBUG INFO for CompositeTECWedge" << "\n" 00022 << "TECWedge z, perp,innerRadius,outerR: " 00023 << this->position().z() << " , " 00024 << this->position().perp() << " , " 00025 << theDiskSector->innerRadius() << " , " 00026 << theDiskSector->outerRadius() ; 00027 00028 }
SimpleTECWedge::~SimpleTECWedge | ( | ) |
virtual const std::vector<const GeomDet*>& SimpleTECWedge::basicComponents | ( | ) | const [inline, virtual] |
Implements GeometricSearchDet.
Definition at line 19 of file SimpleTECWedge.h.
References theDets.
00019 {return theDets;}
pair< bool, TrajectoryStateOnSurface > SimpleTECWedge::compatible | ( | const TrajectoryStateOnSurface & | ts, | |
const Propagator & | , | |||
const MeasurementEstimator & | ||||
) | const [virtual] |
tests the geometrical compatibility of the Det with the predicted state.
The FreeTrajectoryState argument is propagated to the Det surface using the Propagator argument. The resulting TrajectoryStateOnSurface is tested for compatibility with the surface bounds. If compatible, a std::pair< true, propagatedState> is returned. If the propagation fails, or if the state is not compatible, a std::pair< false, propagatedState> is returned.
Implements GeometricSearchDet.
Definition at line 42 of file SimpleTECWedge.cc.
References GeomDetCompatibilityChecker::isCompatible(), and theDet.
Referenced by groupedCompatibleDetsV().
00045 { 00046 return GeomDetCompatibilityChecker::isCompatible( theDet,tsos, prop, est); 00047 }
const vector< const GeometricSearchDet * > & SimpleTECWedge::components | ( | ) | const [virtual] |
Returns basic components, if any.
Returns direct components, if any
Implements GeometricSearchDet.
Definition at line 36 of file SimpleTECWedge.cc.
00036 { 00037 throw DetLayerException("SimpleTECWedge doesn't have GeometricSearchDet components"); 00038 }
void SimpleTECWedge::groupedCompatibleDetsV | ( | const TrajectoryStateOnSurface & | startingState, | |
const Propagator & | prop, | |||
const MeasurementEstimator & | est, | |||
std::vector< DetGroup > & | result | |||
) | const [virtual] |
Reimplemented from GeometricSearchDet.
Definition at line 52 of file SimpleTECWedge.cc.
References compatible(), and theDet.
00055 { 00056 pair<bool, TrajectoryStateOnSurface> compat = this->compatible(tsos,prop,est); 00057 00058 if (compat.first) { 00059 result.push_back( DetGroup(0,1) ); 00060 DetGroupElement ge( theDet, compat.second); 00061 result.front().push_back(ge); 00062 } 00063 00064 }
const GeomDet* SimpleTECWedge::theDet [private] |
Definition at line 34 of file SimpleTECWedge.h.
Referenced by compatible(), groupedCompatibleDetsV(), and SimpleTECWedge().
std::vector<const GeomDet*> SimpleTECWedge::theDets [private] |
Definition at line 35 of file SimpleTECWedge.h.
Referenced by basicComponents(), and SimpleTECWedge().