CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCMotherboardME11.h
Go to the documentation of this file.
1 #ifndef CSCTriggerPrimitives_CSCMotherboardME11_h
2 #define CSCTriggerPrimitives_CSCMotherboardME11_h
3 
20 
22 {
23  public:
25  CSCMotherboardME11(unsigned endcap, unsigned station, unsigned sector,
26  unsigned subsector, unsigned chamber,
27  const edm::ParameterSet& conf);
28 
31 
34 
37  void run(const CSCWireDigiCollection* wiredc,
38  const CSCComparatorDigiCollection* compdc);
39 
41  std::vector<CSCCorrelatedLCTDigi> getLCTs1a();
42  std::vector<CSCCorrelatedLCTDigi> getLCTs1b();
43 
45  std::vector<CSCALCTDigi> getALCTs1b() {return alctV;}
46 
48  std::vector<CSCCLCTDigi> getCLCTs1a() {return clctV1a;}
49  std::vector<CSCCLCTDigi> getCLCTs1b() {return clctV1b;}
50 
53  void clear();
54 
56  void setConfigParameters(const CSCDBL1TPParameters* conf);
57 
60 
61  std::vector<CSCCorrelatedLCTDigi> readoutLCTs1a();
62  std::vector<CSCCorrelatedLCTDigi> readoutLCTs1b();
63  std::vector<CSCCorrelatedLCTDigi> readoutLCTs(int me1ab);
64 
65  private:
66 
68  enum {ME1B = 1, ME1A=4};
69 
70  static const int lut_wg_vs_hs_me1b[48][2];
71  static const int lut_wg_vs_hs_me1a[48][2];
72  static const int lut_wg_vs_hs_me1ag[48][2];
73 
76 
77  bool doesALCTCrossCLCT(CSCALCTDigi &a, CSCCLCTDigi &c, int me);
78 
80  //CSCCorrelatedLCTDigi firstLCT1a[MAX_LCT_BINS];
81 
83  //CSCCorrelatedLCTDigi secondLCT1a[MAX_LCT_BINS];
84 
89 
90  void correlateLCTs(CSCALCTDigi bestALCT, CSCALCTDigi secondALCT,
91  CSCCLCTDigi bestCLCT, CSCCLCTDigi secondCLCT,
93 
94  void correlateLCTs(CSCALCTDigi bestALCT, CSCALCTDigi secondALCT,
95  CSCCLCTDigi bestCLCT, CSCCLCTDigi secondCLCT,
96  CSCCorrelatedLCTDigi& lct1, CSCCorrelatedLCTDigi& lct2, int me);
97 
98  std::vector<CSCALCTDigi> alctV;
99  std::vector<CSCCLCTDigi> clctV1b;
100  std::vector<CSCCLCTDigi> clctV1a;
101 
104 
107 
111 
115 
116  unsigned int tmb_cross_bx_algo;
117 
119  unsigned int max_me11_lcts;
120 };
121 #endif
std::vector< CSCCLCTDigi > clctV1a
CSCCorrelatedLCTDigi allLCTs1b[MAX_LCT_BINS][15][2]
void run(const CSCWireDigiCollection *wiredc, const CSCComparatorDigiCollection *compdc)
void setConfigParameters(const CSCDBL1TPParameters *conf)
std::vector< CSCCorrelatedLCTDigi > readoutLCTs()
int pref[MAX_LCT_BINS]
unsigned int max_me11_lcts
static const int lut_wg_vs_hs_me1a[48][2]
std::vector< CSCCorrelatedLCTDigi > getLCTs1b()
void correlateLCTs(CSCALCTDigi bestALCT, CSCALCTDigi secondALCT, CSCCLCTDigi bestCLCT, CSCCLCTDigi secondCLCT, CSCCorrelatedLCTDigi &lct1, CSCCorrelatedLCTDigi &lct2)
std::vector< CSCALCTDigi > getALCTs1b()
unsigned int tmb_cross_bx_algo
CSCCorrelatedLCTDigi allLCTs1a[MAX_LCT_BINS][15][2]
std::vector< CSCALCTDigi > alctV
std::vector< CSCCLCTDigi > getCLCTs1a()
static const int lut_wg_vs_hs_me1b[48][2]
static const int lut_wg_vs_hs_me1ag[48][2]
tuple conf
Definition: dbtoconf.py:185
std::vector< CSCCorrelatedLCTDigi > getLCTs1a()
std::vector< CSCCLCTDigi > clctV1b
double a
Definition: hdecay.h:121
bool doesALCTCrossCLCT(CSCALCTDigi &a, CSCCLCTDigi &c, int me)
std::vector< CSCCLCTDigi > getCLCTs1b()
std::vector< CSCCorrelatedLCTDigi > readoutLCTs1b()
CSCCathodeLCTProcessor * clct1a
std::vector< CSCCorrelatedLCTDigi > readoutLCTs1a()