//
#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"
*
* @ingroup pwg2_forward_tasks
* @ingroup pwg2_forward_mc
+ * @ingroup pwg2_forward_aod
*
*/
class AliForwardMCMultiplicityTask : public AliForwardMultiplicityBase
/**
* @}
*/
+ /**
+ * Process only primary MC tracks
+ *
+ * @param use
+ */
+ void SetOnlyPrimary(Bool_t use);
/**
* @{
* @name Access to sub-algorithms
* @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
*
/**
* 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
*
* @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
*
/**
* 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
*
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