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"
16 
20 
21 
22 #include <vector>
24 public:
27  // explicit PixelSeedLayerPairs(const edm::EventSetup& iSetup);
28  typedef std::pair<SeedLayerPairs::LayerPair, std::vector<const LayerWithHits*> > LayerPairAndLayers;
29 
30 
31  // virtual std::vector<LayerPair> operator()() const;
32  // std::vector<LayerTriplet> operator()() ;
33  std::vector<LayerPairAndLayers> layers();
34 
35 private:
36 
37  //definition of the map
38 
39 
41 
46 
47  std::vector<BarrelDetLayer*> bl;
48  std::vector<ForwardDetLayer*> fpos;
49  std::vector<ForwardDetLayer*> fneg;
50  //MP
51  std::vector<LayerWithHits*> allLayersWithHits;
53  public:
54 
55  void init(const SiStripRecHit2DCollection &collstereo,
56  const SiStripRecHit2DCollection &collrphi,
57  const SiStripMatchedRecHit2DCollection &collmatched,
58  std::string geometry,
59  const edm::EventSetup& iSetup);
60 
61  private:
62  std::string _geometry;
63 };
64 
65 
66 
67 
68 #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