1 #ifndef l1t_ForestHelper_h_ 2 #define l1t_ForestHelper_h_ 35 #include "TXMLEngine.h" 63 void print(std::ostream&)
const;
L1TMuonEndCapForest::DTreeNode DTreeNode
void loadTreeFromXMLRecursive(TXMLEngine *xml, XMLNodePointer_t xnode, DTree &tree, unsigned index)
static ForestHelper * readAndWriteFromEventSetup(const L1TMuonEndCapForest *es)
L1TMuonEndCapForest * getWriteInstance()
L1TMuonEndCapForest::DForestMap DForestMap
const L1TMuonEndCapForest * getReadInstance() const
std::map< int, int > DForestMap
void initializeFromXML(const char *dirname, const std::vector< int > &modes, int ntrees)
std::vector< DForest > DForestColl
L1TMuonEndCapForest::DTree DTree
ForestHelper(L1TMuonEndCapForest *w)
const L1TMuonEndCapForest * read_
std::vector< DTree > DForest
void print(std::ostream &) const
L1TMuonEndCapForest::DForest DForest
std::vector< DTreeNode > DTree
double evalTreeRecursive(const std::vector< double > &data, const DTree &tree, int index) const
L1TMuonEndCapForest * write_
L1TMuonEndCapForest::DForestColl DForestColl
char data[epos_bytes_allocation]
double evaluate(int mode, const std::vector< double > &data) const
static const ForestHelper * readFromEventSetup(const L1TMuonEndCapForest *es)