CMS 3D CMS Logo

PixelEndcapLinkMaker.h
Go to the documentation of this file.
1 #ifndef PixelEndcapLinkMaker_H
2 #define PixelEndcapLinkMaker_H
3 
4 #include <boost/cstdint.hpp>
5 #include <vector>
6 
8 
9 class PixelModuleName;
10 class PixelEndcapName;
13 
15 public:
19 
20  typedef std::vector<PixelModuleName*> Names;
21  typedef std::vector<uint32_t> DetUnits;
23  typedef TRange<int> Range;
24 
26  PixelEndcapLinkMaker(const PixelFEDCabling* o) : theOwner(o) {}
27 
33  Links links(const Names& n, const DetUnits& u) const;
34 
35 private:
36  const PixelFEDCabling* theOwner;
37 
44  struct Item {
46  uint32_t unit;
47  Range rocIds;
48  };
49 
57  struct Order {
58  bool operator()(const Item&, const Item&) const;
59  };
60 
61 private:
62 };
63 
64 #endif
const PixelFEDCabling * theOwner
const PixelEndcapName * name
sipixelobjects::PixelFEDCabling PixelFEDCabling
PixelFEDCabling::Links Links
sipixelobjects::PixelROC PixelROC
std::vector< PixelModuleName * > Names
std::vector< uint32_t > DetUnits
PixelEndcapLinkMaker(const PixelFEDCabling *o)
ctor from owner
sipixelobjects::PixelFEDLink PixelFEDLink
std::vector< PixelFEDLink > Links
Links links(const Names &n, const DetUnits &u) const