13 theDetConditions(&conditions)
15 if ( dynamic_cast<const PixelGeomDetUnit*>(gdet) ==
nullptr) {
16 throw MeasurementDetException(
"TkPhase2OTMeasurementDet constructed with a GeomDet which is not a PixelGeomDetUnit");
44 auto oldSize = result.size();
53 auto firstCluster = detSet.
begin();
54 auto lastCluster = detSet.
end();
73 int colMin =
ymin.y();
74 int colMax =
ymax.y();
81 while (firstCluster!=lastCluster) {
82 auto const col = firstCluster->column();
89 if ( rightCluster != firstCluster) {
91 auto leftCluster = rightCluster;
92 while ( --leftCluster >= firstCluster) {
93 if(reject(leftCluster))
continue;
96 auto diffEst = est.
estimate( stateOnThisDet, *hit);
97 if ( !diffEst.first )
break;
98 result.push_back(hit);
99 diffs.push_back(diffEst.second);
102 for ( ; rightCluster != endCluster; rightCluster++) {
103 if(reject(rightCluster))
continue;
106 auto diffEst = est.
estimate( stateOnThisDet, *hit);
107 if ( !diffEst.first )
break;
108 result.push_back(hit);
109 diffs.push_back(diffEst.second);
111 firstCluster = endCluster;
113 return result.size()>oldSize;
127 return std::make_shared<Phase2TrackerRecHit1D>( params.first, params.second,
fastGeomDet(), cluster);
142 result.reserve(detSet.
size());
146 edm::LogError(
"IndexMisMatch")<<
"TkPhase2OTMeasurementDet cannot create hit because of index mismatch.";
const std::vector< bool > & phase2OTClustersToSkip() const
bool isEmpty(const Phase2OTMeasurementDetSet &data) const
TkPhase2OTMeasurementDet(const GeomDet *gdet, Phase2OTMeasurementConditionSet &conditionSet)
const LocalTrajectoryParameters & localParameters() const
const Phase2OTMeasurementDetSet & phase2OTData() const
LocalPoint localPosition() const
const Phase2DetSet & detSet(int i) const
unsigned int firstStrip() const
RecHitContainer recHits(const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &dat) const override
const PixelGeomDetUnit & specificGeomDet() const
LocalError positionError() const
TrackingRecHit::ConstRecHitPointer theMissingHit
const GeomDet & fastGeomDet() const
uint32_t rawId() const
get the raw id
int index() const
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame...
bool hasBadComponents(const TrajectoryStateOnSurface &tsos, const MeasurementTrackerEvent &dat) const override
virtual LocalValues localParameters(const T &, const GeomDetUnit &) const =0
const edm::Handle< edmNew::DetSetVector< Phase2TrackerCluster1D > > & handle() const
void add(ConstRecHitPointer const &h, float d)
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::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
virtual MeasurementPoint measurementPosition(const LocalPoint &) const =0
DetId geographicalId() const
The label of this GeomDet.
const ClusterParameterEstimator< Phase2TrackerCluster1D > * cpe() const
const LocalTrajectoryError & localError() const
bool measurements(const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, const MeasurementTrackerEvent &dat, TempMeasurements &result) const override
std::shared_ptr< TrackingRecHit const > RecHitPointer
TrackingRecHit::ConstRecHitPointer theInactiveHit
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
bool isActive(const MeasurementTrackerEvent &data) const override
Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'...
TrackingRecHit::ConstRecHitContainer RecHitContainer
char data[epos_bytes_allocation]
virtual HitReturnType estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const =0
edm::Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefTo(HandleT const &handle, const_iterator ci) const
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
detset::const_iterator const_iterator
TrackingRecHit::RecHitPointer buildRecHit(const Phase2TrackerCluster1DRef &cluster, const LocalTrajectoryParameters <p) const