CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CosmicLayerTriplets.h
Go to the documentation of this file.
1 #ifndef CosmicLayerTriplets_H
2 #define CosmicLayerTriplets_H
3 
14 //#include "RecoTracker/TkDetLayers/interface/PixelForwardLayer.h"
18 
22 
23 
24 #include <vector>
26 public:
29  // explicit PixelSeedLayerPairs(const edm::EventSetup& iSetup);
30  typedef std::pair<SeedLayerPairs::LayerPair, std::vector<const LayerWithHits*> > LayerPairAndLayers;
31 
32 
33  // virtual std::vector<LayerPair> operator()() const;
34  // std::vector<LayerTriplet> operator()() ;
35  std::vector<LayerPairAndLayers> layers();
36 
37 private:
38 
39  //definition of the map
40 
41 
43 
48 
49  std::vector<BarrelDetLayer*> bl;
50  std::vector<ForwardDetLayer*> fpos;
51  std::vector<ForwardDetLayer*> fneg;
52  //MP
53  std::vector<LayerWithHits*> allLayersWithHits;
55  public:
56 
57  void init(const SiStripRecHit2DCollection &collstereo,
58  const SiStripRecHit2DCollection &collrphi,
59  const SiStripMatchedRecHit2DCollection &collmatched,
60  std::string geometry,
61  const edm::EventSetup& iSetup);
62 
63  private:
64  std::string _geometry;
65 };
66 
67 
68 
69 
70 #endif
std::vector< ForwardDetLayer * > fneg
std::pair< SeedLayerPairs::LayerPair, std::vector< const LayerWithHits * > > LayerPairAndLayers
std::vector< BarrelDetLayer * > bl
void init(const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, std::string geometry, const edm::EventSetup &iSetup)
std::vector< LayerPairAndLayers > layers()
std::vector< ForwardDetLayer * > fpos
ESHandle< TrackerGeometry > geometry
std::vector< LayerWithHits * > allLayersWithHits
TrackerLayerIdAccessor acc