X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSAnalyze.h;h=a8bbcb6120460d214b43a5bd0de2b6078bf20620;hb=fcf739528d3a5c95ac84ed306b92ab7cc9e3e9f7;hp=baa0827b81d50edd319f0e49a9c151075d764124;hpb=f1611b7cccf11c7d3bd962ba3ef1843691baf4e4;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSAnalyze.h b/PHOS/AliPHOSAnalyze.h index baa0827b81d..a8bbcb61204 100644 --- a/PHOS/AliPHOSAnalyze.h +++ b/PHOS/AliPHOSAnalyze.h @@ -24,7 +24,8 @@ class TH2F ; class AliPHOSv1 ; class AliPHOSGeometry ; -class AliPHOSGetter ; +class AliPHOSLoader ; +class AliRunLoader ; class AliPHOSAnalyze : public TObject { @@ -35,24 +36,22 @@ public: AliPHOSAnalyze(const AliPHOSAnalyze & ana) ; // cpy ctor virtual ~AliPHOSAnalyze() ; // dtor - void DrawRecon(Int_t Nevent= 0,Int_t Nmod = 1, - const char* branchName = "PHOSRP", - const char* branchTitle = "Default") ; + void DrawRecon(Int_t Nevent= 0,Int_t Nmod = 1) ; // draws positions of entering of primaries and reconstructed objects in PHOS - void InvariantMass(const char* RecPartTitle = "Default") ; // Photons invariant mass distributions + void InvariantMass() ; // Photons invariant mass distributions - void EnergyResolution (const char* RecPartTitle = "Default") ; // analyzes Energy resolution ; + void EnergyResolution () ; // analyzes Energy resolution ; - void PositionResolution(const char* RecPartTitle = "Default") ; // analyzes Position resolution ; + void PositionResolution() ; // analyzes Position resolution ; - void Contamination(const char* RecPartTitle = "Default") ; // Counts contamination of photon spectrum + void Contamination() ; // Counts contamination of photon spectrum void Ls() ; //Prints PHOS-related contents of TreeS, TreeD and TreeR - void SetEnergyCorrection(const Float_t ecor){fCorrection = ecor ;} + void SetEnergyCorrection(Float_t ecor){fCorrection = ecor ;} - AliPHOSAnalyze & operator = (const AliPHOSAnalyze & rvalue) { + AliPHOSAnalyze & operator = (const AliPHOSAnalyze & /*rvalue*/) { // assignement operator requested by coding convention but not needed Fatal("operator =", "not implemented") ; return *this ; @@ -60,7 +59,7 @@ public: private: - Float_t CorrectedEnergy(const Float_t ReconstEnergy)const + 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 @@ -73,6 +72,7 @@ private: 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