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;
19 
21 public:
23  const SiStripRecHit2DCollection &collrphi,
24  const SiStripMatchedRecHit2DCollection &collmatched,
26  const TrackerTopology &ttopo)
27  : _geometry(geometry) {
28  init(collrphi, collmatched, track, ttopo);
29  };
30  ~CosmicLayerPairs() override;
31 
32  std::vector<SeedLayerPairs::LayerPair> operator()() override;
33 
34 private:
35  void init(const SiStripRecHit2DCollection &collrphi,
36  const SiStripMatchedRecHit2DCollection &collmatched,
37  const GeometricSearchTracker &,
38  const TrackerTopology &);
39 
41 
42  std::vector<BarrelDetLayer const *> bl;
43  std::vector<ForwardDetLayer const *> fpos;
44  std::vector<ForwardDetLayer const *> fneg;
51 
52  std::vector<const TrackingRecHit *> selectTECHit(const SiStripRecHit2DCollection &collrphi,
53  const TrackerTopology &ttopo,
54  int side,
55  int disk);
56  std::vector<const TrackingRecHit *> selectTIBHit(const SiStripRecHit2DCollection &collrphi,
57  const TrackerTopology &ttopo,
58  int layer);
59  std::vector<const TrackingRecHit *> selectTOBHit(const SiStripRecHit2DCollection &collrphi,
60  const TrackerTopology &ttopo,
61  int layer);
62  std::vector<const TrackingRecHit *> selectTECHit(const SiStripMatchedRecHit2DCollection &collmatch,
63  const TrackerTopology &ttopo,
64  int side,
65  int disk);
66  std::vector<const TrackingRecHit *> selectTIBHit(const SiStripMatchedRecHit2DCollection &collmatch,
67  const TrackerTopology &ttopo,
68  int layer);
69  std::vector<const TrackingRecHit *> selectTOBHit(const SiStripMatchedRecHit2DCollection &collmatch,
70  const TrackerTopology &ttopo,
71  int layer);
72 };
73 
74 #endif
std::vector< ForwardDetLayer const * > fneg
CosmicLayerPairs(std::string geometry, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const GeometricSearchTracker &track, const TrackerTopology &ttopo)
std::vector< ForwardDetLayer const * > fpos
edm::OwnVector< LayerWithHits > TIBLayerWithHits
edm::OwnVector< LayerWithHits > TOBLayerWithHits
std::vector< SeedLayerPairs::LayerPair > operator()() override
void init(const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const GeometricSearchTracker &, const TrackerTopology &)
std::vector< const TrackingRecHit * > selectTECHit(const SiStripRecHit2DCollection &collrphi, const TrackerTopology &ttopo, int side, int disk)
edm::OwnVector< LayerWithHits > MTCCLayerWithHits
edm::OwnVector< LayerWithHits > TECMinusLayerWithHits
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