fFMD3oMax(0),
fMaxWeights(0),
fLowCuts(0),
- fEtaLumping(1),
- fPhiLumping(1),
+ fEtaLumping(5),
+ fPhiLumping(5),
fDebug(0)
{
//
fMaxWeights(0),
fLowCuts(0),
fEtaLumping(5),
- fPhiLumping(1),
+ fPhiLumping(5),
fDebug(0)
{
//
//____________________________________________________________________
Double_t
AliFMDDensityCalculator::GetMultCut(UShort_t d, Char_t r, Double_t eta,
- Bool_t /*errors*/) const
+ Bool_t errors) const
{
//
// Get the multiplicity cut. If the user has set fMultCut (via
AliFMDCorrELossFit* fits = fcm.GetELossFit();
Int_t iEta = fits->FindEtaBin(eta);
- return GetMultCut(d, r, iEta);
+ return GetMultCut(d, r, iEta, errors);
}
//____________________________________________________________________
Float_t mult = fmd.Multiplicity(d,r,s,t);
Float_t phi = fmd.Phi(d,r,s,t) / 180 * TMath::Pi();
Float_t eta = fmd.Eta(d,r,s,t);
- Double_t cut = 1024;
- if (eta != AliESDFMD::kInvalidEta) cut = GetMultCut(d, r, eta,false);
rh->fTotalStrips->Fill(eta, phi);
if (mult == AliESDFMD::kInvalidMult || mult > 20) {
continue;
}
+ Double_t cut = 1024;
+ if (eta != AliESDFMD::kInvalidEta) cut = GetMultCut(d, r, eta,false);
+
Double_t n = 0;
if (cut > 0 && mult > cut)
n = NParticles(mult,d,r,s,t,vtxbin,eta,lowFlux);
fELossVsPoisson = new TH2D("elossVsPoisson",
"N_{ch} from energy loss vs from Poission",
- 100, 0, 20, 100, 0, 20);
+ 150, 0, 30, 150, 0, 30);
fELossVsPoisson->SetDirectory(0);
fELossVsPoisson->SetXTitle("N_{ch} from #DeltaE");
fELossVsPoisson->SetYTitle("N_{ch} from Poisson");
fELossVsPoisson->SetZTitle("Correlation");
+ Int_t nStrips = 100;
fEmptyVsTotal = new TH2D("emptyVsTotal",
"# of empty strips vs. total # strips",
- 21, -.5, 20.5, 21, -0.5, 20.5);
+ nStrips+1, -.5, nStrips+.5,
+ nStrips+1, -.5, nStrips+.5);
fEmptyVsTotal->SetDirectory(0);
fEmptyVsTotal->SetXTitle("Total # strips");
fEmptyVsTotal->SetYTitle("Empty # strips");