CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelFedCablingTree.h
Go to the documentation of this file.
1 #ifndef SiPixelFedCablingTree_H
2 #define SiPixelFedCablingTree_H
3 
4 #include <vector>
5 #include <map>
6 #include <string>
7 
10 
12 
13 public:
15 
16  SiPixelFedCablingTree(const std::string & version="") : theVersion(version) {}
17 
19 
21  void addFed(const PixelFEDCabling& f);
22 
24  const PixelFEDCabling * fed(unsigned int idFed) const;
25 
26  std::vector<const PixelFEDCabling *> fedList() const;
27 
29  virtual std::string version() const { return theVersion; }
30 
31  std::string print(int depth = 0) const;
32 
33  void addItem(unsigned int fedId, unsigned int linkId, const sipixelobjects::PixelROC& roc);
34 
35  virtual std::vector<sipixelobjects::CablingPathToDetUnit> pathToDetUnit(uint32_t rawDetId) const;
36 
37  virtual const sipixelobjects::PixelROC* findItem(
39 
40  int checkNumbering() const;
41 
42 private:
43  std::string theVersion;
44  std::map<int, PixelFEDCabling> theFedCablings;
45 };
46 #endif
std::map< int, PixelFEDCabling > theFedCablings
sipixelobjects::PixelFEDCabling PixelFEDCabling
list path
Definition: scaleCards.py:51
virtual std::vector< sipixelobjects::CablingPathToDetUnit > pathToDetUnit(uint32_t rawDetId) const
double f[11][100]
virtual const sipixelobjects::PixelROC * findItem(const sipixelobjects::CablingPathToDetUnit &path) const
SiPixelFedCablingTree(const std::string &version="")
virtual std::string version() const
map version
const PixelFEDCabling * fed(unsigned int idFed) const
get fed identified by its id
void addFed(const PixelFEDCabling &f)
add cabling for one fed
void addItem(unsigned int fedId, unsigned int linkId, const sipixelobjects::PixelROC &roc)
std::vector< const PixelFEDCabling * > fedList() const
std::string print(int depth=0) const