File indexing completed on 2024-04-06 12:28:49
0001 #ifndef CosmicHitPairGeneratorFromLayerPair_h
0002 #define CosmicHitPairGeneratorFromLayerPair_h
0003
0004 #include "RecoTracker/TkHitPairs/interface/OrderedHitPairs.h"
0005 #include "RecoTracker/TkHitPairs/interface/LayerWithHits.h"
0006 #include "FWCore/Framework/interface/ESHandle.h"
0007 #include "FWCore/Framework/interface/EventSetup.h"
0008 #include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
0009 #include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
0010 #include "TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHitBuilder.h"
0011 class DetLayer;
0012 class TrackingRegion;
0013 class LayerWithHits;
0014
0015 class CosmicHitPairGeneratorFromLayerPair {
0016 public:
0017 CosmicHitPairGeneratorFromLayerPair(const LayerWithHits* inner, const LayerWithHits* outer, const TrackerGeometry&);
0018 ~CosmicHitPairGeneratorFromLayerPair();
0019
0020
0021
0022
0023 void hitPairs(const TrackingRegion& ar, OrderedHitPairs& ap);
0024
0025 const LayerWithHits* innerLayer() const { return theInnerLayer; }
0026 const LayerWithHits* outerLayer() const { return theOuterLayer; }
0027
0028 private:
0029 const TrackerGeometry* trackerGeometry;
0030 const LayerWithHits* theOuterLayer;
0031 const LayerWithHits* theInnerLayer;
0032 const DetLayer* innerlay;
0033 const DetLayer* outerlay;
0034 };
0035
0036 #endif