AliPhysics  59e0e03 (59e0e03)
AliFMDCorrELossFit.cxx File Reference
#include "AliFMDCorrELossFit.h"
#include "AliForwardUtil.h"
#include "AliLandauGaus.h"
#include <TF1.h>
#include <TGraph.h>
#include <TBrowser.h>
#include <TVirtualPad.h>
#include <THStack.h>
#include <TLatex.h>
#include <TLegend.h>
#include <TLine.h>
#include <TH1D.h>
#include <AliLog.h>
#include <TMath.h>
#include <TList.h>
#include <iostream>
#include <iomanip>
Include dependency graph for AliFMDCorrELossFit.cxx:

Go to the source code of this file.

Macros

#define OUTPAR(N, V, E)
 
#define CHECKPAR(V, E, T)   ((V > 0) && (E / V < T))
 
#define CACHE(BIN, IDX, OFFSET)   fCache[IDX*OFFSET+BIN-1]
 
#define CACHEDR(BIN, D, R, OFFSET)   CACHE(BIN,(D == 1 ? 0 : (D - 2) * 2 + 1 + (R=='I' || R=='i' ? 0 : 1)),OFFSET)
 
#define IDX2RING(I)   (i == 0 || i == 1 || i == 3 ? 'I' : 'O')
 
#define IDX2DET(I)   (i == 0 ? 1 : (i == 1 || i == 2 ? 2 : 3))
 

Macro Definition Documentation

#define CACHE (   BIN,
  IDX,
  OFFSET 
)    fCache[IDX*OFFSET+BIN-1]
#define CACHEDR (   BIN,
  D,
  R,
  OFFSET 
)    CACHE(BIN,(D == 1 ? 0 : (D - 2) * 2 + 1 + (R=='I' || R=='i' ? 0 : 1)),OFFSET)

Definition at line 812 of file AliFMDCorrELossFit.cxx.

Referenced by AliFMDCorrELossFit::FindFit().

#define CHECKPAR (   V,
  E,
  T 
)    ((V > 0) && (E / V < T))
#define IDX2DET (   I)    (i == 0 ? 1 : (i == 1 || i == 2 ? 2 : 3))

Definition at line 1342 of file AliFMDCorrELossFit.cxx.

Referenced by AliFMDCorrELossFit::GetStacks().

#define IDX2RING (   I)    (i == 0 || i == 1 || i == 3 ? 'I' : 'O')

Definition at line 1341 of file AliFMDCorrELossFit.cxx.

Referenced by AliFMDCorrELossFit::GetStacks().

#define OUTPAR (   N,
  V,
 
)
Value:
std::setprecision(9) << \
std::setw(12) << N << ": " << \
std::setw(14) << V << " +/- " << \
std::setw(14) << E << " (" << \
std::setprecision(-1) << \
std::setw(5) << 100*(V>0?E/V:1) << "%)\n"

Definition at line 368 of file AliFMDCorrELossFit.cxx.

Referenced by AliFMDCorrELossFit::ELossFit::Print().