CMS 3D CMS Logo

L1TMuonEndCapForest.h
Go to the documentation of this file.
1 //
2 // L1TMuonEndCapForests: Collection of Decision Tree Forests used to fill EMTF LUTs.
3 //
4 
5 #ifndef l1t_L1TMuonEndCapForest_h
6 #define l1t_L1TMuonEndCapForest_h
7 
8 #include <memory>
9 #include <iostream>
10 #include <vector>
11 #include <map>
12 
14 
16 public:
17  class DTreeNode {
18  public:
20  splitVar = ileft = iright = 0;
21  splitVal = fitVal = 0.0;
22  }
23  int splitVar;
24  double splitVal;
25  double fitVal;
26  unsigned ileft;
27  unsigned iright;
28 
30  };
31  typedef std::vector<DTreeNode> DTree;
32  typedef std::vector<DTree> DForest;
33  typedef std::vector<DForest> DForestColl;
34  typedef std::map<int, int> DForestMap;
35 
36  unsigned version_;
37  DForestColl forest_coll_;
38  DForestMap forest_map_;
39 
40  L1TMuonEndCapForest() { version_ = 0; }
42 
44 };
45 #endif
std::map< int, int > DForestMap
std::vector< DForest > DForestColl
std::vector< DTree > DForest
std::vector< DTreeNode > DTree
#define COND_SERIALIZABLE
Definition: Serializable.h:38