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
L1MuDTTFParameters::reset
void reset()
reset parameters to zero
Definition: L1MuDTTFParameters.cc:48
L1MuDTTFParameters::inrec_qual_st3
unsigned short int inrec_qual_st3[6][12]
Definition: L1MuDTTFParameters.h:93
L1MuDTTFParameters::set_inrec_qual_st3
void set_inrec_qual_st3(int wh, int sc, const unsigned short int val)
Definition: L1MuDTTFParameters.cc:96
L1MuDTTFParameters::get_soc_stdis_n
unsigned short int get_soc_stdis_n(int wh, int sc) const
Definition: L1MuDTTFParameters.cc:126
L1MuDTTFParameters::set_soc_openlut_extr
void set_soc_openlut_extr(int wh, int sc, const bool val)
Definition: L1MuDTTFParameters.cc:264
L1MuDTTFParameters::get_soc_run_21
bool get_soc_run_21(int wh, int sc) const
Definition: L1MuDTTFParameters.cc:234
L1MuDTTFParameters::set_soc_csc_etacanc
void set_soc_csc_etacanc(int wh, int sc, const bool val)
Definition: L1MuDTTFParameters.cc:252
L1MuDTTFParameters::get_soc_openlut_extr
bool get_soc_openlut_extr(int wh, int sc) const
Definition: L1MuDTTFParameters.cc:270
L1MuDTTFParameters::get_soc_nbx_del
bool get_soc_nbx_del(int wh, int sc) const
Definition: L1MuDTTFParameters.cc:246
L1MuDTTFParameters::get_inrec_qual_st3
unsigned short int get_inrec_qual_st3(int wh, int sc) const
Definition: L1MuDTTFParameters.cc:102
L1MuDTTFParameters::get_inrec_qual_st2
unsigned short int get_inrec_qual_st2(int wh, int sc) const
Definition: L1MuDTTFParameters.cc:90
L1MuDTTFParameters::set_soc_qcut_st1
void set_soc_qcut_st1(int wh, int sc, const unsigned short int val)
Definition: L1MuDTTFParameters.cc:180
L1MuDTTFParameters::set_soc_qcut_st2
void set_soc_qcut_st2(int wh, int sc, const unsigned short int val)
Definition: L1MuDTTFParameters.cc:192
L1MuDTTFParameters::set_soc_run_21
void set_soc_run_21(int wh, int sc, const bool val)
Definition: L1MuDTTFParameters.cc:228
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
L1MuDTTFParameters::soc_openlut_extr
bool soc_openlut_extr[6][12]
Definition: L1MuDTTFParameters.h:110
L1MuDTTFParameters::soc_stdis_wl
unsigned short int soc_stdis_wl[6][12]
Definition: L1MuDTTFParameters.h:97
L1MuDTTFParameters::get_soc_stdis_wr
unsigned short int get_soc_stdis_wr(int wh, int sc) const
Definition: L1MuDTTFParameters.cc:150
L1MuDTTFParameters::print
void print() const
Definition: L1MuDTTFParameters.cc:286
L1MuDTTFParameters::soc_qcut_st4
unsigned short int soc_qcut_st4[6][12]
Definition: L1MuDTTFParameters.h:104
L1MuDTTFParameters::set_soc_stdis_n
void set_soc_stdis_n(int wh, int sc, const unsigned short int val)
Definition: L1MuDTTFParameters.cc:120
L1MuDTTFParameters::inrec_qual_st2
unsigned short int inrec_qual_st2[6][12]
Definition: L1MuDTTFParameters.h:92
L1MuDTTFParameters::set_soc_qcut_st4
void set_soc_qcut_st4(int wh, int sc, const unsigned short int val)
Definition: L1MuDTTFParameters.cc:204
L1MuDTTFParameters::set_soc_stdis_zr
void set_soc_stdis_zr(int wh, int sc, const unsigned short int val)
Definition: L1MuDTTFParameters.cc:168
L1MuDTTFParameters::soc_stdis_wr
unsigned short int soc_stdis_wr[6][12]
Definition: L1MuDTTFParameters.h:98
L1MuDTTFParameters::soc_stdis_zl
unsigned short int soc_stdis_zl[6][12]
Definition: L1MuDTTFParameters.h:99
L1MuDTTFParameters::soc_nbx_del
bool soc_nbx_del[6][12]
Definition: L1MuDTTFParameters.h:108
L1MuDTTFParameters::soc_run_21
bool soc_run_21[6][12]
Definition: L1MuDTTFParameters.h:107
L1MuDTTFParameters::set_inrec_qual_st1
void set_inrec_qual_st1(int wh, int sc, const unsigned short int val)
Definition: L1MuDTTFParameters.cc:72
L1MuDTTFParameters::get_soc_qcut_st4
unsigned short int get_soc_qcut_st4(int wh, int sc) const
Definition: L1MuDTTFParameters.cc:210
L1MuDTTFParameters::set_soc_stdis_wl
void set_soc_stdis_wl(int wh, int sc, const unsigned short int val)
Definition: L1MuDTTFParameters.cc:132
L1MuDTTFParameters::set_inrec_qual_st4
void set_inrec_qual_st4(int wh, int sc, const unsigned short int val)
Definition: L1MuDTTFParameters.cc:108
L1MuDTTFParameters::soc_qual_csc
unsigned short int soc_qual_csc[6][12]
Definition: L1MuDTTFParameters.h:105
L1MuDTTFParameters::get_soc_stdis_zl
unsigned short int get_soc_stdis_zl(int wh, int sc) const
Definition: L1MuDTTFParameters.cc:162
L1MuDTTFParameters::get_inrec_qual_st4
unsigned short int get_inrec_qual_st4(int wh, int sc) const
Definition: L1MuDTTFParameters.cc:114
L1MuDTTFParameters::~L1MuDTTFParameters
virtual ~L1MuDTTFParameters()
destructor
Definition: L1MuDTTFParameters.h:42
L1MuDTTFParameters::set_soc_qual_csc
void set_soc_qual_csc(int wh, int sc, const unsigned short int val)
Definition: L1MuDTTFParameters.cc:216
L1MuDTTFParameters::get_soc_csc_etacanc
bool get_soc_csc_etacanc(int wh, int sc) const
Definition: L1MuDTTFParameters.cc:258
L1MuDTTFParameters::get_soc_qual_csc
unsigned short int get_soc_qual_csc(int wh, int sc) const
Definition: L1MuDTTFParameters.cc:222
Serializable.h
L1MuDTTFParameters::set_soc_nbx_del
void set_soc_nbx_del(int wh, int sc, const bool val)
Definition: L1MuDTTFParameters.cc:240
L1MuDTTFParameters::inrec_qual_st1
unsigned short int inrec_qual_st1[6][12]
Definition: L1MuDTTFParameters.h:91
L1MuDTTFParameters::soc_stdis_zr
unsigned short int soc_stdis_zr[6][12]
Definition: L1MuDTTFParameters.h:100
L1MuDTTFParameters::L1MuDTTFParameters
L1MuDTTFParameters()
constructor
Definition: L1MuDTTFParameters.h:39
L1MuDTTFParameters::soc_csc_etacanc
bool soc_csc_etacanc[6][12]
Definition: L1MuDTTFParameters.h:109
L1MuDTTFParameters::get_soc_qcut_st2
unsigned short int get_soc_qcut_st2(int wh, int sc) const
Definition: L1MuDTTFParameters.cc:198
L1MuDTTFParameters::set_inrec_qual_st2
void set_inrec_qual_st2(int wh, int sc, const unsigned short int val)
Definition: L1MuDTTFParameters.cc:84
heppy_batch.val
val
Definition: heppy_batch.py:351
L1MuDTTFParameters::get_inrec_qual_st1
unsigned short int get_inrec_qual_st1(int wh, int sc) const
Definition: L1MuDTTFParameters.cc:78
L1MuDTTFParameters::inrec_qual_st4
unsigned short int inrec_qual_st4[6][12]
Definition: L1MuDTTFParameters.h:94
L1MuDTTFParameters::soc_qcut_st2
unsigned short int soc_qcut_st2[6][12]
Definition: L1MuDTTFParameters.h:103
L1MuDTTFParameters::check
int check(int wh, int sc) const
Definition: L1MuDTTFParameters.cc:276
L1MuDTTFParameters::soc_stdis_n
unsigned short int soc_stdis_n[6][12]
Definition: L1MuDTTFParameters.h:96
L1MuDTTFParameters::set_soc_stdis_zl
void set_soc_stdis_zl(int wh, int sc, const unsigned short int val)
Definition: L1MuDTTFParameters.cc:156
L1MuDTTFParameters::get_soc_stdis_zr
unsigned short int get_soc_stdis_zr(int wh, int sc) const
Definition: L1MuDTTFParameters.cc:174
L1MuDTTFParameters::soc_qcut_st1
unsigned short int soc_qcut_st1[6][12]
Definition: L1MuDTTFParameters.h:102
L1MuDTTFParameters::get_soc_qcut_st1
unsigned short int get_soc_qcut_st1(int wh, int sc) const
Definition: L1MuDTTFParameters.cc:186
L1MuDTTFParameters::set_soc_stdis_wr
void set_soc_stdis_wr(int wh, int sc, const unsigned short int val)
Definition: L1MuDTTFParameters.cc:144
L1MuDTTFParameters
Definition: L1MuDTTFParameters.h:36
L1MuDTTFParameters::get_soc_stdis_wl
unsigned short int get_soc_stdis_wl(int wh, int sc) const
Definition: L1MuDTTFParameters.cc:138