CMS 3D CMS Logo

CSCGEMMotherboardME21.h
Go to the documentation of this file.
1 #ifndef L1Trigger_CSCTriggerPrimitives_CSCGEMMotherboardME21_h
2 #define L1Trigger_CSCTriggerPrimitives_CSCGEMMotherboardME21_h
3 
15 
17 {
18  public:
19 
21  CSCGEMMotherboardME21(unsigned endcap, unsigned station, unsigned sector,
22  unsigned subsector, unsigned chamber,
23  const edm::ParameterSet& conf);
24 
27 
29  ~CSCGEMMotherboardME21() override;
30 
33  void run(const CSCWireDigiCollection* wiredc,
34  const CSCComparatorDigiCollection* compdc,
35  const GEMPadDigiCollection* gemPads) override;
36 
37  /* readout the two best LCTs in this CSC */
38  std::vector<CSCCorrelatedLCTDigi> readoutLCTs() const override;
39 
40  private:
41 
42  /* access to the LUTs needed for matching */
43  const CSCGEMMotherboardLUTME21* getLUT() const override {return tmbLUT_.get();}
44  std::unique_ptr<CSCGEMMotherboardLUTME21> tmbLUT_;
45 
46  /* correlate a pair of ALCTs and a pair of CLCTs with matched pads or copads
47  the output is up to two LCTs in a sector of ME21 */
48  void correlateLCTsGEM(const CSCALCTDigi& bestALCT,
49  const CSCALCTDigi& secondALCT,
50  const CSCCLCTDigi& bestCLCT,
51  const CSCCLCTDigi& secondCLCT,
52  const GEMPadDigiIds& pads,
53  const GEMCoPadDigiIds& copads,
55  CSCCorrelatedLCTDigi& lct2) const;
56 
57  // drop low quality stubs if they don't have GEMs
60 
61  // build LCT from ALCT and GEM
64 };
65 #endif
void run(const CSCWireDigiCollection *wiredc, const CSCComparatorDigiCollection *compdc, const GEMPadDigiCollection *gemPads) override
void correlateLCTsGEM(const CSCALCTDigi &bestALCT, const CSCALCTDigi &secondALCT, const CSCCLCTDigi &bestCLCT, const CSCCLCTDigi &secondCLCT, const GEMPadDigiIds &pads, const GEMCoPadDigiIds &copads, CSCCorrelatedLCTDigi &lct1, CSCCorrelatedLCTDigi &lct2) const
matches< GEMCoPadDigi > GEMCoPadDigiIds
std::unique_ptr< CSCGEMMotherboardLUTME21 > tmbLUT_
std::vector< CSCCorrelatedLCTDigi > readoutLCTs() const override
matches< GEMPadDigi > GEMPadDigiIds
const CSCGEMMotherboardLUTME21 * getLUT() const override