class TH2F ;
class TH1F;
class TString ;
+class TObjString;
// --- ANALYSIS system ---
#include "AliAnaPartCorrBaseClass.h"
-//#include "AliStack.h"
-//#include "TParticle.h"
class AliStack;
class TParticle;
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();
Float_t GetMassCut() const {return fMassCut ; }
void SetMassCut(Float_t m) {fMassCut = m ; }
+ void SetTimeCut(Double_t min, Double_t max) {fTimeCutMin = min; fTimeCutMax = max;}
+ 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;
Bool_t fCheckConversion; // Combine pairs of clusters with mass close to 0
Bool_t fAddConvertedPairsToAOD; // Put Converted pairs in AOD
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 * fhPhiUnknown; //! Phi of identified Unknown gamma
TH2F * fhEtaUnknown; //! eta of identified Unknown gamma
- ClassDef(AliAnaPhoton,6)
+ ClassDef(AliAnaPhoton,8)
} ;