1 #ifndef Tracking_TempMeasurements_H
2 #define Tracking_TempMeasurements_H
18 std::size_t
size()
const {
return hits.size();}
22 for (std::size_t
i=0;
i!=
size(); ++
i) {
24 std::push_heap(index,index+
i+1,[d](
int j,
int k){
return d[
j]<d[
k];});
26 std::make_heap(index,index+
size(),[d](
int j,
int k){
return d[
j]<d[
k];});
44 #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)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
std::vector< ConstRecHitPointer > ConstRecHitContainer
std::vector< float > Distances
void sortIndex(int *index) const