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  // virtual vector<LayerPair> operator()() const;
26  std::vector<SeedLayerPairs::LayerPair> operator()() override;
27  void init(const SiStripRecHit2DCollection &collstereo,
28  const SiStripRecHit2DCollection &collrphi,
29  const SiStripMatchedRecHit2DCollection &collmatched,
30  //std::string geometry,
31  const edm::EventSetup &iSetup);
32 
33 private:
34  //bool isFirstCall;
36 
37  std::vector<BarrelDetLayer const *> bl;
38  std::vector<ForwardDetLayer const *> fpos;
39  std::vector<ForwardDetLayer const *> fneg;
46 
47  std::vector<const TrackingRecHit *> selectTECHit(const SiStripRecHit2DCollection &collrphi,
48  const TrackerTopology &ttopo,
49  int side,
50  int disk);
51  std::vector<const TrackingRecHit *> selectTIBHit(const SiStripRecHit2DCollection &collrphi,
52  const TrackerTopology &ttopo,
53  int layer);
54  std::vector<const TrackingRecHit *> selectTOBHit(const SiStripRecHit2DCollection &collrphi,
55  const TrackerTopology &ttopo,
56  int layer);
57  std::vector<const TrackingRecHit *> selectTECHit(const SiStripMatchedRecHit2DCollection &collmatch,
58  const TrackerTopology &ttopo,
59  int side,
60  int disk);
61  std::vector<const TrackingRecHit *> selectTIBHit(const SiStripMatchedRecHit2DCollection &collmatch,
62  const TrackerTopology &ttopo,
63  int layer);
64  std::vector<const TrackingRecHit *> selectTOBHit(const SiStripMatchedRecHit2DCollection &collmatch,
65  const TrackerTopology &ttopo,
66  int layer);
67 };
68 
69 #endif
std::vector< ForwardDetLayer const * > fneg
std::vector< ForwardDetLayer const * > fpos
edm::OwnVector< LayerWithHits > TIBLayerWithHits
edm::OwnVector< LayerWithHits > TOBLayerWithHits
std::vector< SeedLayerPairs::LayerPair > operator()() override
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)
edm::OwnVector< LayerWithHits > TECPlusLayerWithHits
std::vector< const TrackingRecHit * > selectTIBHit(const SiStripRecHit2DCollection &collrphi, const TrackerTopology &ttopo, int layer)
~CosmicLayerPairs() override
std::string _geometry
std::vector< BarrelDetLayer const * > bl