29 #ifndef ROOT_TMVA_DataSetFactory 30 #define ROOT_TMVA_DataSetFactory 59 class DataInputHandler;
84 template<
typename T >
109 template <
typename F>
116 template <
typename F,
typename G,
typename H>
118 typename H::argument_type,
119 typename F::result_type>
130 typename F::result_type
operator()(
const typename G::argument_type& argG,
131 const typename H::argument_type& argH)
const 133 return f(
g(argG),
h(argH));
137 template <
typename F,
typename G,
typename H>
145 template <
typename F,
typename G>
147 typename F::result_type>
157 typename F::result_type
operator()(
const typename G::argument_type& argG)
const 163 template <
typename F,
typename G>
197 nTrainingEventsRequested(0),
198 nTestingEventsRequested(0),
199 TrainTestSplitRequested(0),
231 EventVectorOfClassesOfTreeType& eventsmap,
232 EvtStatsPerClass& eventCounts);
235 EventVectorOfClassesOfTreeType& eventsmap,
236 EvtStatsPerClass& eventCounts,
243 EventVectorOfClassesOfTreeType& eventsmap,
244 const EvtStatsPerClass& eventCounts,
248 EvtStatsPerClass& eventsmap,
261 void ResetBranchAndEventAddresses(
TTree* );
F operator()(const F &argF) const
std::vector< EventVector > EventVectorOfClasses
std::vector< TTreeFormula * > fInputFormulas
std::vector< TTreeFormula * > fCutFormulas
std::vector< Double_t > ValuePerClass
compose_unary_t< F, G > compose_unary(const F &_f, const G &_g)
compose_unary_t(const F &_f, const G &_g)
DeleteFunctor_t & operator()(const T *p)
compose_binary_t(const F &_f, const G &_g, const H &_h)
std::vector< int > NumberPerClass
Int_t nTestingEventsRequested
std::map< Types::ETreeType, EventVectorOfClasses > EventVectorOfClassesOfTreeType
#define ClassDef(name, id)
MsgLogger & Log() const
message logger
std::vector< TTreeFormula * > fWeightFormula
Class that contains all the data information.
DeleteFunctor_t< const T > DeleteFunctor()
Class that contains all the data information.
Class that contains all the data information.
Bool_t fScaleWithPreselEff
std::vector< TTreeFormula * > fSpectatorFormulas
std::vector< TTreeFormula * > fTargetFormulas
std::vector< Event *> EventVector
F::result_type operator()(const typename G::argument_type &argG) const
Float_t TrainTestSplitRequested
compose_binary_t< F, G, H > compose_binary(const F &_f, const G &_g, const H &_h)
std::map< Types::ETreeType, EventVector > EventVectorOfTreeType
F::result_type operator()(const typename G::argument_type &argG, const typename H::argument_type &argH) const
ostringstream derivative to redirect and format output
Mother of all ROOT objects.
Abstract ClassifierFactory template that handles arbitrary types.
std::vector< EventStats > EvtStatsPerClass
Int_t nTrainingEventsRequested
A TTree object has a header with a name and a title.
std::map< Types::ETreeType, ValuePerClass > ValuePerClassOfTreeType
Float_t cutScaling() const