CMS 3D CMS Logo

ActivationLut.h
Go to the documentation of this file.
1 #ifndef L1Trigger_L1TMuonEndCapPhase2_ActivationLut_h
2 #define L1Trigger_L1TMuonEndCapPhase2_ActivationLut_h
3 
4 #include <vector>
5 
8 
11 
12 namespace emtf::phase2::data {
13 
14  class ActivationLut {
15  public:
16  ActivationLut();
17 
19 
20  void update(const edm::Event&, const edm::EventSetup&);
21 
22  const trk_pt_t& lookupPromptPt(const trk_nn_address_t&) const;
23  const trk_pt_t& lookupDispPt(const trk_nn_address_t&) const;
24  const trk_rels_t& lookupRels(const trk_nn_address_t&) const;
25  const trk_dxy_t& lookupDxy(const trk_nn_address_t&) const;
26 
27  private:
28  std::vector<trk_pt_t> prompt_pt_lut_;
29  std::vector<trk_pt_t> disp_pt_lut_;
30  std::vector<trk_rels_t> rels_lut_;
31  std::vector<trk_dxy_t> dxy_lut_;
32  };
33 
34 } // namespace emtf::phase2::data
35 
36 #endif // L1Trigger_L1TMuonEndCapPhase2_ActivationLut_h
std::vector< trk_dxy_t > dxy_lut_
Definition: ActivationLut.h:31
ap_uint< 13 > trk_pt_t
Definition: EMTFTypes.h:103
std::vector< trk_rels_t > rels_lut_
Definition: ActivationLut.h:30
void update(const edm::Event &, const edm::EventSetup &)
ap_int< 10 > trk_nn_address_t
Definition: EMTFTypes.h:114
std::vector< trk_pt_t > prompt_pt_lut_
Definition: ActivationLut.h:28
ap_int< 7 > trk_dxy_t
Definition: EMTFTypes.h:105
const trk_pt_t & lookupPromptPt(const trk_nn_address_t &) const
const trk_pt_t & lookupDispPt(const trk_nn_address_t &) const
const trk_dxy_t & lookupDxy(const trk_nn_address_t &) const
std::vector< trk_pt_t > disp_pt_lut_
Definition: ActivationLut.h:29
const trk_rels_t & lookupRels(const trk_nn_address_t &) const
ap_uint< 7 > trk_rels_t
Definition: EMTFTypes.h:104