#include "AliESDEvent.h"
#include "AliESDMuonTrack.h"
#include "AliESDVertex.h"
-#include "AliMagFMaps.h"
+#include "AliMagF.h"
#include "AliLog.h"
#include <TSystem.h>
fFileName(galiceFile),
fFileNameSim(),
fesdFileName(esdFile),
-foutDir(outDir),
+fkOutDir(outDir),
fFirstEvent(firstEvent),
fLastEvent(lastEvent)
{
fFileName(galiceFile),
fFileNameSim(galiceFileSim),
fesdFileName(esdFile),
-foutDir(outDir),
+fkOutDir(outDir),
fFirstEvent(firstEvent),
fLastEvent(lastEvent)
{
if (!tree)
{
Error("CheckESD", "no ESD tree found");
- AliError(Form("CheckESD", "no ESD tree found"));
+ AliError(Form("no ESD tree found"));
return ;
}
fESD->ReadFromTree(tree);
for (ievent = fFirstEvent; ievent < endOfLoop; ++ievent )
{
nev++;
- tree->GetEvent(ievent);
- if (!fESD)
+ if (tree->GetEvent(ievent) <= 0)
{
Error("CheckESD", "no ESD object found for event %d", ievent);
return ;
}//if(pdc06TriggerResponse)
- gSystem->cd(foutDir);
+ gSystem->cd(fkOutDir);
FILE *outtxt=fopen("output.txt","a");
freopen("output.txt","a",outtxt);
printf("*** Leaving MuonKine() *** \n");
printf("**************************************************************** \n");
- gSystem->cd(foutDir);
+ gSystem->cd(fkOutDir);
FILE *outtxt=fopen("output.txt","a");
freopen("output.txt","a",outtxt);
fprintf(outtxt," \n");
}//evt loop
- gSystem->cd(foutDir);
+ gSystem->cd(fkOutDir);
TCanvas *c6 = new TCanvas("c6","TOF",400,10,600,700);
c6->Divide(1,2);
c6->cd(1);
ndigits = digitStore->GetSize(detele,1-cathode);
dEchannelsNonBending[ichamber][idetele] = nchannels;
- dEoccupancyBending[ichamber][idetele] = ndigits;
+ dEoccupancyNonBending[ichamber][idetele] = ndigits;
cHchannelsNonBending[ichamber] += nchannels;
cHoccupancyNonBending[ichamber] += ndigits;
totalchannelsNonBending += nchannels;