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_;
39 
42 
44 };
45 #endif
L1TMuonEndCapForest::DForestColl
std::vector< DForest > DForestColl
Definition: L1TMuonEndCapForest.h:33
L1TMuonEndCapForest::DTreeNode::splitVal
double splitVal
Definition: L1TMuonEndCapForest.h:24
L1TMuonEndCapForest::DTreeNode::iright
unsigned iright
Definition: L1TMuonEndCapForest.h:27
L1TMuonEndCapForest::DForestMap
std::map< int, int > DForestMap
Definition: L1TMuonEndCapForest.h:34
L1TMuonEndCapForest::L1TMuonEndCapForest
L1TMuonEndCapForest()
Definition: L1TMuonEndCapForest.h:40
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
L1TMuonEndCapForest::forest_coll_
DForestColl forest_coll_
Definition: L1TMuonEndCapForest.h:37
L1TMuonEndCapForest::~L1TMuonEndCapForest
~L1TMuonEndCapForest()
Definition: L1TMuonEndCapForest.h:41
L1TMuonEndCapForest::DTreeNode::ileft
unsigned ileft
Definition: L1TMuonEndCapForest.h:26
L1TMuonEndCapForest::DTreeNode::fitVal
double fitVal
Definition: L1TMuonEndCapForest.h:25
L1TMuonEndCapForest::DTreeNode
Definition: L1TMuonEndCapForest.h:17
L1TMuonEndCapForest::DTree
std::vector< DTreeNode > DTree
Definition: L1TMuonEndCapForest.h:31
Serializable.h
L1TMuonEndCapForest::DTreeNode::DTreeNode
DTreeNode()
Definition: L1TMuonEndCapForest.h:19
L1TMuonEndCapForest::DForest
std::vector< DTree > DForest
Definition: L1TMuonEndCapForest.h:32
L1TMuonEndCapForest
Definition: L1TMuonEndCapForest.h:15
L1TMuonEndCapForest::version_
unsigned version_
Definition: L1TMuonEndCapForest.h:36
L1TMuonEndCapForest::DTreeNode::splitVar
int splitVar
Definition: L1TMuonEndCapForest.h:23
L1TMuonEndCapForest::forest_map_
DForestMap forest_map_
Definition: L1TMuonEndCapForest.h:38