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
CosmicLayerPairs::TECMinusLayerWithHits
edm::OwnVector< LayerWithHits > TECMinusLayerWithHits
Definition: CosmicLayerPairs.h:41
CosmicLayerPairs::MTCCLayerWithHits
edm::OwnVector< LayerWithHits > MTCCLayerWithHits
Definition: CosmicLayerPairs.h:44
CosmicLayerPairs::selectTECHit
std::vector< const TrackingRecHit * > selectTECHit(const SiStripRecHit2DCollection &collrphi, const TrackerTopology &ttopo, int side, int disk)
Definition: CosmicLayerPairs.cc:350
CosmicLayerPairs::CosmicLayerPairs
CosmicLayerPairs(std::string geometry)
Definition: CosmicLayerPairs.h:21
TrackerTopology
Definition: TrackerTopology.h:16
geometry
Definition: geometry.py:1
CosmicLayerPairs::bl
std::vector< BarrelDetLayer const * > bl
Definition: CosmicLayerPairs.h:37
CosmicLayerPairs::_geometry
std::string _geometry
Definition: CosmicLayerPairs.h:35
CosmicLayerPairs::~CosmicLayerPairs
~CosmicLayerPairs() override
Definition: CosmicLayerPairs.cc:237
RangeMap.h
SeedLayerPairs
Definition: SeedLayerPairs.h:16
SeedLayerPairs.h
LayerWithHits.h
CosmicLayerPairs::selectTOBHit
std::vector< const TrackingRecHit * > selectTOBHit(const SiStripRecHit2DCollection &collrphi, const TrackerTopology &ttopo, int layer)
Definition: CosmicLayerPairs.cc:368
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CosmicLayerPairs::init
void init(const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const edm::EventSetup &iSetup)
Definition: CosmicLayerPairs.cc:239
CosmicLayerPairs::operator()
std::vector< SeedLayerPairs::LayerPair > operator()() override
Definition: CosmicLayerPairs.cc:15
SiStripRecHit2DCollection.h
BarrelDetLayer.h
edm::EventSetup
Definition: EventSetup.h:58
CosmicLayerPairs
Definition: CosmicLayerPairs.h:19
CosmicLayerPairs::TECPlusLayerWithHits
edm::OwnVector< LayerWithHits > TECPlusLayerWithHits
Definition: CosmicLayerPairs.h:40
edmNew::DetSetVector
Definition: DetSetNew.h:13
ForwardDetLayer.h
EventSetup.h
CosmicLayerPairs::CRACKLayerWithHits
edm::OwnVector< LayerWithHits > CRACKLayerWithHits
Definition: CosmicLayerPairs.h:45
CosmicLayerPairs::selectTIBHit
std::vector< const TrackingRecHit * > selectTIBHit(const SiStripRecHit2DCollection &collrphi, const TrackerTopology &ttopo, int layer)
Definition: CosmicLayerPairs.cc:359
CosmicLayerPairs::TOBLayerWithHits
edm::OwnVector< LayerWithHits > TOBLayerWithHits
Definition: CosmicLayerPairs.h:43
CosmicLayerPairs::fneg
std::vector< ForwardDetLayer const * > fneg
Definition: CosmicLayerPairs.h:39
edm::OwnVector< LayerWithHits >
CosmicLayerPairs::TIBLayerWithHits
edm::OwnVector< LayerWithHits > TIBLayerWithHits
Definition: CosmicLayerPairs.h:42
CosmicLayerPairs::fpos
std::vector< ForwardDetLayer const * > fpos
Definition: CosmicLayerPairs.h:38