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 
18  class DTreeNode {
19  public:
21  int splitVar;
22  double splitVal;
23  double fitVal;
24  unsigned ileft;
25  unsigned iright;
26 
28  };
29  typedef std::vector<DTreeNode> DTree;
30  typedef std::vector<DTree> DForest;
31  typedef std::vector<DForest> DForestColl;
32  typedef std::map<int,int> DForestMap;
33 
34  unsigned version_;
35  DForestColl forest_coll_;
36  DForestMap forest_map_;
37 
38  L1TMuonEndCapForest() { version_=0; }
40 
42 };
43 #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