]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGLF/FORWARD/analysis2/AliAODCentralMult.h
changed name of add task macro. git test.
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis2 / AliAODCentralMult.h
index e1448c0bd79000ed86b658909c54ab6ecf7d6162..11a37872aafb877bedb6aaa13931c4d9ab0fa6e0 100644 (file)
@@ -10,7 +10,7 @@
  * 
  * @brief  
  * 
- * @ingroup pwg2_forward_aod
+ * @ingroup pwglf_forward_aod
  * 
  */
 #include <TObject.h>
@@ -32,13 +32,23 @@ class TBrowser;
  * histogram and summing the event histograms in that histogram.  One
  * should of course also do proper book-keeping of the accepted event.
  *
- * @ingroup pwg2_forward
- * @ingroup pwg2_forward_aod
+ * @ingroup pwglf_forward
+ * @ingroup pwglf_forward_aod
  */
 class AliAODCentralMult : public TObject
 {
 public:
-  
+  /** 
+   * User bits of these objects (bits 14-23 can be used)
+   */
+  enum {
+    /** Secondary correction maps where applied */
+    kSecondary           = (1 << 14), 
+    /** Acceptance correction was applied */
+    kAcceptance          = (1 << 16), 
+    /** Used eta dependent empirical correction - to be implemented */
+    kEmpirical           = (1 << 19)
+  };
   /** 
    * Default constructor 
    * 
@@ -92,6 +102,10 @@ public:
    * @return Always true
    */
   Bool_t IsFolder() const { return kTRUE; } // Always true 
+
+  Bool_t IsSecondaryCorrected() const { return TestBit(kSecondary); }
+  Bool_t IsAcceptanceCorrected() const { return TestBit(kAcceptance); }
+  Bool_t IsEmpiricalCorrected() const { return TestBit(kEmpirical); }
   /** 
    * Print content 
    * 
@@ -107,10 +121,12 @@ public:
   const Char_t* GetName() const { return (fIsMC ? "CentralClustersMC" : "CentralClusters"); }
 
 protected: 
+  /** Whether this is MC */
   Bool_t  fIsMC;     // Whether this is from MC 
+  /** Histogram of @f$d^2N_{ch}/(d\eta d\phi)@f$ for this event */
   TH2D    fHist;     // Histogram of d^2N_{ch}/(deta dphi) for this event
   
-  ClassDef(AliAODCentralMult,1); // AOD forward multiplicity 
+  ClassDef(AliAODCentralMult,2); // AOD forward multiplicity 
 };
 
 #endif