]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG4/PartCorrDep/AliAnaPhoton.h
correct minor coverity reports
[u/mrichter/AliRoot.git] / PWG4 / PartCorrDep / AliAnaPhoton.h
index 6eb7c516982e7279e7dfda67e04b813191daca89..19d88f4b62a4b7bd1e6c16a40a0c6175c2f30bd5 100755 (executable)
 class TH2F ;
 class TH1F;
 class TString ;
+class TObjString;
 
 // --- ANALYSIS system ---
 #include "AliAnaPartCorrBaseClass.h"
-//#include "AliStack.h"
-//#include "TParticle.h"
 class AliStack;
 class TParticle;
 
@@ -29,14 +28,17 @@ class TList ;
 
 class AliAnaPhoton : public AliAnaPartCorrBaseClass {
 
-public: 
-
+ public: 
   AliAnaPhoton() ; // default ctor
+  virtual ~AliAnaPhoton() ; //virtual dtor
+ private:
   AliAnaPhoton(const AliAnaPhoton & g) ; // cpy ctor
   AliAnaPhoton & operator = (const AliAnaPhoton & g) ;//cpy assignment
-  virtual ~AliAnaPhoton() ; //virtual dtor
-  
-  TList *  GetCreateOutputObjects();
+
+ public:
+       
+  TObjString * GetAnalysisCuts();
+  TList      * GetCreateOutputObjects();
 
   void Init();
 
@@ -76,6 +78,10 @@ public:
   Double_t GetTimeCutMin() const {return fTimeCutMin;}
   Double_t GetTimeCutMax() const {return fTimeCutMax;} 
        
+  void SetNCellCut(Int_t n) {fNCellsCut = n;}
+  Double_t GetNCellCut() const {return fNCellsCut;}
+       
+       
   private:
  
   TString fCalorimeter ; // Calorimeter where the gamma is searched;
@@ -88,7 +94,8 @@ public:
   Float_t fMassCut;                // Mass cut for the conversion pairs selection
   Double_t fTimeCutMin  ;    // Remove clusters/cells with time smaller than this value, in ns
   Double_t fTimeCutMax  ;    // Remove clusters/cells with time larger than this value, in ns
-
+  Int_t fNCellsCut ;     // Accept for the analysis clusters with more than fNCellsCut cells
+       
   //Histograms  
   TH1F * fhPtPhoton   ; //! Number of identified photon vs transerse momentum 
   TH2F * fhPhiPhoton  ; //! Azimuthal angle of identified  photon vs transerse momentum 
@@ -134,7 +141,7 @@ public:
   TH2F * fhPhiUnknown;  //! Phi of identified  Unknown gamma
   TH2F * fhEtaUnknown;  //! eta of identified  Unknown gamma
 
-   ClassDef(AliAnaPhoton,7)
+   ClassDef(AliAnaPhoton,8)
 
 } ;