CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CosmicLayerPairs.h
Go to the documentation of this file.
1 #ifndef CosmicLayerPairs_H
2 #define CosmicLayerPairs_H
3 
15 //#include "RecoTracker/TkDetLayers/interface/PixelForwardLayer.h"
18 #include <vector>
20 public:
21  CosmicLayerPairs(std::string geometry):_geometry(geometry){};//:isFirstCall(true){};
23  // explicit PixelSeedLayerPairs(const edm::EventSetup& iSetup);
24 
25 
26 
27  // virtual vector<LayerPair> operator()() const;
28  std::vector<SeedLayerPairs::LayerPair> operator()() ;
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;
38  std::string _geometry;
39 
40  std::vector<BarrelDetLayer*> bl;
41  std::vector<ForwardDetLayer*> fpos;
42  std::vector<ForwardDetLayer*> fneg;
49 
50  std::vector<const TrackingRecHit*> selectTECHit(const SiStripRecHit2DCollection &collrphi,
51  int side,
52  int disk);
53  std::vector<const TrackingRecHit*> selectTIBHit(const SiStripRecHit2DCollection &collrphi,
54  int layer);
55  std::vector<const TrackingRecHit*> selectTOBHit(const SiStripRecHit2DCollection &collrphi,
56  int layer);
57  std::vector<const TrackingRecHit*> selectTECHit(const SiStripMatchedRecHit2DCollection &collmatch,
58  int side,
59  int disk);
60  std::vector<const TrackingRecHit*> selectTIBHit(const SiStripMatchedRecHit2DCollection &collmatch,
61  int layer);
62  std::vector<const TrackingRecHit*> selectTOBHit(const SiStripMatchedRecHit2DCollection &collmatch,
63  int layer);
64 };
65 
66 
67 
68 
69 #endif
std::vector< const TrackingRecHit * > selectTOBHit(const SiStripRecHit2DCollection &collrphi, int layer)
std::vector< const TrackingRecHit * > selectTIBHit(const SiStripRecHit2DCollection &collrphi, int layer)
std::vector< SeedLayerPairs::LayerPair > operator()()
std::vector< ForwardDetLayer * > fneg
edm::OwnVector< LayerWithHits > TIBLayerWithHits
edm::OwnVector< LayerWithHits > TOBLayerWithHits
std::vector< const TrackingRecHit * > selectTECHit(const SiStripRecHit2DCollection &collrphi, int side, int disk)
CosmicLayerPairs(std::string geometry)
std::vector< BarrelDetLayer * > bl
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< ForwardDetLayer * > fpos
ESHandle< TrackerGeometry > geometry
edm::OwnVector< LayerWithHits > TECPlusLayerWithHits
std::string _geometry