File indexing completed on 2024-04-06 12:02:20
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #ifndef L1MUDTTF_MASKS_H
0016 #define L1MUDTTF_MASKS_H
0017
0018 #include "CondFormats/Serialization/interface/Serializable.h"
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036 class L1MuDTTFMasks {
0037 public:
0038
0039 L1MuDTTFMasks() { reset(); }
0040
0041
0042 virtual ~L1MuDTTFMasks() {}
0043
0044
0045 void reset();
0046
0047 void set_inrec_chdis_st1(int wh, int sc, const bool val);
0048 bool get_inrec_chdis_st1(int wh, int sc) const;
0049 void set_inrec_chdis_st2(int wh, int sc, const bool val);
0050 bool get_inrec_chdis_st2(int wh, int sc) const;
0051 void set_inrec_chdis_st3(int wh, int sc, const bool val);
0052 bool get_inrec_chdis_st3(int wh, int sc) const;
0053 void set_inrec_chdis_st4(int wh, int sc, const bool val);
0054 bool get_inrec_chdis_st4(int wh, int sc) const;
0055 void set_inrec_chdis_csc(int wh, int sc, const bool val);
0056 bool get_inrec_chdis_csc(int wh, int sc) const;
0057 void set_etsoc_chdis_st1(int wh, int sc, const bool val);
0058 bool get_etsoc_chdis_st1(int wh, int sc) const;
0059 void set_etsoc_chdis_st2(int wh, int sc, const bool val);
0060 bool get_etsoc_chdis_st2(int wh, int sc) const;
0061 void set_etsoc_chdis_st3(int wh, int sc, const bool val);
0062 bool get_etsoc_chdis_st3(int wh, int sc) const;
0063
0064 void print() const;
0065
0066 private:
0067 int check(int wh, int sc) const;
0068
0069 private:
0070 bool inrec_chdis_st1[6][12];
0071 bool inrec_chdis_st2[6][12];
0072 bool inrec_chdis_st3[6][12];
0073 bool inrec_chdis_st4[6][12];
0074 bool inrec_chdis_csc[6][12];
0075 bool etsoc_chdis_st1[6][12];
0076 bool etsoc_chdis_st2[6][12];
0077 bool etsoc_chdis_st3[6][12];
0078
0079 COND_SERIALIZABLE;
0080 };
0081
0082 #endif