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 }
11 
14 class PtAssignmentEngine;
15 
16 
17 // class declaration
19 public:
21  ~ConditionHelper();
22 
23  void checkAndUpdateConditions(const edm::Event& iEvent, const edm::EventSetup& iSetup);
24 
25  const L1TMuonEndCapParams& getParams() const { return *params_; }
26  const L1TMuonEndCapForest& getForest() const { return *forest_; }
27 
28  // EMTF firmware is defined by three numbers:
29  // 1. FW version for the core logic
30  // 2. pT assignment LUT
31  // 3. coordinate conversion LUT
32  unsigned int get_fw_version() const;
33  unsigned int get_pt_lut_version() const;
34  unsigned int get_pc_lut_version() const;
35 
36 private:
37  unsigned long long params_cache_id_;
38  unsigned long long forest_cache_id_;
39 
42 };
43 
44 
45 #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_