X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FPHOSHistos.cxx;h=b746f08f472a98e212dcd323e3cd3c7c54b13157;hb=74f083605541e75c1adbc50a136cd06840733acf;hp=25c2322390ad6a2d231f59ee3492f3e0859f58e2;hpb=6ad0bfa0999be42354e6caa187cf84fabe5cfa39;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/PHOSHistos.cxx b/PHOS/PHOSHistos.cxx index 25c2322390a..b746f08f472 100644 --- a/PHOS/PHOSHistos.cxx +++ b/PHOS/PHOSHistos.cxx @@ -43,7 +43,7 @@ #include "AliPHOSReconstructioner.h" #include "AliPHOSTrackSegment.h" #include "AliPHOSTrackSegmentMakerv1.h" -#include "AliPHOSParticleGuesserv1.h" +#include "AliPHOSPIDv1.h" #include "PHOSHistos.h" @@ -58,9 +58,9 @@ void PHOSHistos (Text_t* infile, Int_t nevent, Int_t Module) AliPHOSGeometry * Geom = AliPHOSGeometry::GetInstance(PHOS->GetGeometry()->GetName(),PHOS->GetGeometry()->GetTitle()); //========== Creates the track segment maker AliPHOSTrackSegmentMakerv1 * tracksegmentmaker = new AliPHOSTrackSegmentMakerv1() ; - //========== Creates the particle guesser - AliPHOSParticleGuesserv1 * particleguesser = new AliPHOSParticleGuesserv1 ; - cout << "AnalyzeOneEvent > using particle guess " << particleguesser->GetName() << endl ; + //========== Creates the particle identifier + AliPHOSPIDv1 * particleidentifier = new AliPHOSPIDv1 ; + cout << "AnalyzeOneEvent > using particle identifier " << particleidentifier->GetName() << endl ; TH1F * hEmcDigit = new TH1F("hEmcDigit","hEmcDigit",1000,0.,5.); TH1F * hVetoDigit = new TH1F("hVetoDigit","hVetoDigit",1000,0.,3.e-5); @@ -86,7 +86,7 @@ void PHOSHistos (Text_t* infile, Int_t nevent, Int_t Module) clusterizer->SetCalibrationParameters(0., 0.00000001) ; //========== Creates the Reconstructioner - AliPHOSReconstructioner * Reconstructioner = new AliPHOSReconstructioner(clusterizer, tracksegmentmaker, particleguesser) ; + 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 +138,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 +155,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) ;