CMS 3D CMS Logo

OutputLayer.h
Go to the documentation of this file.
1 #ifndef L1Trigger_L1TMuonEndCapPhase2_OutputLayer_h
2 #define L1Trigger_L1TMuonEndCapPhase2_OutputLayer_h
3 
4 #include <array>
5 #include <vector>
6 
10 
11 namespace emtf::phase2::algo {
12 
13  class OutputLayer {
14  public:
15  OutputLayer(const EMTFContext&);
16 
17  ~OutputLayer() = default;
18 
19  void apply(const int&,
20  const int&,
21  const int&,
22  const std::map<int, int>&,
23  const std::vector<track_t>&,
24  const bool&,
25  EMTFTrackCollection&) const;
26 
27  private:
29 
30  std::array<float, 60> prompt_pt_calibration_lut_;
31  std::array<float, 60> disp_pt_calibration_lut_;
32  std::array<float, 60> disp_dxy_calibration_lut_;
33 
34  int findEMTFModeV1(const track_t::site_mask_t&) const;
35 
36  int findEMTFModeV2(const track_t::site_mask_t&) const;
37 
38  int findEMTFQuality(const track_t&, const int&, const int&) const;
39  };
40 
41 } // namespace emtf::phase2::algo
42 
43 #endif // L1Trigger_L1TMuonEndCapPhase2_OutputLayer_h not defined
const EMTFContext & context_
Definition: OutputLayer.h:28
int findEMTFQuality(const track_t &, const int &, const int &) const
Definition: OutputLayer.cc:227
l1t::phase2::EMTFTrackCollection EMTFTrackCollection
Definition: EMTFTypes.h:31
int findEMTFModeV2(const track_t::site_mask_t &) const
Definition: OutputLayer.cc:166
int findEMTFModeV1(const track_t::site_mask_t &) const
Definition: OutputLayer.cc:109
std::array< float, 60 > prompt_pt_calibration_lut_
Definition: OutputLayer.h:30
std::array< float, 60 > disp_pt_calibration_lut_
Definition: OutputLayer.h:31
std::array< float, 60 > disp_dxy_calibration_lut_
Definition: OutputLayer.h:32
OutputLayer(const EMTFContext &)
Definition: OutputLayer.cc:12
void apply(const int &, const int &, const int &, const std::map< int, int > &, const std::vector< track_t > &, const bool &, EMTFTrackCollection &) const
Definition: OutputLayer.cc:14
std::array< trk_site_bit_t, v3::kNumTrackSites > site_mask_t
Definition: EMTFTypes.h:118