CMS 3D CMS Logo

L1MuDTTFParameters.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
13 //
14 //--------------------------------------------------
15 #ifndef L1MUDTTF_PARAMETERS_H
16 #define L1MUDTTF_PARAMETERS_H
17 
19 
20 //---------------
21 // C++ Headers --
22 //---------------
23 
24 //----------------------
25 // Base Class Headers --
26 //----------------------
27 
28 //------------------------------------
29 // Collaborating Class Declarations --
30 //------------------------------------
31 
32 // ---------------------
33 // -- Class Interface --
34 // ---------------------
35 
37 public:
40 
42  virtual ~L1MuDTTFParameters() {}
43 
45  void reset();
46 
47  void set_inrec_qual_st1(int wh, int sc, const unsigned short int val);
48  unsigned short int get_inrec_qual_st1(int wh, int sc) const;
49  void set_inrec_qual_st2(int wh, int sc, const unsigned short int val);
50  unsigned short int get_inrec_qual_st2(int wh, int sc) const;
51  void set_inrec_qual_st3(int wh, int sc, const unsigned short int val);
52  unsigned short int get_inrec_qual_st3(int wh, int sc) const;
53  void set_inrec_qual_st4(int wh, int sc, const unsigned short int val);
54  unsigned short int get_inrec_qual_st4(int wh, int sc) const;
55 
56  void set_soc_stdis_n(int wh, int sc, const unsigned short int val);
57  unsigned short int get_soc_stdis_n(int wh, int sc) const;
58  void set_soc_stdis_wl(int wh, int sc, const unsigned short int val);
59  unsigned short int get_soc_stdis_wl(int wh, int sc) const;
60  void set_soc_stdis_wr(int wh, int sc, const unsigned short int val);
61  unsigned short int get_soc_stdis_wr(int wh, int sc) const;
62  void set_soc_stdis_zl(int wh, int sc, const unsigned short int val);
63  unsigned short int get_soc_stdis_zl(int wh, int sc) const;
64  void set_soc_stdis_zr(int wh, int sc, const unsigned short int val);
65  unsigned short int get_soc_stdis_zr(int wh, int sc) const;
66 
67  void set_soc_qcut_st1(int wh, int sc, const unsigned short int val);
68  unsigned short int get_soc_qcut_st1(int wh, int sc) const;
69  void set_soc_qcut_st2(int wh, int sc, const unsigned short int val);
70  unsigned short int get_soc_qcut_st2(int wh, int sc) const;
71  void set_soc_qcut_st4(int wh, int sc, const unsigned short int val);
72  unsigned short int get_soc_qcut_st4(int wh, int sc) const;
73  void set_soc_qual_csc(int wh, int sc, const unsigned short int val);
74  unsigned short int get_soc_qual_csc(int wh, int sc) const;
75 
76  void set_soc_run_21(int wh, int sc, const bool val);
77  bool get_soc_run_21(int wh, int sc) const;
78  void set_soc_nbx_del(int wh, int sc, const bool val);
79  bool get_soc_nbx_del(int wh, int sc) const;
80  void set_soc_csc_etacanc(int wh, int sc, const bool val);
81  bool get_soc_csc_etacanc(int wh, int sc) const;
82  void set_soc_openlut_extr(int wh, int sc, const bool val);
83  bool get_soc_openlut_extr(int wh, int sc) const;
84 
85  void print() const;
86 
87 private:
88  int check(int wh, int sc) const;
89 
90 private:
91  unsigned short int inrec_qual_st1[6][12];
92  unsigned short int inrec_qual_st2[6][12];
93  unsigned short int inrec_qual_st3[6][12];
94  unsigned short int inrec_qual_st4[6][12];
95 
96  unsigned short int soc_stdis_n[6][12];
97  unsigned short int soc_stdis_wl[6][12];
98  unsigned short int soc_stdis_wr[6][12];
99  unsigned short int soc_stdis_zl[6][12];
100  unsigned short int soc_stdis_zr[6][12];
101 
102  unsigned short int soc_qcut_st1[6][12];
103  unsigned short int soc_qcut_st2[6][12];
104  unsigned short int soc_qcut_st4[6][12];
105  unsigned short int soc_qual_csc[6][12];
106 
107  bool soc_run_21[6][12];
108  bool soc_nbx_del[6][12];
109  bool soc_csc_etacanc[6][12];
110  bool soc_openlut_extr[6][12];
111 
113 };
114 
115 #endif
void set_inrec_qual_st2(int wh, int sc, const unsigned short int val)
unsigned short int inrec_qual_st3[6][12]
void set_soc_run_21(int wh, int sc, const bool val)
void set_inrec_qual_st1(int wh, int sc, const unsigned short int val)
void set_soc_qcut_st2(int wh, int sc, const unsigned short int val)
unsigned short int get_inrec_qual_st2(int wh, int sc) const
void set_soc_qcut_st1(int wh, int sc, const unsigned short int val)
unsigned short int inrec_qual_st4[6][12]
unsigned short int soc_stdis_n[6][12]
void set_soc_openlut_extr(int wh, int sc, const bool val)
unsigned short int get_soc_stdis_zl(int wh, int sc) const
unsigned short int soc_qcut_st4[6][12]
unsigned short int get_soc_qcut_st2(int wh, int sc) const
unsigned short int get_soc_qcut_st1(int wh, int sc) const
unsigned short int get_soc_qcut_st4(int wh, int sc) const
unsigned short int soc_stdis_wl[6][12]
unsigned short int soc_qcut_st2[6][12]
void set_inrec_qual_st4(int wh, int sc, const unsigned short int val)
void set_soc_stdis_zl(int wh, int sc, const unsigned short int val)
unsigned short int soc_stdis_zl[6][12]
unsigned short int get_soc_stdis_wl(int wh, int sc) const
void set_soc_csc_etacanc(int wh, int sc, const bool val)
void set_soc_nbx_del(int wh, int sc, const bool val)
unsigned short int get_soc_stdis_wr(int wh, int sc) const
unsigned short int get_soc_stdis_n(int wh, int sc) const
bool get_soc_csc_etacanc(int wh, int sc) const
bool get_soc_nbx_del(int wh, int sc) const
unsigned short int get_soc_stdis_zr(int wh, int sc) const
void set_soc_stdis_wr(int wh, int sc, const unsigned short int val)
L1MuDTTFParameters()
constructor
void reset()
reset parameters to zero
bool soc_openlut_extr[6][12]
unsigned short int inrec_qual_st2[6][12]
void set_inrec_qual_st3(int wh, int sc, const unsigned short int val)
bool get_soc_run_21(int wh, int sc) const
unsigned short int get_inrec_qual_st3(int wh, int sc) const
unsigned short int soc_stdis_wr[6][12]
#define COND_SERIALIZABLE
Definition: Serializable.h:39
int check(int wh, int sc) const
void set_soc_stdis_n(int wh, int sc, const unsigned short int val)
void set_soc_qcut_st4(int wh, int sc, const unsigned short int val)
unsigned short int get_inrec_qual_st1(int wh, int sc) const
virtual ~L1MuDTTFParameters()
destructor
unsigned short int soc_qcut_st1[6][12]
unsigned short int get_inrec_qual_st4(int wh, int sc) const
unsigned short int inrec_qual_st1[6][12]
unsigned short int get_soc_qual_csc(int wh, int sc) const
unsigned short int soc_qual_csc[6][12]
bool get_soc_openlut_extr(int wh, int sc) const
void set_soc_stdis_wl(int wh, int sc, const unsigned short int val)
void set_soc_qual_csc(int wh, int sc, const unsigned short int val)
void set_soc_stdis_zr(int wh, int sc, const unsigned short int val)
unsigned short int soc_stdis_zr[6][12]