CMS 3D CMS Logo

CosmicLayerPairs.h
Go to the documentation of this file.
1 #ifndef CosmicLayerPairs_H
2 #define CosmicLayerPairs_H
3 
14 //#include "RecoTracker/TkDetLayers/interface/PixelForwardLayer.h"
15 #include <vector>
16 
17 class TrackerTopology;
18 
20 public:
21  CosmicLayerPairs(std::string geometry):_geometry(geometry){};//:isFirstCall(true){};
22  ~CosmicLayerPairs() override;
23  // explicit PixelSeedLayerPairs(const edm::EventSetup& iSetup);
24 
25 
26 
27  // virtual vector<LayerPair> operator()() const;
28  std::vector<SeedLayerPairs::LayerPair> operator()() override ;
29  void init(const SiStripRecHit2DCollection &collstereo,
30  const SiStripRecHit2DCollection &collrphi,
31  const SiStripMatchedRecHit2DCollection &collmatched,
32  //std::string geometry,
33  const edm::EventSetup& iSetup);
34 
35 private:
36 
37  //bool isFirstCall;
39 
40  std::vector<BarrelDetLayer const*> bl;
41  std::vector<ForwardDetLayer const*> fpos;
42  std::vector<ForwardDetLayer const*> fneg;
49 
50  std::vector<const TrackingRecHit*> selectTECHit(const SiStripRecHit2DCollection &collrphi,
51  const TrackerTopology& ttopo,
52  int side,
53  int disk);
54  std::vector<const TrackingRecHit*> selectTIBHit(const SiStripRecHit2DCollection &collrphi,
55  const TrackerTopology& ttopo,
56  int layer);
57  std::vector<const TrackingRecHit*> selectTOBHit(const SiStripRecHit2DCollection &collrphi,
58  const TrackerTopology& ttopo,
59  int layer);
60  std::vector<const TrackingRecHit*> selectTECHit(const SiStripMatchedRecHit2DCollection &collmatch,
61  const TrackerTopology& ttopo,
62  int side,
63  int disk);
64  std::vector<const TrackingRecHit*> selectTIBHit(const SiStripMatchedRecHit2DCollection &collmatch,
65  const TrackerTopology& ttopo,
66  int layer);
67  std::vector<const TrackingRecHit*> selectTOBHit(const SiStripMatchedRecHit2DCollection &collmatch,
68  const TrackerTopology& ttopo,
69  int layer);
70 };
71 
72 
73 
74 
75 #endif
edm::OwnVector< LayerWithHits > TIBLayerWithHits
edm::OwnVector< LayerWithHits > TOBLayerWithHits
std::vector< SeedLayerPairs::LayerPair > operator()() override
std::vector< BarrelDetLayer const * > bl
CosmicLayerPairs(std::string geometry)
std::vector< const TrackingRecHit * > selectTECHit(const SiStripRecHit2DCollection &collrphi, const TrackerTopology &ttopo, int side, int disk)
edm::OwnVector< LayerWithHits > MTCCLayerWithHits
edm::OwnVector< LayerWithHits > TECMinusLayerWithHits
void init(const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const edm::EventSetup &iSetup)
edm::OwnVector< LayerWithHits > CRACKLayerWithHits
std::vector< const TrackingRecHit * > selectTOBHit(const SiStripRecHit2DCollection &collrphi, const TrackerTopology &ttopo, int layer)
std::vector< ForwardDetLayer const * > fneg
std::vector< ForwardDetLayer const * > fpos
edm::OwnVector< LayerWithHits > TECPlusLayerWithHits
std::vector< const TrackingRecHit * > selectTIBHit(const SiStripRecHit2DCollection &collrphi, const TrackerTopology &ttopo, int layer)
~CosmicLayerPairs() override
std::string _geometry