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 public:
20  unsigned station,
21  unsigned sector,
22  unsigned subsector,
23  unsigned chamber,
24  const edm::ParameterSet& conf);
25 
28 
30  ~CSCGEMMotherboardME21() override;
31 
34  void run(const CSCWireDigiCollection* wiredc,
35  const CSCComparatorDigiCollection* compdc,
36  const GEMPadDigiClusterCollection* gemPads) override;
37 
38  void run(const CSCWireDigiCollection* wiredc,
39  const CSCComparatorDigiCollection* compdc,
40  const GEMPadDigiCollection* gemPads) override;
41 
42  /* readout the two best LCTs in this CSC */
43  std::vector<CSCCorrelatedLCTDigi> readoutLCTs() const override;
44 
45 private:
46  /* access to the LUTs needed for matching */
47  const CSCGEMMotherboardLUTME21* getLUT() const override { return tmbLUT_.get(); }
48  std::unique_ptr<CSCGEMMotherboardLUTME21> tmbLUT_;
49 
50  /* does wiregroup cross halfstrip or not */
51  bool doesWiregroupCrossStrip(int key_wg, int key_strip) const override { return true; }
52 
53  /* correlate a pair of ALCTs and a pair of CLCTs with matched pads or copads
54  the output is up to two LCTs in a sector of ME21 */
55  void correlateLCTsGEM(const CSCALCTDigi& bestALCT,
56  const CSCALCTDigi& secondALCT,
57  const CSCCLCTDigi& bestCLCT,
58  const CSCCLCTDigi& secondCLCT,
59  const GEMPadDigiIds& pads,
60  const GEMCoPadDigiIds& copads,
62  CSCCorrelatedLCTDigi& lct2) const;
63 
64  // drop low quality stubs if they don't have GEMs
67 
68  // build LCT from ALCT and GEM
71 };
72 #endif
relativeConstraints.station
station
Definition: relativeConstraints.py:67
CSCGEMMotherboardME21::run
void run(const CSCWireDigiCollection *wiredc, const CSCComparatorDigiCollection *compdc, const GEMPadDigiClusterCollection *gemPads) override
Definition: CSCGEMMotherboardME21.cc:30
CSCGEMMotherboardME21::readoutLCTs
std::vector< CSCCorrelatedLCTDigi > readoutLCTs() const override
Definition: CSCGEMMotherboardME21.cc:432
CSCGEMMotherboardME21::doesWiregroupCrossStrip
bool doesWiregroupCrossStrip(int key_wg, int key_strip) const override
Definition: CSCGEMMotherboardME21.h:51
makeMuonMisalignmentScenario.endcap
endcap
Definition: makeMuonMisalignmentScenario.py:320
CSCGEMMotherboardME21::buildLCTfromALCTandGEM_
bool buildLCTfromALCTandGEM_
Definition: CSCGEMMotherboardME21.h:69
CSCGEMMotherboard.h
CSCCLCTDigi
Definition: CSCCLCTDigi.h:17
CSCGEMMotherboardME21::buildLCTfromCLCTandGEM_
bool buildLCTfromCLCTandGEM_
Definition: CSCGEMMotherboardME21.h:70
CSCGEMMotherboardME21::getLUT
const CSCGEMMotherboardLUTME21 * getLUT() const override
Definition: CSCGEMMotherboardME21.h:47
CSCGEMMotherboardME21
Definition: CSCGEMMotherboardME21.h:16
CSCGEMMotherboardME21::~CSCGEMMotherboardME21
~CSCGEMMotherboardME21() override
Definition: CSCGEMMotherboardME21.cc:28
GEMPadDigiCollection
CSCGEMMotherboardME21::dropLowQualityCLCTsNoGEMs_
bool dropLowQualityCLCTsNoGEMs_
Definition: CSCGEMMotherboardME21.h:65
GEMPadDigiClusterCollection
CSCGEMMotherboardME21::dropLowQualityALCTsNoGEMs_
bool dropLowQualityALCTsNoGEMs_
Definition: CSCGEMMotherboardME21.h:66
GEMCoPadDigiIds
matches< GEMCoPadDigi > GEMCoPadDigiIds
Definition: CSCGEMMotherboard.h:26
CSCGEMMotherboardLUTME21
Definition: CSCUpgradeMotherboardLUT.h:103
edm::ParameterSet
Definition: ParameterSet.h:36
CSCComparatorDigiCollection
CSCGEMMotherboardME21::tmbLUT_
std::unique_ptr< CSCGEMMotherboardLUTME21 > tmbLUT_
Definition: CSCGEMMotherboardME21.h:48
CSCGEMMotherboard
Definition: CSCGEMMotherboard.h:29
CSCWireDigiCollection
CSCGEMMotherboardME21::CSCGEMMotherboardME21
CSCGEMMotherboardME21()
Definition: CSCGEMMotherboardME21.cc:22
CSCALCTDigi
Definition: CSCALCTDigi.h:16
relativeConstraints.chamber
chamber
Definition: relativeConstraints.py:53
CSCGEMMotherboardME21::correlateLCTsGEM
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
Definition: CSCGEMMotherboardME21.cc:442
GEMPadDigiIds
matches< GEMPadDigi > GEMPadDigiIds
Definition: CSCGEMMotherboard.h:22
CSCCorrelatedLCTDigi
Definition: CSCCorrelatedLCTDigi.h:19