CMS 3D CMS Logo

PixelToFEDAssociate.h
Go to the documentation of this file.
1 #ifndef PixelToFEDAssociate_H
2 #define PixelToFEDAssociate_H
3 
9 #include <string>
10 
12 
13 
15 public:
16 
17  struct CablingRocId { int fedId; int linkId; int rocLinkId; };
18  struct DetectorRocId { const PixelModuleName * module; int rocDetId; };
19 
20  virtual ~PixelToFEDAssociate() {}
21 
23  virtual std::string version() const = 0;
24 
26  virtual int operator()(const PixelModuleName &) const {
27  return 0;
28  }
29 
31  virtual const CablingRocId * operator()(const DetectorRocId & roc) const {
32  return nullptr;
33  }
34 };
35 #endif
virtual int operator()(const PixelModuleName &) const
FED id for module.
virtual std::string version() const =0
version
virtual const CablingRocId * operator()(const DetectorRocId &roc) const
LNK id for module.