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)
void add(ConstRecHitPointer const &h, float d)
std::vector< ConstRecHitPointer > ConstRecHitContainer
std::vector< float > Distances
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
void sortIndex(int *index) const
TransientTrackingRecHit::ConstRecHitContainer RecHitContainer
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer