Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:33

0001 #ifndef EventFilter_SiPixelRawToDigi_SiPixelFedCabling_H
0002 #define EventFilter_SiPixelRawToDigi_SiPixelFedCabling_H
0003 
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005 
0006 #include "CondFormats/SiPixelObjects/interface/PixelROC.h"
0007 #include "CondFormats/SiPixelObjects/interface/CablingPathToDetUnit.h"
0008 #include <vector>
0009 
0010 class SiPixelFedCabling {
0011 public:
0012   virtual ~SiPixelFedCabling() {}
0013 
0014   virtual std::string version() const = 0;
0015 
0016   virtual const sipixelobjects::PixelROC* findItem(const sipixelobjects::CablingPathToDetUnit&) const = 0;
0017 
0018   virtual std::vector<sipixelobjects::CablingPathToDetUnit> pathToDetUnit(uint32_t rawDetId) const = 0;
0019 
0020   virtual bool pathToDetUnitHasDetUnit(uint32_t rawDetId, unsigned int fedId) const = 0;
0021 
0022   virtual std::unordered_map<uint32_t, unsigned int> det2fedMap() const = 0;
0023 
0024   virtual std::map<uint32_t, std::vector<sipixelobjects::CablingPathToDetUnit> > det2PathMap() const = 0;
0025 
0026   COND_SERIALIZABLE;
0027 };
0028 
0029 #endif