CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/CondFormats/L1TObjects/interface/L1MuDTTFParameters.h

Go to the documentation of this file.
00001 //-------------------------------------------------
00002 //
00013 //
00014 //--------------------------------------------------
00015 #ifndef L1MUDTTF_PARAMETERS_H
00016 #define L1MUDTTF_PARAMETERS_H
00017 
00018 //---------------
00019 // C++ Headers --
00020 //---------------
00021 
00022 
00023 //----------------------
00024 // Base Class Headers --
00025 //----------------------
00026 
00027 
00028 //------------------------------------
00029 // Collaborating Class Declarations --
00030 //------------------------------------
00031 
00032 
00033 //              ---------------------
00034 //              -- Class Interface --
00035 //              ---------------------
00036 
00037 
00038 class L1MuDTTFParameters {
00039 
00040   public:
00041 
00043     L1MuDTTFParameters() {}
00044 
00046     virtual ~L1MuDTTFParameters() {}
00047 
00049     void reset();
00050 
00051     void set_inrec_qual_st1(int wh, int sc, const unsigned short int val);
00052     unsigned short int get_inrec_qual_st1(int wh, int sc) const;
00053     void set_inrec_qual_st2(int wh, int sc, const unsigned short int val);
00054     unsigned short int get_inrec_qual_st2(int wh, int sc) const;
00055     void set_inrec_qual_st3(int wh, int sc, const unsigned short int val);
00056     unsigned short int get_inrec_qual_st3(int wh, int sc) const;
00057     void set_inrec_qual_st4(int wh, int sc, const unsigned short int val);
00058     unsigned short int get_inrec_qual_st4(int wh, int sc) const;
00059 
00060     void set_soc_stdis_n(int wh, int sc, const unsigned short int val);
00061     unsigned short int get_soc_stdis_n(int wh, int sc) const;
00062     void set_soc_stdis_wl(int wh, int sc, const unsigned short int val);
00063     unsigned short int get_soc_stdis_wl(int wh, int sc) const;
00064     void set_soc_stdis_wr(int wh, int sc, const unsigned short int val);
00065     unsigned short int get_soc_stdis_wr(int wh, int sc) const;
00066     void set_soc_stdis_zl(int wh, int sc, const unsigned short int val);
00067     unsigned short int get_soc_stdis_zl(int wh, int sc) const;
00068     void set_soc_stdis_zr(int wh, int sc, const unsigned short int val);
00069     unsigned short int get_soc_stdis_zr(int wh, int sc) const;
00070 
00071     void set_soc_qcut_st1(int wh, int sc, const unsigned short int val);
00072     unsigned short int get_soc_qcut_st1(int wh, int sc) const;
00073     void set_soc_qcut_st2(int wh, int sc, const unsigned short int val);
00074     unsigned short int get_soc_qcut_st2(int wh, int sc) const;
00075     void set_soc_qcut_st4(int wh, int sc, const unsigned short int val);
00076     unsigned short int get_soc_qcut_st4(int wh, int sc) const;
00077     void set_soc_qual_csc(int wh, int sc, const unsigned short int val);
00078     unsigned short int get_soc_qual_csc(int wh, int sc) const;
00079 
00080     void set_soc_run_21(int wh, int sc, const bool val);
00081     bool get_soc_run_21(int wh, int sc) const;
00082     void set_soc_nbx_del(int wh, int sc, const bool val);
00083     bool get_soc_nbx_del(int wh, int sc) const;
00084     void set_soc_csc_etacanc(int wh, int sc, const bool val);
00085     bool get_soc_csc_etacanc(int wh, int sc) const;
00086     void set_soc_openlut_extr(int wh, int sc, const bool val);
00087     bool get_soc_openlut_extr(int wh, int sc) const;
00088 
00089     void print() const;
00090 
00091   private:
00092 
00093     int check(int wh, int sc) const;
00094 
00095   private:
00096 
00097     unsigned short int inrec_qual_st1[6][12];
00098     unsigned short int inrec_qual_st2[6][12];
00099     unsigned short int inrec_qual_st3[6][12];
00100     unsigned short int inrec_qual_st4[6][12];
00101 
00102     unsigned short int soc_stdis_n[6][12];
00103     unsigned short int soc_stdis_wl[6][12];
00104     unsigned short int soc_stdis_wr[6][12];
00105     unsigned short int soc_stdis_zl[6][12];
00106     unsigned short int soc_stdis_zr[6][12];
00107 
00108     unsigned short int soc_qcut_st1[6][12];
00109     unsigned short int soc_qcut_st2[6][12];
00110     unsigned short int soc_qcut_st4[6][12];
00111     unsigned short int soc_qual_csc[6][12];
00112 
00113     bool soc_run_21[6][12];
00114     bool soc_nbx_del[6][12];
00115     bool soc_csc_etacanc[6][12];
00116     bool soc_openlut_extr[6][12];
00117 
00118 };
00119 
00120 #endif