CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelFedCablingMap.h
Go to the documentation of this file.
1 #ifndef EventFilter_SiPixelRawToDigi_SiPixelFedCablingMap_H
2 #define EventFilter_SiPixelRawToDigi_SiPixelFedCablingMap_H
3 
6 
7 #include <string>
8 #include <map>
10 
11 
13 
14 public:
15 
17 
19 
20  virtual ~SiPixelFedCablingMap() {}
21 
23 
24  virtual std::string version() const { return theVersion; }
25 
26  virtual const sipixelobjects::PixelROC* findItem(
28 
29  virtual std::vector<sipixelobjects::CablingPathToDetUnit> pathToDetUnit(uint32_t rawDetId) const;
30 
31  std::vector<unsigned int> fedIds() const;
32 
33  struct Key { unsigned int fed, link, roc; bool operator < (const Key & other) const; };
34 
35 private:
37  typedef std::map<Key, sipixelobjects::PixelROC> Map;
39 };
40 
41 #endif
virtual std::string version() const
SiPixelFedCablingMap(const SiPixelFedCablingTree *cab)
bool operator<(const Key &other) const
std::map< Key, sipixelobjects::PixelROC > Map
SiPixelFedCablingMap(const std::string &version="")
virtual std::vector< sipixelobjects::CablingPathToDetUnit > pathToDetUnit(uint32_t rawDetId) const
virtual const sipixelobjects::PixelROC * findItem(const sipixelobjects::CablingPathToDetUnit &path) const
SiPixelFedCablingTree * cablingTree() const
std::vector< unsigned int > fedIds() const