18 : trackerGeometry(&
geom), theOuterLayer(
outer), theInnerLayer(
inner) {}
42 bool seedfromoverlaps =
false;
43 bool InTheBarrel =
false;
44 bool InTheForward =
false;
53 seedfromoverlaps = (
abs(radius1 - radius2) < 0.1) ?
true :
false;
56 vector<OrderedHitPair> allthepairs;
63 float z_diff = ih->globalPosition().z() - oh->globalPosition().z();
64 float inny = ih->globalPosition().y();
65 float outy = oh->globalPosition().y();
66 float innx = ih->globalPosition().x();
67 float outx = oh->globalPosition().x();
69 float dxdy =
abs((outx - innx) / (outy - inny));
70 float DeltaR = oh->globalPosition().perp() - ih->globalPosition().perp();
76 && (dxdy < 2) && (inny * outy > 0) && (
abs(
DeltaR) > 0)) {
78 if (seedfromoverlaps) {
84 (
abs(ih->globalPosition().phi() - oh->globalPosition().phi()) < 0.05) && (dxdy < 2))
89 if (InTheForward && (
abs(z_diff) > 1.)) {
SeedingHitSet::ConstRecHitPointer InnerRecHit
const LayerWithHits * theOuterLayer
const DetLayer * layer() const
Abs< T >::type abs(const T &t)
void hitPairs(const TrackingRegion &ar, OrderedHitPairs &ap)
const LayerWithHits * theInnerLayer
~CosmicHitPairGeneratorFromLayerPair()
const std::vector< const TrackingRecHit * > & recHits() const
return the recHits of the Layer
CosmicHitPairGeneratorFromLayerPair(const LayerWithHits *inner, const LayerWithHits *outer, const TrackerGeometry &)
SeedingHitSet::ConstRecHitPointer OuterRecHit