CMS 3D CMS Logo

PixelBarrelLinkMaker.h
Go to the documentation of this file.
1 #ifndef PixelBarrelLinkMaker_H
2 #define PixelBarrelLinkMaker_H
3 
8 #include <boost/cstdint.hpp>
9 #include <vector>
10 
12 
13 class PixelModuleName;
14 class PixelBarrelName;
17 
19 public:
23 
24  typedef std::vector<PixelModuleName*> Names;
25  typedef std::vector<uint32_t> DetUnits;
27  typedef TRange<int> Range;
28 
30  PixelBarrelLinkMaker(const PixelFEDCabling* o) : theOwner(o) {}
31 
37  Links links(const Names& n, const DetUnits& u) const;
38 
39 private:
40  const PixelFEDCabling* theOwner;
41 
46  struct Item {
48  uint32_t unit;
49  Range rocIds;
50  };
51 
57  struct Order {
58  bool operator()(const Item&, const Item&) const;
59  };
60 
61 private:
62 };
63 
64 #endif
std::vector< uint32_t > DetUnits
const PixelBarrelName * name
Links links(const Names &n, const DetUnits &u) const
PixelFEDCabling::Links Links
sipixelobjects::PixelROC PixelROC
PixelBarrelLinkMaker(const PixelFEDCabling *o)
ctor from owner
const PixelFEDCabling * theOwner
sipixelobjects::PixelFEDLink PixelFEDLink
std::vector< PixelFEDLink > Links
std::vector< PixelModuleName * > Names
sipixelobjects::PixelFEDCabling PixelFEDCabling