CMS 3D CMS Logo

ConditionHelper.h
Go to the documentation of this file.
1 #ifndef L1TMuonEndCap_ConditionHelper_h
2 #define L1TMuonEndCap_ConditionHelper_h
3 
5 
6 // forwards
7 namespace edm {
8  class Event;
9  class EventSetup;
10 } // namespace edm
11 
14 class PtAssignmentEngine;
15 
16 // class declaration
18 public:
20  ~ConditionHelper();
21 
22  void checkAndUpdateConditions(const edm::Event& iEvent, const edm::EventSetup& iSetup);
23 
24  const L1TMuonEndCapParams& getParams() const { return *params_; }
25  const L1TMuonEndCapForest& getForest() const { return *forest_; }
26 
27  // EMTF firmware is defined by three numbers:
28  // 1. FW version for the core logic
29  // 2. pT assignment LUT
30  // 3. coordinate conversion LUT
31  unsigned int get_fw_version() const;
32  unsigned int get_pt_lut_version() const;
33  unsigned int get_pc_lut_version() const;
34 
35 private:
36  unsigned long long params_cache_id_;
37  unsigned long long forest_cache_id_;
38 
41 };
42 
43 #endif
edm::ESHandle< L1TMuonEndCapParams > params_
const L1TMuonEndCapParams & getParams() const
edm::ESHandle< L1TMuonEndCapForest > forest_
int iEvent
Definition: GenABIO.cc:224
const L1TMuonEndCapForest & getForest() const
HLT enums.
unsigned long long params_cache_id_
unsigned long long forest_cache_id_