31#ifndef ROOT_TMVA_Event 
   32#define ROOT_TMVA_Event 
   60      explicit Event( 
const std::vector<Float_t>& values,
 
   61                      const std::vector<Float_t>& targetValues,
 
   62                      const std::vector<Float_t>& spectatorValues,
 
   64      explicit Event( 
const std::vector<Float_t>& values,
 
   65                      const std::vector<Float_t>& targetValues,
 
   67      explicit Event( 
const std::vector<Float_t>&,
 
   69      explicit Event( 
const std::vector<Float_t*>*&, 
UInt_t nvar );
 
   98            return const_cast<std::vector<Float_t>&
>( 
static_cast<const Event&
>(*this).
GetValues() );
 
  100      const std::vector<Float_t>& 
GetValues() 
const;
 
  124      void     Print        ( std::ostream & o ) 
const;
 
#define ClassDef(name, id)
 
A specialized string object used for TTree selections.
 
std::vector< Float_t > fValues
 
void ScaleBoostWeight(Double_t s) const
 
static Bool_t fgIsTraining
 
void SetBoostWeight(Double_t w) const
 
Float_t GetValue(UInt_t ivar) const
return value of i'th variable
 
void SetTarget(UInt_t itgt, Float_t value)
set the target value (dimension itgt) to value
 
std::vector< Float_t > fTargets
the event values
 
std::vector< Float_t > & GetTargets()
 
static void ClearDynamicVariables()
 
std::vector< Float_t > fSpectators
 
UInt_t GetNSpectators() const
accessor to the number of spectators
 
std::vector< UInt_t > fVariableArrangement
 
void SetWeight(Double_t w)
 
Double_t GetOriginalWeight() const
 
~Event()
Event destructor.
 
std::vector< Float_t > & GetSpectators()
 
std::vector< Float_t * > * fValuesDynamic
 
void SetDoNotBoost() const
 
UInt_t GetNVariables() const
accessor to the number of variables
 
Event & operator=(const Event &)=default
 
void CopyVarValues(const Event &other)
copies only the variable values
 
const std::vector< Float_t > & GetSpectators() const
 
UInt_t GetNTargets() const
accessor to the number of targets
 
static Bool_t fgIgnoreNegWeightsInTraining
 
const std::vector< Float_t > & GetTargets() const
 
Double_t GetWeight() const
return the event weight - depending on whether the flag IgnoreNegWeightsInTraining is or not.
 
void SetVal(UInt_t ivar, Float_t val)
set variable ivar to val
 
friend std::ostream & operator<<(std::ostream &os, const Event &event)
 
static void SetIsTraining(Bool_t)
when this static function is called, it sets the flag whether events with negative event weight shoul...
 
void SetVariableArrangement(std::vector< UInt_t > *const m) const
set the variable arrangement
 
Float_t GetSpectator(UInt_t ivar) const
return spectator content
 
Double_t GetBoostWeight() const
 
void SetSpectator(UInt_t ivar, Float_t value)
set spectator value (dimension ivar) to value
 
Float_t GetValueFast(UInt_t ivar) const
 
std::vector< Float_t > fValuesRearranged
 
std::vector< Float_t > & GetValues()
 
Float_t GetTarget(UInt_t itgt) const
 
static void SetIgnoreNegWeightsInTraining(Bool_t)
when this static function is called, it sets the flag whether events with negative event weight shoul...
 
void Print(std::ostream &o) const
print method
 
Mother of all ROOT objects.
 
virtual void Print(Option_t *option="") const
This method must be overridden when a class wants to print itself.
 
static constexpr double s
 
create variable transformations
 
std::ostream & operator<<(std::ostream &os, const BinaryTree &tree)
 
Short_t Max(Short_t a, Short_t b)