22 for (
auto const &
hp : hits)
theHits.emplace_back(
hp);
26 for (
unsigned int i=0;
i!=
theHits.size(); ++
i) {
30 float lr =
loc.perp();
32 float lz =
gs.position.z();
37 x[
i] =
gs.position.x();
38 y[
i] =
gs.position.y();
53 if ( phiMin < phiMax) {
79 if ( phiMin < phiMax) {
101 hits( phiMin, phiMax, result);
std::vector< HitWithPhi > theHits
std::vector< float > drphi
Range unsafeRange(float phiMin, float phiMax) const
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
std::array< int, 4 > DoubleRange
bool isBarrel(GeomDetEnumerators::SubDetector m)
std::vector< Hit > hits() const
DoubleRange doubleRange(float phiMin, float phiMax) const
std::vector< float > lphi
std::pair< HitIter, HitIter > Range
static void copyResult(const Range &range, std::vector< Hit > &result)
RecHitsSortedInPhi(const std::vector< Hit > &hits, GlobalPoint const &origin, DetLayer const *il)
const BasicVectorType & basicVector() const