CSCL1TPLookupTableME11ILT

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
#ifndef CondFormats_CSCObjects_CSCL1TPLookupTableME11ILT_h
#define CondFormats_CSCObjects_CSCL1TPLookupTableME11ILT_h

#include "CondFormats/Serialization/interface/Serializable.h"
#include <vector>

class CSCL1TPLookupTableME11ILT {
public:
  CSCL1TPLookupTableME11ILT();

  ~CSCL1TPLookupTableME11ILT() {}

  typedef std::vector<unsigned> t_lut;

  // setters
  void set_GEM_pad_CSC_es_ME11b_even(t_lut lut);
  void set_GEM_pad_CSC_es_ME11a_even(t_lut lut);
  void set_GEM_pad_CSC_es_ME11b_odd(t_lut lut);
  void set_GEM_pad_CSC_es_ME11a_odd(t_lut lut);

  void set_GEM_roll_CSC_min_wg_ME11_even(t_lut lut);
  void set_GEM_roll_CSC_max_wg_ME11_even(t_lut lut);
  void set_GEM_roll_CSC_min_wg_ME11_odd(t_lut lut);
  void set_GEM_roll_CSC_max_wg_ME11_odd(t_lut lut);

  // GEM-CSC trigger: slope correction
  void set_CSC_slope_cosi_2to1_L1_ME11a_even(t_lut lut);
  void set_CSC_slope_cosi_2to1_L1_ME11a_odd(t_lut lut);
  void set_CSC_slope_cosi_3to1_L1_ME11a_even(t_lut lut);
  void set_CSC_slope_cosi_3to1_L1_ME11a_odd(t_lut lut);

  void set_CSC_slope_cosi_2to1_L1_ME11b_even(t_lut lut);
  void set_CSC_slope_cosi_2to1_L1_ME11b_odd(t_lut lut);
  void set_CSC_slope_cosi_3to1_L1_ME11b_even(t_lut lut);
  void set_CSC_slope_cosi_3to1_L1_ME11b_odd(t_lut lut);

  void set_CSC_slope_cosi_corr_L1_ME11a_even(t_lut lut);
  void set_CSC_slope_cosi_corr_L1_ME11b_even(t_lut lut);
  void set_CSC_slope_cosi_corr_L1_ME11a_odd(t_lut lut);
  void set_CSC_slope_cosi_corr_L1_ME11b_odd(t_lut lut);

  void set_CSC_slope_corr_L1_ME11a_even(t_lut lut);
  void set_CSC_slope_corr_L1_ME11b_even(t_lut lut);
  void set_CSC_slope_corr_L1_ME11a_odd(t_lut lut);
  void set_CSC_slope_corr_L1_ME11b_odd(t_lut lut);
  void set_CSC_slope_corr_L2_ME11a_even(t_lut lut);
  void set_CSC_slope_corr_L2_ME11b_even(t_lut lut);
  void set_CSC_slope_corr_L2_ME11a_odd(t_lut lut);
  void set_CSC_slope_corr_L2_ME11b_odd(t_lut lut);

  void set_es_diff_slope_L1_ME11a_even(t_lut lut);
  void set_es_diff_slope_L1_ME11a_odd(t_lut lut);
  void set_es_diff_slope_L1_ME11b_even(t_lut lut);
  void set_es_diff_slope_L1_ME11b_odd(t_lut lut);
  void set_es_diff_slope_L2_ME11a_even(t_lut lut);
  void set_es_diff_slope_L2_ME11a_odd(t_lut lut);
  void set_es_diff_slope_L2_ME11b_even(t_lut lut);
  void set_es_diff_slope_L2_ME11b_odd(t_lut lut);

  // getters
  unsigned GEM_pad_CSC_es_ME11b_even(unsigned pad) const;
  unsigned GEM_pad_CSC_es_ME11a_even(unsigned pad) const;
  unsigned GEM_pad_CSC_es_ME11b_odd(unsigned pad) const;
  unsigned GEM_pad_CSC_es_ME11a_odd(unsigned pad) const;

  unsigned GEM_roll_CSC_min_wg_ME11_even(unsigned roll) const;
  unsigned GEM_roll_CSC_max_wg_ME11_even(unsigned roll) const;
  unsigned GEM_roll_CSC_min_wg_ME11_odd(unsigned roll) const;
  unsigned GEM_roll_CSC_max_wg_ME11_odd(unsigned roll) const;

  // GEM-CSC trigger: slope correction
  unsigned CSC_slope_cosi_2to1_L1_ME11a_even(unsigned channel) const;
  unsigned CSC_slope_cosi_2to1_L1_ME11a_odd(unsigned channel) const;
  unsigned CSC_slope_cosi_3to1_L1_ME11a_even(unsigned channel) const;
  unsigned CSC_slope_cosi_3to1_L1_ME11a_odd(unsigned channel) const;

