File indexing completed on 2024-04-06 12:02:27
0001
0002
0003
0004
0005
0006
0007 #ifndef CondFormats_PPSObjects_CTPPSPixelAnalysisMask
0008 #define CondFormats_PPSObjects_CTPPSPixelAnalysisMask
0009
0010 #include <set>
0011 #include <map>
0012
0013 #include "CondFormats/Serialization/interface/Serializable.h"
0014 #include "CondFormats/PPSObjects/interface/CTPPSPixelIndices.h"
0015
0016
0017
0018
0019 class CTPPSPixelROCAnalysisMask {
0020 public:
0021 CTPPSPixelROCAnalysisMask() : fullMask(false) {}
0022
0023
0024 bool fullMask;
0025
0026
0027 std::set<std::pair<unsigned char, unsigned char> > maskedPixels;
0028
0029 COND_SERIALIZABLE;
0030 };
0031
0032
0033
0034
0035 class CTPPSPixelAnalysisMask {
0036 public:
0037 std::map<uint32_t, CTPPSPixelROCAnalysisMask> analysisMask;
0038
0039 void insert(const uint32_t &sid, const CTPPSPixelROCAnalysisMask &am);
0040
0041 COND_SERIALIZABLE;
0042 };
0043
0044 #endif