CMS 3D CMS Logo

CSCMotherboardME11.h
Go to the documentation of this file.
1 #ifndef L1Trigger_CSCTriggerPrimitives_CSCMotherboardME11_h
2 #define L1Trigger_CSCTriggerPrimitives_CSCMotherboardME11_h
3 
17 
19 {
20  public:
22  CSCMotherboardME11(unsigned endcap, unsigned station, unsigned sector,
23  unsigned subsector, unsigned chamber,
24  const edm::ParameterSet& conf);
25 
28 
30  ~CSCMotherboardME11() override;
31 
34  void run(const CSCWireDigiCollection* wiredc,
35  const CSCComparatorDigiCollection* compdc) override;
36 
38  std::vector<CSCCorrelatedLCTDigi> getLCTs1a() const;
39  std::vector<CSCCorrelatedLCTDigi> getLCTs1b() const;
40 
43  void clear();
44 
46  void setConfigParameters(const CSCDBL1TPParameters* conf);
47 
48  std::vector<CSCCorrelatedLCTDigi> readoutLCTs1a() const;
49  std::vector<CSCCorrelatedLCTDigi> readoutLCTs1b() const;
50 
52  std::vector<CSCCorrelatedLCTDigi> readoutLCTs(int me1ab) const;
53 
54  private:
55 
56  std::unique_ptr<CSCMotherboardLUTME11> cscTmbLUT_;
57 
59  enum {ME1B = 1, ME1A=4};
60 
61  bool doesALCTCrossCLCT(const CSCALCTDigi &a, const CSCCLCTDigi &c) const;
62 
63  void correlateLCTsME11(const CSCALCTDigi& bestALCT,
64  const CSCALCTDigi& secondALCT,
65  const CSCCLCTDigi& bestCLCT,
66  const CSCCLCTDigi& secondCLCT,
68  CSCCorrelatedLCTDigi& lct2) const;
69 
71 };
72 #endif
void setConfigParameters(const CSCDBL1TPParameters *conf)
std::vector< CSCCorrelatedLCTDigi > getLCTs1a() const
void run(const CSCWireDigiCollection *wiredc, const CSCComparatorDigiCollection *compdc) override
void correlateLCTsME11(const CSCALCTDigi &bestALCT, const CSCALCTDigi &secondALCT, const CSCCLCTDigi &bestCLCT, const CSCCLCTDigi &secondCLCT, CSCCorrelatedLCTDigi &lct1, CSCCorrelatedLCTDigi &lct2) const
~CSCMotherboardME11() override
std::unique_ptr< CSCMotherboardLUTME11 > cscTmbLUT_
std::vector< CSCCorrelatedLCTDigi > readoutLCTs1a() const
std::vector< CSCCorrelatedLCTDigi > readoutLCTs1b() const
bool doesALCTCrossCLCT(const CSCALCTDigi &a, const CSCCLCTDigi &c) const
std::vector< CSCCorrelatedLCTDigi > getLCTs1b() const
std::vector< CSCCorrelatedLCTDigi > readoutLCTs() const override
double a
Definition: hdecay.h:121