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 public:
21  CSCMotherboardME11(unsigned endcap,
22  unsigned station,
23  unsigned sector,
24  unsigned subsector,
25  unsigned chamber,
26  const edm::ParameterSet& conf);
27 
30 
32  ~CSCMotherboardME11() override;
33 
36  void run(const CSCWireDigiCollection* wiredc, const CSCComparatorDigiCollection* compdc) override;
37 
39  std::vector<CSCCorrelatedLCTDigi> getLCTs1a() const;
40  std::vector<CSCCorrelatedLCTDigi> getLCTs1b() const;
41 
44  void clear();
45 
47  void setConfigParameters(const CSCDBL1TPParameters* conf);
48 
49  std::vector<CSCCorrelatedLCTDigi> readoutLCTs1a() const;
50  std::vector<CSCCorrelatedLCTDigi> readoutLCTs1b() const;
51 
53  std::vector<CSCCorrelatedLCTDigi> readoutLCTs(int me1ab) const;
54 
55 private:
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:119