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 
14 public:
15  struct CablingRocId {
16  int fedId;
17  int linkId;
18  int rocLinkId;
19  };
20  struct DetectorRocId {
22  int rocDetId;
23  };
24 
25  virtual ~PixelToFEDAssociate() {}
26 
28  virtual std::string version() const = 0;
29 
31  virtual int operator()(const PixelModuleName &) const { return 0; }
32 
34  virtual const CablingRocId *operator()(const DetectorRocId &roc) const { return nullptr; }
35 };
36 #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.