X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=PHOS%2FPHOSHistos.cxx;h=01e665e522581b0d1b787d22f5f76c0f90d83b07;hp=7d5274280ab64e6a29988941467e028aa52018d0;hb=15dfd8929cc449f4c0d849259583856bdec09007;hpb=26d4b1416bff7602d6300ccf6c1e0fcfa2bd4f8e diff --git a/PHOS/PHOSHistos.cxx b/PHOS/PHOSHistos.cxx index 7d5274280ab..01e665e5225 100644 --- a/PHOS/PHOSHistos.cxx +++ b/PHOS/PHOSHistos.cxx @@ -26,7 +26,6 @@ // --- Standard library --- -#include #include @@ -60,7 +59,7 @@ void PHOSHistos (Text_t* infile, Int_t nevent, Int_t Module) AliPHOSTrackSegmentMakerv1 * tracksegmentmaker = new AliPHOSTrackSegmentMakerv1() ; //========== Creates the particle identifier AliPHOSPIDv1 * particleidentifier = new AliPHOSPIDv1 ; - cout << "AnalyzeOneEvent > using particle guess " << 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); @@ -88,7 +87,7 @@ void PHOSHistos (Text_t* infile, Int_t nevent, Int_t Module) //========== Creates the Reconstructioner AliPHOSReconstructioner * Reconstructioner = new AliPHOSReconstructioner(clusterizer, tracksegmentmaker, particleidentifier) ; - cout << "Event " << ievent <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() ; @@ -138,7 +137,7 @@ void PHOSHistos (Text_t* infile, Int_t nevent, Int_t Module) { if ( Ppsd->GetPHOSMod() == Module ) { - Energy2 = Ppsd->GetTotalEnergy() ; + Energy2 = Ppsd->GetEnergy() ; if (!Ppsd->GetUp()) hConvertorEmc->Fill(Energy,Energy2) ; } @@ -155,7 +154,7 @@ void PHOSHistos (Text_t* infile, Int_t nevent, Int_t Module) { if ( Ppsd->GetPHOSMod() == Module ) { - Energy = Ppsd->GetTotalEnergy() ; + Energy = Ppsd->GetEnergy() ; if (!Ppsd->GetUp()) hConvertorCluster->Fill(Energy) ; if (Ppsd->GetUp()) hVetoCluster->Fill(Energy) ;