1 #ifndef __KVEVENTCLASSIFIER_H 
    2 #define __KVEVENTCLASSIFIER_H 
    4 #include "KVVarGlob1.h" 
  195          Error(
"AddCut", 
"You cannot mix cuts & bins (and you already defined some bins)");
 
  222          Error(
"AddBin", 
"You cannot mix cuts & bins (and you already defined some cuts)");
 
#define ClassDef(name, id)
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t b
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
 
char * Form(const char *fmt,...)
 
Simple class for sorting events according to global variables.
 
bool fBcuts
true if cuts are to be used
 
std::unique_ptr< TFormula > fFormula
in case a combination of values is used
 
void AddBin(double xmin, double xmax)
 
virtual ~KVEventClassifier()
 
Bool_t IsGlobalVariable() const
 
int GetMaxEventClassNumber() const
 
bool fWithExpression
true if an expression using several values is used
 
std::vector< double > fCuts
cuts in variable to define event classes
 
KVEventClassifier(KVVarGlob *b, const TString &value="")
 
std::vector< std::string > fValues
indices of values in parsed expression
 
int GetEventClassification() const
 
bool fBins
true if separate bins are to be used
 
bool fWithVal
true if named value given
 
bool fIntegerVariable
true if global variable used for cuts has integer values
 
KVVarGlob * fVar
variable used for event classification
 
void Copy(TObject &other) const
 
TString fVal
optional name of value calculated by variable to use
 
Abstract base class for global variables which calculate a single value.
 
void SetValue(Double_t val)
 
void Copy(TObject &obj) const
 
Base class for all global variable implementations.
 
const char * GetName() const override
 
virtual void Error(const char *method, const char *msgfmt,...) const