]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/AliHEPDataParser.h
updated macros (with new cut values) for (anti-)proton-(anti-)lambda and lambda-...
[u/mrichter/AliRoot.git] / ANALYSIS / AliHEPDataParser.h
index df3be389e88668cf9eef24eb3203a3f88014630e..ff58e2a0cdc4932a9fc3e1ae4c9e20e1f0258f4f 100644 (file)
@@ -37,18 +37,34 @@ public:
   void SaveHEPDataFile(const char * hepfileName, Bool_t trueUseGraphFalesUseHisto = 0);
 
   void SetName(const char * name) { fValueName = name;}
+  void SetXaxisName (TString val) {fXaxisName = val ;}
+  void SetTitle(TString val) {fTitle = val;}
+  void SetReaction(TString val) {fReaction = val;}
+  void SetEnergy(TString val) {fEnergy = val;}
+  void SetRapidityRange(TString val) {fRapidityRange = val;}
+  void SetPrecision(Int_t   val) {fPrecision = val;}
+
 
 protected:
 
+  Double_t RoundToSignificantFigures(double num, int n) ;
+  TString GetFixWidthCol(Double_t number, Int_t width) ;
+
+
   TH1 * fHistStat; // statistical errors (hist)
   TH1 * fHistSyst; // systematic errors (hist) 
   TGraph * fGraphStat; // statistical errors (hist)
   TGraph * fGraphSyst; // systematic errors (hist)  
   TObjArray * fHEPDataFileLines;// TClones array of TObjString
   TString fValueName; // title for the y axis on the ascii file
-
-
-  ClassDef(AliHEPDataParser, 1);
+  TString fXaxisName; // title for the y axis
+  TString fTitle; // title for the HEP DATA file
+  TString fReaction; // Raction ,e.g. RE : Pb + Pb --> pbar + X
+  TString fEnergy; // Raction ,e.g. sqrts : 2760 GeV
+  TString fRapidityRange; // Rapidity ABS(YRAP) : 0.5'
+  Int_t   fPrecision; // number of significant figures for rounding
+
+  ClassDef(AliHEPDataParser, 2);
     
 private: