16 #include "AliAODEvent.h" 38 TList* out =
static_cast<TList*
>(cont->FindObject(GetName()));
41 fResponseMatrix =
new TH2D(
"responseMatrix",
"Response Matrix;" 42 "MC_{truth};MC_{measured}",
43 max, -0.5, max-.5, max, -0.5, max-.5);
44 out->Add(fResponseMatrix);
69 Printf(
"Bin %s - selected: %s IPz: %f (%f,%f)", GetName(),
70 selectedTrigger ?
"yes" :
" no", ipZ, minIPz, maxIPz);
72 if (!selectedTrigger)
return;
73 if (ipZ < minIPz || ipZ > maxIPz)
return;
75 Double_t mcMult, mcErr, statErr, sysErr;
76 Double_t mult = CalcMult(dndetaForward,
87 fHistMC->Fill(mcMult);
88 fResponseMatrix->Fill(mcMult, mult);
Task to make the reponse matrices used by the multiplicity distibution analysis.
virtual void CreateOutputObjects(TList *cont, Int_t max)
AliBaseMultTask::Bin * MakeBin(Double_t etaLow, Double_t etaHigh)
virtual void Process(TH1D *dndetaForward, TH1D *dndetaCentral, TH1D *normForward, TH1D *normCentral, TH1D *mc, Double_t ipZ, Bool_t pileup, Bool_t selectedTrigger, Bool_t isMCNSDm, Bool_t isESDNSD, const AliAODEvent &aodevent, Double_t minIPz, Double_t maxIPz)
virtual void CreateOutputObjects(TList *cont, Int_t max)