File indexing completed on 2024-04-06 12:02:27
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef CondFormats_PPSObjects_CTPPSPixelDAQMapping
0010 #define CondFormats_PPSObjects_CTPPSPixelDAQMapping
0011
0012 #include "CondFormats/Serialization/interface/Serializable.h"
0013 #include "CondFormats/PPSObjects/interface/CTPPSPixelFramePosition.h"
0014 #include "CondFormats/PPSObjects/interface/CTPPSPixelIndices.h"
0015
0016 #include <map>
0017 #include <set>
0018
0019
0020
0021
0022
0023
0024 class CTPPSPixelROCInfo {
0025 public:
0026
0027 uint32_t iD;
0028
0029 unsigned int roc;
0030
0031 friend std::ostream &operator<<(std::ostream &s, const CTPPSPixelROCInfo &fp);
0032
0033 COND_SERIALIZABLE;
0034 };
0035
0036
0037
0038
0039
0040
0041 class CTPPSPixelDAQMapping {
0042 public:
0043 std::map<CTPPSPixelFramePosition, CTPPSPixelROCInfo> ROCMapping;
0044
0045 void insert(const CTPPSPixelFramePosition &fp, const CTPPSPixelROCInfo &vi);
0046
0047 std::set<unsigned int> fedIds() const;
0048
0049 COND_SERIALIZABLE;
0050 };
0051
0052 #endif