21 theDetConditions(&conditions)
23 if ( dynamic_cast<const PixelGeomDetUnit*>(gdet) == 0) {
24 throw MeasurementDetException(
"TkPhase2OTMeasurementDet constructed with a GeomDet which is not a PixelGeomDetUnit");
38 auto oldSize = result.
size();
40 for (
auto &&
hit : allHits) {
41 std::pair<bool,double> diffEst = est.
estimate( stateOnThisDet, *
hit);
46 if (result.
size()>oldSize)
return true;
63 return std::make_shared<Phase2TrackerRecHit1D>( params.first, params.second,
fastGeomDet(), cluster);
72 if (
isActive(data) ==
false)
return result;
78 result.reserve(detSet.
size());
82 edm::LogError(
"IndexMisMatch")<<
"TkPhase2OTMeasurementDet cannot create hit because of index mismatch.";
const std::vector< bool > & phase2OTClustersToSkip() const
bool isEmpty(const Phase2OTMeasurementDetSet &data) 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
TkPhase2OTMeasurementDet(const GeomDet *gdet, Phase2OTMeasurementConditionSet &conditionSet)
const LocalTrajectoryParameters & localParameters() const
const Phase2OTMeasurementDetSet & phase2OTData() const
const Phase2DetSet & detSet(int i) const
const PixelGeomDetUnit & specificGeomDet() 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...
virtual LocalValues localParameters(const T &, const GeomDetUnit &) const =0
const edm::Handle< edmNew::DetSetVector< Phase2TrackerCluster1D > > & handle() const
void add(ConstRecHitPointer const &h, float d)
bool hasBadComponents(const TrajectoryStateOnSurface &tsos, const MeasurementTrackerEvent &dat) const
DetId geographicalId() const
The label of this GeomDet.
const ClusterParameterEstimator< Phase2TrackerCluster1D > * cpe() const
virtual HitReturnType estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const =0
std::shared_ptr< TrackingRecHit const > RecHitPointer
TrackingRecHit::ConstRecHitPointer theInactiveHit
virtual RecHitContainer recHits(const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &dat) const
TrackingRecHit::ConstRecHitContainer RecHitContainer
char data[epos_bytes_allocation]
virtual bool measurements(const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, const MeasurementTrackerEvent &dat, TempMeasurements &result) const
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)
bool isActive(const MeasurementTrackerEvent &data) const
Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'...
detset::const_iterator const_iterator
TrackingRecHit::RecHitPointer buildRecHit(const Phase2TrackerCluster1DRef &cluster, const LocalTrajectoryParameters <p) const