CMS 3D CMS Logo

PixelToFEDAssociate.h

Go to the documentation of this file.
00001 #ifndef PixelToFEDAssociate_H
00002 #define PixelToFEDAssociate_H
00003 
00009 #include <string>
00010 
00011 #include "DataFormats/SiPixelDetId/interface/PixelModuleName.h"
00012 
00013 
00014 class PixelToFEDAssociate {
00015 public:
00016 
00017   struct CablingRocId { int fedId; int linkId; int rocLinkId; }; 
00018   struct DetectorRocId { const PixelModuleName * module; int rocDetId; };
00019 
00020   virtual ~PixelToFEDAssociate() {}
00021 
00023   virtual std::string version() const = 0;
00024 
00026   virtual int operator()(const PixelModuleName &) const {
00027     return 0;
00028   } 
00029 
00031   virtual const CablingRocId * operator()(const DetectorRocId & roc) const {
00032     return 0;
00033   }
00034 };
00035 #endif 

Generated on Tue Jun 9 17:25:44 2009 for CMSSW by  doxygen 1.5.4