  unsigned CSC_slope_cosi_2to1_L1_ME11b_even(unsigned channel) const;
  unsigned CSC_slope_cosi_2to1_L1_ME11b_odd(unsigned channel) const;
  unsigned CSC_slope_cosi_3to1_L1_ME11b_even(unsigned channel) const;
  unsigned CSC_slope_cosi_3to1_L1_ME11b_odd(unsigned channel) const;

  unsigned CSC_slope_cosi_corr_L1_ME11a_even(unsigned channel) const;
  unsigned CSC_slope_cosi_corr_L1_ME11b_even(unsigned channel) const;
  unsigned CSC_slope_cosi_corr_L1_ME11a_odd(unsigned channel) const;
  unsigned CSC_slope_cosi_corr_L1_ME11b_odd(unsigned channel) const;

  unsigned CSC_slope_corr_L1_ME11a_even(unsigned channel) const;
  unsigned CSC_slope_corr_L1_ME11b_even(unsigned channel) const;
  unsigned CSC_slope_corr_L1_ME11a_odd(unsigned channel) const;
  unsigned CSC_slope_corr_L1_ME11b_odd(unsigned channel) const;
  unsigned CSC_slope_corr_L2_ME11a_even(unsigned channel) const;
  unsigned CSC_slope_corr_L2_ME11b_even(unsigned channel) const;
  unsigned CSC_slope_corr_L2_ME11a_odd(unsigned channel) const;
  unsigned CSC_slope_corr_L2_ME11b_odd(unsigned channel) const;

  // GEM-CSC trigger: 1/8-strip difference to slope
  unsigned es_diff_slope_L1_ME11a_even(unsigned es_diff) const;
  unsigned es_diff_slope_L1_ME11a_odd(unsigned es_diff) const;
  unsigned es_diff_slope_L1_ME11b_even(unsigned es_diff) const;
  unsigned es_diff_slope_L1_ME11b_odd(unsigned es_diff) const;
  unsigned es_diff_slope_L2_ME11a_even(unsigned es_diff) const;
  unsigned es_diff_slope_L2_ME11a_odd(unsigned es_diff) const;
  unsigned es_diff_slope_L2_ME11b_even(unsigned es_diff) const;
  unsigned es_diff_slope_L2_ME11b_odd(unsigned es_diff) const;

private:
  t_lut GEM_pad_CSC_es_ME11b_even_;
  t_lut GEM_pad_CSC_es_ME11a_even_;
  t_lut GEM_pad_CSC_es_ME11b_odd_;
  t_lut GEM_pad_CSC_es_ME11a_odd_;

  t_lut GEM_roll_CSC_min_wg_ME11_even_;
  t_lut GEM_roll_CSC_max_wg_ME11_even_;
  t_lut GEM_roll_CSC_min_wg_ME11_odd_;
  t_lut GEM_roll_CSC_max_wg_ME11_odd_;

  t_lut CSC_slope_cosi_2to1_L1_ME11a_even_;
  t_lut CSC_slope_cosi_2to1_L1_ME11a_odd_;
  t_lut CSC_slope_cosi_3to1_L1_ME11a_even_;
  t_lut CSC_slope_cosi_3to1_L1_ME11a_odd_;

  t_lut CSC_slope_cosi_2to1_L1_ME11b_even_;
  t_lut CSC_slope_cosi_2to1_L1_ME11b_odd_;
  t_lut CSC_slope_cosi_3to1_L1_ME11b_even_;
  t_lut CSC_slope_cosi_3to1_L1_ME11b_odd_;

  t_lut CSC_slope_cosi_corr_L1_ME11a_even_;
  t_lut CSC_slope_cosi_corr_L1_ME11b_even_;
  t_lut CSC_slope_cosi_corr_L1_ME11a_odd_;
  t_lut CSC_slope_cosi_corr_L1_ME11b_odd_;

  t_lut CSC_slope_corr_L1_ME11a_even_;
  t_lut CSC_slope_corr_L1_ME11b_even_;
  t_lut CSC_slope_corr_L1_ME11a_odd_;
  t_lut CSC_slope_corr_L1_ME11b_odd_;
  t_lut CSC_slope_corr_L2_ME11a_even_;
  t_lut CSC_slope_corr_L2_ME11b_even_;
  t_lut CSC_slope_corr_L2_ME11a_odd_;
  t_lut CSC_slope_corr_L2_ME11b_odd_;

  t_lut es_diff_slope_L1_ME11a_even_;
  t_lut es_diff_slope_L1_ME11a_odd_;
  t_lut es_diff_slope_L1_ME11b_even_;
  t_lut es_diff_slope_L1_ME11b_odd_;
  t_lut es_diff_slope_L2_ME11a_even_;
  t_lut es_diff_slope_L2_ME11a_odd_;
  t_lut es_diff_slope_L2_ME11b_even_;
  t_lut es_diff_slope_L2_ME11b_odd_;

  COND_SERIALIZABLE;
};

#endif