class AliPHOSv1 ;
class AliPHOSGeometry ;
-class AliPHOSPID ;
-class AliPHOSIndexToObject ;
+class AliPHOSLoader ;
+class AliRunLoader ;
class AliPHOSAnalyze : public TObject {
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 = "") ;
+ 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 = "") ; // Photons invariant mass distributions
+ void InvariantMass() ; // Photons invariant mass distributions
- void EnergyResolution (const char* RecPartTitle = "") ; // analyzes Energy resolution ;
+ void EnergyResolution () ; // analyzes Energy resolution ;
- void PositionResolution(const char* RecPartTitle = "") ; // analyzes Position resolution ;
+ void PositionResolution() ; // analyzes Position resolution ;
- void Contamination(const char* RecPartTitle = "") ; // Counts contamination of photon spectrum
+ void Contamination() ; // Counts contamination of photon spectrum
- void SetEnergyCorrection(const Float_t ecor){fCorrection = ecor ;}
+ void Ls() ; //Prints PHOS-related contents of TreeS, TreeD and TreeR
- AliPHOSAnalyze & operator = (const AliPHOSAnalyze & rvalue) {
- // assignement operator requested by coding convention
- // but not needed
- abort() ;
+ void SetEnergyCorrection(Float_t ecor){fCorrection = ecor ;}
+
+ AliPHOSAnalyze & operator = (const AliPHOSAnalyze & /*rvalue*/) {
+ // assignement operator requested by coding convention but not needed
+ Fatal("operator =", "not implemented") ;
return *this ;
}
- private:
- Float_t CorrectedEnergy(const Float_t ReconstEnergy)const
+private:
+
+ 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:
+private:
- Float_t fCorrection ; //! Conversion coefficient between True and Reconstructed energies
- Int_t fEvt ; //! the evt number being processed
- AliPHOSGeometry * fGeom ; //! the PHOS Geometry object
- AliPHOSIndexToObject * fObjGetter ; //! provides methods to retrieve objects from their index in a list
- AliPHOSv1 * fPHOS ; //! the PHOS object from the root file
+ 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