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
PixelModuleName
Definition: PixelModuleName.h:12
PixelToFEDAssociate::DetectorRocId::rocDetId
int rocDetId
Definition: PixelToFEDAssociate.h:22
PixelToFEDAssociate::operator()
virtual int operator()(const PixelModuleName &) const
FED id for module.
Definition: PixelToFEDAssociate.h:31
PixelToFEDAssociate::CablingRocId::linkId
int linkId
Definition: PixelToFEDAssociate.h:17
PixelToFEDAssociate::~PixelToFEDAssociate
virtual ~PixelToFEDAssociate()
Definition: PixelToFEDAssociate.h:25
PixelToFEDAssociate::DetectorRocId::module
const PixelModuleName * module
Definition: PixelToFEDAssociate.h:21
PixelToFEDAssociate::version
virtual std::string version() const =0
version
PixelToFEDAssociate::operator()
virtual const CablingRocId * operator()(const DetectorRocId &roc) const
LNK id for module.
Definition: PixelToFEDAssociate.h:34
PixelToFEDAssociate
Definition: PixelToFEDAssociate.h:13
PixelModuleName.h
PixelToFEDAssociate::CablingRocId::fedId
int fedId
Definition: PixelToFEDAssociate.h:16
PixelToFEDAssociate::CablingRocId::rocLinkId
int rocLinkId
Definition: PixelToFEDAssociate.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
PixelToFEDAssociate::CablingRocId
Definition: PixelToFEDAssociate.h:15
PixelMapPlotter.roc
roc
Definition: PixelMapPlotter.py:498
PixelToFEDAssociate::DetectorRocId
Definition: PixelToFEDAssociate.h:20