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"
16 #include <vector>
18 public:
19  CosmicLayerPairs(std::string geometry):_geometry(geometry){};//:isFirstCall(true){};
21  // explicit PixelSeedLayerPairs(const edm::EventSetup& iSetup);
22 
23 
24 
25  // virtual vector<LayerPair> operator()() const;
26  std::vector<SeedLayerPairs::LayerPair> operator()() ;
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 
35  //bool isFirstCall;
37 
38  std::vector<BarrelDetLayer const*> bl;
39  std::vector<ForwardDetLayer const*> fpos;
40  std::vector<ForwardDetLayer const*> fneg;
47 
48  std::vector<const TrackingRecHit*> selectTECHit(const SiStripRecHit2DCollection &collrphi,
49  int side,
50  int disk);
51  std::vector<const TrackingRecHit*> selectTIBHit(const SiStripRecHit2DCollection &collrphi,
52  int layer);
53  std::vector<const TrackingRecHit*> selectTOBHit(const SiStripRecHit2DCollection &collrphi,
54  int layer);
55  std::vector<const TrackingRecHit*> selectTECHit(const SiStripMatchedRecHit2DCollection &collmatch,
56  int side,
57  int disk);
58  std::vector<const TrackingRecHit*> selectTIBHit(const SiStripMatchedRecHit2DCollection &collmatch,
59  int layer);
60  std::vector<const TrackingRecHit*> selectTOBHit(const SiStripMatchedRecHit2DCollection &collmatch,
61  int layer);
62 };
63 
64 
65 
66 
67 #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()()
edm::OwnVector< LayerWithHits > TIBLayerWithHits
edm::OwnVector< LayerWithHits > TOBLayerWithHits
std::vector< const TrackingRecHit * > selectTECHit(const SiStripRecHit2DCollection &collrphi, int side, int disk)
std::vector< BarrelDetLayer const * > bl
CosmicLayerPairs(std::string geometry)
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 const * > fneg
std::vector< ForwardDetLayer const * > fpos
ESHandle< TrackerGeometry > geometry
edm::OwnVector< LayerWithHits > TECPlusLayerWithHits
std::string _geometry