File indexing completed on 2024-04-06 12:05:11
0001 #ifndef SiPixelDetId_PixelFEDChannel_H
0002 #define SiPixelDetId_PixelFEDChannel_H
0003
0004 #include "DataFormats/Common/interface/DetSetVectorNew.h"
0005
0006 struct PixelFEDChannel {
0007 unsigned int fed, link, roc_first, roc_last;
0008 };
0009
0010 inline bool operator<(const PixelFEDChannel& one, const PixelFEDChannel& other) {
0011 if (one.fed == other.fed)
0012 return one.link < other.link;
0013 return one.fed < other.fed;
0014 }
0015
0016 typedef edmNew::DetSetVector<PixelFEDChannel> PixelFEDChannelCollection;
0017
0018 #endif