]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGLF/ThermalFits/AliParticleYield.h
Added monitoring
[u/mrichter/AliRoot.git] / PWGLF / ThermalFits / AliParticleYield.h
index bf74a70033bf4a6c4f9a90e0f57d655f6fb341dd..513ebbc249f4d2e41238bd51d96891d2eb304792 100644 (file)
@@ -5,7 +5,7 @@
 // This class implements a container for particle yields results, to
 // be used e.g. in thermal model fits, with utility methods to
 // read/write to ASCII files or root trees
-// Author: Michele FLoris, michele.floris@cern.ch
+// Author: Michele Floris, michele.floris@cern.ch
 
 #include "TObject.h"
 #include "TString.h"
@@ -42,6 +42,10 @@ public:
 
     // Type of errors
     kTypeOnlyTotError        = 0x10, // If on, only the total error is returned as "GetSystError". GetStatError should be set to 0;
+
+    // Additional flags
+    kTypeAveragePartAntiPart = 0x100, // Can only be set if isSum = 1. It indicates that it is an averrage rather than a sum TODO: add separate bits for different averages (e.g. quadratic)?           
+
   };
   
   AliParticleYield();
@@ -102,6 +106,7 @@ public:
   Bool_t  IsTypeExtrapolatedWithPionRatio() const { CheckTypeConsistency(); return (fMeasurementType & kTypeExtrPionRatio);}
   Bool_t  IsTypeLinearInterp() const{ CheckTypeConsistency(); return fMeasurementType & kTypeLinearInterpolation;}
   Bool_t  IsTypeOnlyTotErr()   const{ CheckTypeConsistency(); return fMeasurementType & kTypeOnlyTotError;       }
+  Bool_t  IsTypeAverage()       const{CheckTypeConsistency(); return fMeasurementType & kTypeAveragePartAntiPart;}
 
   static Int_t   GetSignificantDigits()  { return fSignificantDigits; }