2 #ifndef FASTSIMULATION_TRACKING_FASTTRACKINGHELPER_H 3 #define FASTSIMULATION_TRACKING_FASTTRACKINGHELPER_H 14 throw cms::Exception(
"fastTrackingHelpers::setRecHitCombinationIndex: one of hits in OwnVector is non-fastsim");
25 throw cms::Exception(
"fastTrackingHelpers::getRecHitCombinationIndex")
26 <<
" given object has 0 hits" << std::endl;
31 throw cms::Exception(
"fastTrackingHelpers::setRecHitCombinationIndex")
32 <<
" one of hits in OwnVector is non-fastsim" << std::endl;
40 for (
unsigned int i = 0;
i <
hit->nIds();
i++) {
49 double xx =
hit->localPositionError().xx();
50 double yy =
hit->localPositionError().yy();
51 double xy =
hit->localPositionError().xy();
void setRecHitCombinationIndex(edm::OwnVector< T > &recHits, int32_t icomb)
bool isFast(TrackingRecHit const &hit)
bool hitIsMasked(const FastTrackerRecHit *hit, const std::vector< bool > &hitMasks)
int32_t getRecHitCombinationIndex(const T &object)
double hitLocalError(const TrackingRecHit *hit)