File indexing completed on 2024-04-06 12:01:59
0001 #ifndef CSCBadWires_h
0002 #define CSCBadWires_h
0003
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005
0006 #include <vector>
0007
0008 class CSCBadWires {
0009 public:
0010 CSCBadWires();
0011 ~CSCBadWires();
0012
0013 struct BadChamber {
0014 int chamber_index;
0015 int pointer;
0016 int bad_channels;
0017
0018 COND_SERIALIZABLE;
0019 };
0020 struct BadChannel {
0021 short int layer;
0022 short int channel;
0023 short int flag1;
0024 short int flag2;
0025 short int flag3;
0026
0027 COND_SERIALIZABLE;
0028 };
0029
0030 int numberOfBadChannels;
0031
0032 typedef std::vector<BadChamber> BadChamberContainer;
0033 typedef std::vector<BadChannel> BadChannelContainer;
0034
0035 BadChamberContainer chambers;
0036 BadChannelContainer channels;
0037
0038 COND_SERIALIZABLE;
0039 };
0040
0041 #endif