]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/FORWARD/analysis2/AliForwardMCMultiplicityTask.h
corrected obvious typo. which value to chose between 0.045 and 0.050 is a bit matter...
[u/mrichter/AliRoot.git] / PWG2 / FORWARD / analysis2 / AliForwardMCMultiplicityTask.h
index 8dfeab638f34c0aa5dbc010dc17a429cc1f9afd6..311f2d853942fdb4e8e2a2f247bbdf0481313459 100644 (file)
@@ -3,13 +3,22 @@
 // 
 #ifndef ALIFORWARDMCMULTIPLICITYTASK_H
 #define ALIFORWARDMCMULTIPLICITYTASK_H
+/**
+ * @file   AliForwardMCMultiplicityTask.h
+ * @author Christian Holm Christensen <cholm@dalsgaard.hehi.nbi.dk>
+ * @date   Wed Mar 23 14:06:13 2011
+ * 
+ * @brief  
+ * 
+ * 
+ * @ingroup pwg2_forward_aod
+ */
 #include "AliForwardMultiplicityBase.h"
 #include "AliForwardUtil.h"
-#include "AliFMDEventInspector.h"
-#include "AliFMDEnergyFitter.h"
+#include "AliFMDMCEventInspector.h"
 #include "AliFMDMCSharingFilter.h"
 #include "AliFMDMCDensityCalculator.h"
-#include "AliFMDMCCorrections.h"
+#include "AliFMDMCCorrector.h"
 #include "AliFMDHistCollector.h"
 #include "AliAODForwardMult.h"
 #include "AliFMDEnergyFitter.h"
@@ -35,6 +44,7 @@ class TList;
  * 
  * @ingroup pwg2_forward_tasks
  * @ingroup pwg2_forward_mc
+ * @ingroup pwg2_forward_aod
  * 
  */
 class AliForwardMCMultiplicityTask : public AliForwardMultiplicityBase
@@ -89,6 +99,12 @@ public:
   /** 
    * @} 
    */
+  /** 
+   * Process only primary MC tracks 
+   * 
+   * @param use 
+   */
+  void SetOnlyPrimary(Bool_t use);
   /** 
    * @{ 
    * @name Access to sub-algorithms 
@@ -99,12 +115,6 @@ public:
    * @return Reference to AliFMDEventInspector object 
    */
   AliFMDEventInspector& GetEventInspector() { return fEventInspector; }
-  /**
-   * Get reference to the EnergyFitter algorithm 
-   * 
-   * @return Reference to AliFMDEnergyFitter object 
-   */
-  AliFMDEnergyFitter& GetEnergyFitter() { return fEnergyFitter; }
   /**
    * Get reference to the SharingFilter algorithm 
    * 
@@ -120,9 +130,9 @@ public:
   /**
    * Get reference to the Corrections algorithm 
    * 
-   * @return Reference to AliFMDCorrections object 
+   * @return Reference to AliFMDCorrector object 
    */
-  AliFMDCorrections& GetCorrections() { return fCorrections; }
+  AliFMDCorrector& GetCorrections() { return fCorrections; }
   /**
    * Get reference to the HistCollector algorithm 
    * 
@@ -135,12 +145,6 @@ public:
    * @return Reference to AliFMDEventInspector object 
    */
   const AliFMDEventInspector& GetEventInspector() const { return fEventInspector; }
-  /**
-   * Get reference to the EnergyFitter algorithm 
-   * 
-   * @return Reference to AliFMDEnergyFitter object 
-   */
-  const AliFMDEnergyFitter& GetEnergyFitter() const { return fEnergyFitter; }
   /**
    * Get reference to the SharingFilter algorithm 
    * 
@@ -156,9 +160,9 @@ public:
   /**
    * Get reference to the Corrections algorithm 
    * 
-   * @return Reference to AliFMDCorrections object 
+   * @return Reference to AliFMDCorrector object 
    */
-  const AliFMDCorrections& GetCorrections() const { return fCorrections; }
+  const AliFMDCorrector& GetCorrections() const { return fCorrections; }
   /**
    * Get reference to the HistCollector algorithm 
    * 
@@ -188,13 +192,14 @@ protected:
   AliESDFMD              fMCESDFMD;     // MC 'Sharing corrected' ESD object
   AliForwardUtil::Histos fMCHistos;     // MC Cache histograms 
   AliAODForwardMult      fMCAODFMD;     // MC Output object
+  AliForwardUtil::Histos fRingSums;     // Cache histograms 
+  AliForwardUtil::Histos fMCRingSums;   // Cache histograms 
   TH2D*                  fPrimary;      // Per event primary particles 
 
-  AliFMDEventInspector      fEventInspector;    // Algorithm
-  AliFMDEnergyFitter        fEnergyFitter;      // Algorithm
+  AliFMDMCEventInspector    fEventInspector;    // Algorithm
   AliFMDMCSharingFilter     fSharingFilter;     // Algorithm
   AliFMDMCDensityCalculator fDensityCalculator; // Algorithm
-  AliFMDMCCorrections       fCorrections;       // Algorithm
+  AliFMDMCCorrector         fCorrections;       // Algorithm
   AliFMDHistCollector       fHistCollector;     // Algorithm
 
   TList* fList; // Output list