AliFMDCorrections::Correct(AliForwardUtil::Histos& hists,
UShort_t vtxbin)
{
- // AliFMDAnaParameters* pars = AliFMDAnaParameters::Instance();
AliForwardCorrectionManager& fcm = AliForwardCorrectionManager::Instance();
UShort_t uvb = vtxbin;
Char_t r = (q == 0 ? 'I' : 'O');
TH2D* h = hists.Get(d,r);
RingHistos* rh= GetRingHistos(d,r);
- //TH2F* bg= pars->GetBackgroundCorrection(d, r, vtxbin);
- //TH2F* ef= pars->GetEventSelectionEfficiency("INEL",vtxbin,r);
TH2D* bg = fcm.GetSecondaryMap()->GetCorrection(d,r,uvb);
TH2D* ef = fcm.GetVertexBias()->GetCorrection(r, uvb);
if (!bg) {
#include <TNamed.h>
#include <TList.h>
#include "AliForwardUtil.h"
-class AliESDFMD;
class TH2D;
/**
- * This class calculates the inclusive charged particle density
+ * @defgroup pwg2_forward_algo Algorithms
+ *
+ * @ingroup pwg2_forward
+ */
+/**
+ * This class calculates the exclusive charged particle density
* in each for the 5 FMD rings.
*
* @par Input:
- * - AliESDFMD object possibly corrected for sharing
+ * - 5 RingHistos objects - each with a number of vertex dependent
+ * 2D histograms of the inclusive charge particle density
*
* @par Output:
* - 5 RingHistos objects - each with a number of vertex dependent
- * 2D histograms of the inclusive charge particle density
+ * 2D histograms of the exclusive charge particle density
*
* @par Corrections used:
- * - AliFMDAnaCalibBackgroundCorrection
- * - AliFMDAnaCalibEventSelectionEfficiency
- * - AliFMDAnaCalibSharingEfficiency
+ * - AliFMDCorrSecondaryMap;
+ * - AliFMDCorrVertexBias
+ * - AliFMDCorrMergingEfficiency
*
- * @ingroup pwg2_forward
+ * @ingroup pwg2_forward_algo
*/
class AliFMDCorrections : public TNamed
{
* @param dir Where the output is stored
* @param nEvents Number of events
*/
- void ScaleHistograms(TList* dir, Int_t nEvents);
+ virtual void ScaleHistograms(TList* dir, Int_t nEvents);
/**
* Output diagnostic histograms to directory
*
* @param dir List to write in
*/
- void DefineOutput(TList* dir);
+ virtual void DefineOutput(TList* dir);
/**
* Set the debug level. The higher the value the more output
*