-
- AliPHOSClusterizer * fClu ; // a clusterizer
- Int_t fEvt ; // the evt number being processed
- AliPHOSGeometry * fGeom; // the PHOS Geometry object
- AliPHOSv0 * fPHOS ; // the PHOS object from the root file
- AliPHOSParticleGuesser * fPag ; // a particle guesser
- AliPHOSReconstructioner * fRec ; // a reconstructioner
- TFile * fRootFile ; // the root file that contains the data
- AliPHOSTrackSegmentMaker * fTrs ; // a tracksegmentmaker ;
- TH1F * fhEmcDigit ; // Histo of digit energies in the Emc
- TH1F * fhVetoDigit ; // Histo of digit energies in the Veto
- TH1F * fhConvertorDigit ; // Histo of digit energies in the Convertor
- TH1F * fhEmcCluster ; // Histo of Cluster energies in Emc
- TH1F * fhVetoCluster ; // Histo of Cluster energies in Veto
- TH1F * fhConvertorCluster; // Histo of Cluster energies in Convertor
- TH2F * fhConvertorEmc ; // 2d Convertor versus Emc energies
- TH1F * fhPhotonEnergy ; // Spectrum of detected photons
- TH1F * fhElectronEnergy ; // Spectrum of detected electrons
- TH1F * fhNeutralEnergy ; // Spectrum of detected neutrals
- TH1F * fhChargedEnergy ; // Spectrum of detected charged
- TH1F * fhPhotonPositionX ; // X distribution of detected photons
- TH1F * fhElectronPositionX ; // X distribution of detected electrons
- TH1F * fhNeutralPositionX ; // X distribution of detected neutrals
- TH1F * fhChargedPositionX ; // X distribution of detected charged
- TH1F * fhPhotonPositionY ; // Y distribution of detected photons
- TH1F * fhElectronPositionY ; // Y distribution of detected electrons
- TH1F * fhNeutralPositionY ; // Y distribution of detected neutrals
- TH1F * fhChargedPositionY ; // Y distribution of detected charged
-
-
-ClassDef(AliPHOSAnalyze,1) // PHOS event analyzis , version 1
+
+ Float_t CorrectedEnergy(Float_t ReconstEnergy)const
+ {return ReconstEnergy * fCorrection;}
+ //Converts reconstructed energy (energy of the EMCRecPoint) to the energy of primary
+ //The coeficient shoud be (and was) calculated usin Erec vs. Eprim plot
+ //(see Energy Resolution function). However, if one change parameters of reconstruction
+ //or geometry, one have to recalculate coefficient!
+
+private:
+
+ Float_t fCorrection ; //! Conversion coefficient between True and Reconstructed energies
+ Int_t fEvt ; //! the evt number being processed
+ TString ffileName ; //! the root file that contains the data
+
+ AliRunLoader* fRunLoader; //! run loader of the specified filename
+
+ClassDef(AliPHOSAnalyze,1) // PHOSv1 event analyzis algorithm