// --- Standard library ---
-#include <iostream>
#include <cstdio>
#include "AliPHOSEmcRecPoint.h"
#include "AliPHOSPpsdRecPoint.h"
#include "AliPHOSClusterizerv1.h"
-#include "AliPHOSReconstructioner.h"
+#include "AliPHOSReconstructor.h"
#include "AliPHOSTrackSegment.h"
#include "AliPHOSTrackSegmentMakerv1.h"
#include "AliPHOSPIDv1.h"
AliPHOSTrackSegmentMakerv1 * tracksegmentmaker = new AliPHOSTrackSegmentMakerv1() ;
//========== Creates the particle identifier
AliPHOSPIDv1 * particleidentifier = new AliPHOSPIDv1 ;
- cout << "AnalyzeOneEvent > using particle identifier " << particleidentifier->GetName() << endl ;
+ Info("PHOSHistos", "AnalyzeOneEvent > using particle identifier %s\n", particleidentifier->GetName() ) ;
TH1F * hEmcDigit = new TH1F("hEmcDigit","hEmcDigit",1000,0.,5.);
TH1F * hVetoDigit = new TH1F("hVetoDigit","hVetoDigit",1000,0.,3.e-5);
clusterizer->SetCalibrationParameters(0., 0.00000001) ;
//========== Creates the Reconstructioner
- AliPHOSReconstructioner * Reconstructioner = new AliPHOSReconstructioner(clusterizer, tracksegmentmaker, particleidentifier) ;
+ AliPHOSReconstructor * Reconstructioner = new AliPHOSReconstructor(clusterizer, tracksegmentmaker, particleidentifier) ;
- cout << "Event " << ievent <<endl;
+ Info("PHOSHistos", "Event %d\n", ievent);
Int_t RelId[4] ;
//=========== Connects the various Tree's for evt
{
if ( emc->GetPHOSMod() == Module )
{
- Energy = emc->GetTotalEnergy() ;
+ Energy = emc->GetEnergy() ;
hEmcCluster->Fill(Energy);
printf("Energy of the EMC cluster is %f \n",Energy);
TClonesArray * PpsdRP = PHOS->PpsdClusters() ;
{
if ( Ppsd->GetPHOSMod() == Module )
{
- Energy2 = Ppsd->GetTotalEnergy() ;
+ Energy2 = Ppsd->GetEnergy() ;
if (!Ppsd->GetUp()) hConvertorEmc->Fill(Energy,Energy2) ;
}
{
if ( Ppsd->GetPHOSMod() == Module )
{
- Energy = Ppsd->GetTotalEnergy() ;
+ Energy = Ppsd->GetEnergy() ;
if (!Ppsd->GetUp()) hConvertorCluster->Fill(Energy) ;
if (Ppsd->GetUp()) hVetoCluster->Fill(Energy) ;