13 const float theRocWidth = 8.1;
14 const float theRocHeight = 8.1;
20 theDetConditions(&conditions)
22 if ( dynamic_cast<const PixelGeomDetUnit*>(gdet) == 0) {
23 throw MeasurementDetException(
"TkPixelMeasurementDet constructed with a GeomDet which is not a PixelGeomDetUnit");
36 auto oldSize = result.
size();
38 for (
auto &&
hit : allHits) {
39 std::pair<bool,double> diffEst = est.
estimate( stateOnThisDet, *
hit);
44 if (result.
size()>oldSize)
return true;
61 return std::make_shared<SiPixelRecHit>( std::get<0>(params), std::get<1>(params), std::get<2>(params),
fastGeomDet(), cluster);
69 if (
isActive(data) ==
false)
return result;
75 result.reserve(detSet.
size());
79 edm::LogError(
"IndexMisMatch")<<
"TkPixelMeasurementDet cannot create hit because of index mismatch.";
104 if ( (
std::abs(it->x() - lp.
x()) < dx) &&
105 (
std::abs(it->y() - lp.
y()) < dy) )
return true;
edm::Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefTo(const HandleT &iHandle, typename HandleT::element_type::value_type::const_iterator itIter)
virtual bool measurements(const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, const MeasurementTrackerEvent &dat, TempMeasurements &result) const
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
const LocalTrajectoryParameters & localParameters() const
std::vector< LocalPoint > badRocPositions_
const PixelClusterParameterEstimator * cpe() const
LocalPoint localPosition() const
bool hasBadComponents(const TrajectoryStateOnSurface &tsos, const MeasurementTrackerEvent &dat) const
const edm::Handle< edmNew::DetSetVector< SiPixelCluster > > & handle() const
TrackingRecHit::RecHitPointer buildRecHit(const SiPixelClusterRef &cluster, const LocalTrajectoryParameters <p) const
const std::vector< bool > & pixelClustersToSkip() const
LocalError positionError() const
TrackingRecHit::ConstRecHitPointer theMissingHit
virtual ReturnType getParameters(const SiPixelCluster &cl, const GeomDetUnit &det) const =0
const GeomDet & fastGeomDet() const
uint32_t rawId() const
get the raw id
const PxMeasurementDetSet & pixelData() const
void add(ConstRecHitPointer const &h, float d)
TkPixelMeasurementDet(const GeomDet *gdet, PxMeasurementConditionSet &conditionSet)
data_type const * data(size_t cell) const
Abs< T >::type abs(const T &t)
DetId geographicalId() const
The label of this GeomDet.
const LocalTrajectoryError & localError() const
virtual HitReturnType estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const =0
bool isActive(const MeasurementTrackerEvent &data) const
Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'...
std::shared_ptr< TrackingRecHit const > RecHitPointer
detset::const_iterator const_iterator
virtual RecHitContainer recHits(const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &dat) const
TrackingRecHit::ConstRecHitPointer theInactiveHit
TrackingRecHit::ConstRecHitContainer RecHitContainer
Pixel cluster – collection of neighboring pixels above threshold.
char data[epos_bytes_allocation]
const PixelGeomDetUnit & specificGeomDet() const
const PixelDetSet & detSet(int i) const
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
bool isEmpty(const PxMeasurementDetSet &data) const