1 #ifndef Tracking_TempMeasurements_H
2 #define Tracking_TempMeasurements_H
20 std::size_t
size()
const {
return hits.size(); }
24 for (std::size_t
i = 0;
i !=
size(); ++
i) {
26 std::push_heap(index, index +
i + 1, [d](
int j,
int k) {
return d[
j] < d[
k]; });
28 std::make_heap(index, index +
size(), [d](
int j,
int k) {
return d[
j] < d[
k]; });
45 #endif // Tracking_TempMeas_H
void add(ConstRecHitPointer &&h, float d)
TrackingRecHit::ConstRecHitPointer ConstRecHitPointer
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
TrackingRecHit::ConstRecHitContainer RecHitContainer
void add(ConstRecHitPointer const &h, float d)
std::vector< ConstRecHitPointer > ConstRecHitContainer
std::vector< float > Distances
void sortIndex(int *index) const
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.