2 #include "KVVarGlobMean.h" 
    3 #include "KVClassFactory.h" 
   12    SetNameIndex(
"Mean", 0);
 
   13    SetNameIndex(
"RMS", 1);
 
   14    SetNameIndex(
"SumVar", 2);
 
   15    SetNameIndex(
"SumVarSquared", 3);
 
   16    SetNameIndex(
"SumOfWeights", 4);
 
   17    SetNameIndex(
"Min", 5);
 
   18    SetNameIndex(
"Max", 6);
 
  213          body += 
"Use the FillVar(v,w) method to increment the quantity of the global variable.\n";
 
  214          body += 
"The value, v, and the weight, w, are to be evaluated from the properties of the\n";
 
  215          body += 
"two KVNucleus pointers passed as argument.\n";
 
  219          body += 
"Use the FillVar(v,w) method to increment the quantity of the global variable.\n";
 
  220          body += 
"The value, v, and the weight, w, are to be evaluated from the properties of the\n";
 
  221          body += 
"KVEvent pointer passed as argument.\n";
 
  225          body += 
"Use the FillVar(v,w) method to increment the quantity of the global variable.\n";
 
  226          body += 
"The value, v, and the weight, w, are to be evaluated from the properties of the \n";
 
  227          body += 
"KVNucleus passed as argument. For example, to evaluate the mean parallel velocity\n";
 
  228          body += 
"weighted by the charge of the nucleus, you may proceed as follows:\n";
 
  230          body += 
"FillVar(n->GetVpar(), n->GetZ());\n";
 
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 Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
 
Factory class for generating skeleton files for new classes.
 
void GenerateCode()
Generate header and implementation file for currently-defined class.
 
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
 
Abstract base class for global variables which calculate a mean value.
 
static void MakeClass(const Char_t *classname, const Char_t *classdesc, int type=KVVarGlob::kOneBody)
 
static void FillMethodBody(KVString &body, int type)
 
virtual Double_t getvalue_int(Int_t i) const
 
void FillVar(Double_t v, Double_t w=1.)
 
void Copy(TObject &obj) const
Copy this to a.
 
static void AddInitMethod(KVClassFactory &cf, KVString &body)
 
void Copy(TObject &obj) const
 
static void AddFillMethodBody(KVClassFactory &cf, KVString &body, int type)
 
static void ImplementInitMethod(KVClassFactory &cf, KVString &body, int type)
 
static void AddFillMethod(KVClassFactory &cf, int type)
 
static void FillMethodBody(KVString &body, int type)
 
Double_t Sqrt(Double_t x)