Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-09-22 02:39:54

0001 #ifndef CosmicHitTripletGeneratorFromLayerTriplet_h
0002 #define CosmicHitTripletGeneratorFromLayerTriplet_h
0003 
0004 #include "RecoPixelVertexing/PixelTriplets/interface/OrderedHitTriplets.h"
0005 #include "RecoTracker/TkHitPairs/interface/LayerWithHits.h"
0006 #include "FWCore/Framework/interface/EventSetup.h"
0007 #include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
0008 #include "TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHitBuilder.h"
0009 #include "FWCore/Framework/interface/ESHandle.h"
0010 #include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
0011 
0012 class DetLayer;
0013 class TrackingRegion;
0014 class LayerWithHits;
0015 
0016 class CosmicHitTripletGeneratorFromLayerTriplet {
0017 public:
0018   CosmicHitTripletGeneratorFromLayerTriplet(const LayerWithHits* inner,
0019                                             const LayerWithHits* middle,
0020                                             const LayerWithHits* outer,
0021                                             const TrackerGeometry& trackGeom);
0022   ~CosmicHitTripletGeneratorFromLayerTriplet() {}
0023 
0024   void hitTriplets(const TrackingRegion& ar, OrderedHitTriplets& ap);
0025 
0026   const LayerWithHits* innerLayer() const { return theInnerLayer; }
0027   const LayerWithHits* middleLayer() const { return theMiddleLayer; }
0028   const LayerWithHits* outerLayer() const { return theOuterLayer; }
0029 
0030 private:
0031   const TrackerGeometry* trackerGeometry;
0032   const LayerWithHits* theOuterLayer;
0033   const LayerWithHits* theMiddleLayer;
0034   const LayerWithHits* theInnerLayer;
0035   const DetLayer* innerlay;
0036   const DetLayer* outerlay;
0037   const DetLayer* middlelay;
0038 };
0039 
0040 #endif