63 : fDataVector(event->GetValues()),
64 fCweight(C_par*event->GetWeight()),
68 fNVar ( event->GetNVariables() ),
69 fTypeFlag( isSignal ? -1 : 1 ),
70 fIdx ( isSignal ? -1 : 1 ),
74 fTarget((event->GetNTargets() > 0 ? event->GetTarget(0) : 0))
82 : fDataVector(*svector),
87 fNVar(svector->size()),
101 : fDataVector(*svector),
106 fNVar(svector->size()),
132 os <<
"type::" << fTypeFlag <<
" target::"<< fTarget <<
" alpha::" << fAlpha <<
" alpha_p::"<< fAlpha_p<<
" values::" ;
133 for (
UInt_t j =0; j < fDataVector.size();j++) os<<fDataVector.at(j)<<
" ";
142 for (
UInt_t i = 0; i < fNVar; i++) std::cout<<fDataVector.at(i)<<
" ";
143 std::cout<<std::endl;
Event class for Support Vector Machine.
virtual ~SVEvent()
destructor
void Print(std::ostream &os) const
printout
static constexpr double ns