13 const float theRocWidth = 8.1;
14 const float theRocHeight = 8.1;
23 activeThisEvent_(
true), activeThisPeriod_(
true)
25 if ( dynamic_cast<const PixelGeomDetUnit*>(gdet) == 0) {
26 throw MeasurementDetException(
"TkPixelMeasurementDet constructed with a GeomDet which is not a PixelGeomDetUnit");
30 std::vector<TrajectoryMeasurement>
36 std::vector<TrajectoryMeasurement>
result;
46 for (RecHitContainer::const_iterator ihit=allHits.begin();
47 ihit != allHits.end(); ihit++) {
48 std::pair<bool,double> diffEst = est.
estimate( stateOnThisDet, **ihit);
55 if ( result.empty()) {
63 if ( result.size() > 1) {
87 begin = &(
handle_->data().front());
93 edm::LogError(
"IndexMisMatch")<<
"TkPixelMeasurementDet cannot create hit because of index mismatch.";
98 edm::LogError(
"IndexMisMatch")<<
"TkPixelMeasurementDet cannot create hit because of index mismatch. i.e "<<index<<
" >= "<<
skipClusters_->size();
118 if ( (
std::abs(it->x() - lp.
x()) < dx) &&
119 (
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)
bool isActive() const
Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'...
static RecHitPointer build(const GeomDet *geom, Type type=TrackingRecHit::missing, const DetLayer *layer=0)
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
virtual std::vector< TrajectoryMeasurement > fastMeasurements(const TrajectoryStateOnSurface &stateOnThisDet, const TrajectoryStateOnSurface &startingState, const Propagator &, const MeasurementEstimator &) const
std::vector< LocalPoint > badRocPositions_
virtual HitReturnType estimate(const TrajectoryStateOnSurface &ts, const TransientTrackingRecHit &hit) const =0
LocalPoint localPosition() const
TransientTrackingRecHit::ConstRecHitContainer RecHitContainer
const std::vector< bool > * skipClusters_
TkPixelMeasurementDet(const GeomDet *gdet, const PixelClusterParameterEstimator *cpe)
LocalError positionError() const
const GeomDet & fastGeomDet() const
uint32_t rawId() const
get the raw id
virtual LocalValues localParameters(const T &, const GeomDetUnit &) const =0
DetId geographicalId() const
The label of this GeomDet.
const LocalTrajectoryError & localError() const
static RecHitPointer build(const GeomDet *geom, const SiPixelRecHit *rh, const PixelClusterParameterEstimator *cpe, bool computeCoarseLocalPosition=false)
PixelClusterParameterEstimator::LocalValues LocalValues
detset::const_iterator const_iterator
edm::Handle< edmNew::DetSetVector< SiPixelCluster > > handle_
bool hasBadComponents(const TrajectoryStateOnSurface &tsos) const
virtual RecHitContainer recHits(const TrajectoryStateOnSurface &) const
TransientTrackingRecHit::RecHitPointer buildRecHit(const SiPixelClusterRef &cluster, const LocalTrajectoryParameters <p) const
Pixel cluster – collection of neighboring pixels above threshold.
const PixelGeomDetUnit & specificGeomDet() const
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
const PixelClusterParameterEstimator * theCPE