]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGUD/selectors/dNdEta/AlidNdEtaTask.h
Split: removed dirs now in AliPhysics
[u/mrichter/AliRoot.git] / PWGUD / selectors / dNdEta / AlidNdEtaTask.h
diff --git a/PWGUD/selectors/dNdEta/AlidNdEtaTask.h b/PWGUD/selectors/dNdEta/AlidNdEtaTask.h
deleted file mode 100644 (file)
index 9615bef..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-/* $Id$ */
-
-#ifndef AlidNdEtaTask_H
-#define AlidNdEtaTask_H
-
-#include "AliAnalysisTaskSE.h"
-#include "AliPWG0Helper.h"
-#include "AliTriggerAnalysis.h"
-#include <TString.h>
-
-class AliESDtrackCuts;
-class dNdEtaAnalysis;
-class TH1F;
-class TH2F;
-class TH3F;
-class AliESDEvent;
-class AliTriggerAnalysis;
-class TH1D;
-
-class AlidNdEtaTask : public AliAnalysisTaskSE {
-  public:
-    AlidNdEtaTask(const char* opt = "");
-    virtual ~AlidNdEtaTask();
-
-    virtual void   ConnectInputData(Option_t *opt);
-    virtual void   UserCreateOutputObjects();
-    virtual void   UserExec(Option_t*);
-    virtual void   Terminate(Option_t*);
-    virtual Bool_t UserNotify();
-    
-    Bool_t IsEventInBinZero();
-
-    void SetTrackCuts(AliESDtrackCuts* cuts) { fEsdTrackCuts = cuts; }
-    void SetAnalysisMode(AliPWG0Helper::AnalysisMode mode) { fAnalysisMode = mode; }
-    void SetReadMC(Bool_t flag = kTRUE) { fReadMC = flag; }
-    void SetUseMCVertex(Bool_t flag = kTRUE) { fUseMCVertex = flag; }
-    void SetOnlyPrimaries(Bool_t flag = kTRUE) { fOnlyPrimaries = flag; }
-    void SetUseMCKine(Bool_t flag = kTRUE) { fUseMCKine = flag; }
-    void SetTrigger(AliTriggerAnalysis::Trigger trigger) { fTrigger = trigger; }
-    void SetFillPhi(Bool_t flag = kTRUE) { fFillPhi = flag; }
-    void SetDeltaPhiCut(Float_t cut) { fDeltaPhiCut = cut; }
-    void SetSymmetrize(Bool_t flag = kTRUE) { fSymmetrize = flag; }
-    void SetMultAxisEta1(Bool_t flag = kTRUE) { fMultAxisEta1 = flag; }
-    void SetDiffTreatment(AliPWG0Helper::DiffTreatment diffTreatment) { fDiffTreatment = diffTreatment; }
-    
-    void SetOption(const char* opt) { fOption = opt; }
-    void SetPtMin(Float_t ptMin) { fPtMin = ptMin;}
-
- protected:
-    AliESDEvent *fESD;                         //! ESD object
-    TList* fOutput;                            //! list send on output slot 0
-
-    TString fOption;                           // option string
-    AliPWG0Helper::AnalysisMode fAnalysisMode; // detector that is used for analysis
-    AliTriggerAnalysis::Trigger fTrigger;      // trigger that is used
-    Bool_t fFillPhi;                           // if true phi is filled as 3rd coordinate in all maps
-    Float_t fDeltaPhiCut;                      // cut in delta phi (only SPD)
-
-    Bool_t  fReadMC;          // if true reads MC data (to build correlation maps)
-    Bool_t  fUseMCVertex;     // the MC vtx is used instead of the ESD vertex (for syst. check)
-    Bool_t  fOnlyPrimaries;   // Process only primaries by using the MC information (for syst. check)
-    Bool_t  fUseMCKine;       // use the MC values for each found track/tracklet (for syst. check)
-    Bool_t  fSymmetrize;      // move all negative to positive eta
-    Bool_t  fMultAxisEta1;    // restrict multiplicity count to |eta| < 1
-    AliPWG0Helper::DiffTreatment  fDiffTreatment;  // how to identify SD events (see AliPWG0Helper::GetEventProcessType)
-
-    AliESDtrackCuts* fEsdTrackCuts;         // Object containing the parameters of the esd track cuts
-
-    // Gathered from ESD
-    dNdEtaAnalysis* fdNdEtaAnalysisESD;     //! contains the dndeta from the ESD
-    // control hists
-    TH1F* fMult;                            //! raw multiplicity histogram
-    TH1F* fMultVtx;                            //! raw multiplicity histogram of evts with vtx (control histogram)
-    TH1F* fPartEta[3];            //! counted particles as function of eta (full vertex range, below 0 range, above 0 range)
-    TH1F* fEvents;                //! events counted as function of vtx
-    TH2F* fVertexResolution;      //! z resolution of the vertex 
-
-    // Gathered from MC (when fReadMC is set)
-    dNdEtaAnalysis* fdNdEtaAnalysis;        //! contains the dndeta from the full sample
-    dNdEtaAnalysis* fdNdEtaAnalysisND;      //! contains the dndeta for the ND sample
-    dNdEtaAnalysis* fdNdEtaAnalysisNSD;     //! contains the dndeta for the NSD sample
-    dNdEtaAnalysis* fdNdEtaAnalysisOnePart; //! contains the dndeta for the one particle sample
-    dNdEtaAnalysis* fdNdEtaAnalysisTr;      //! contains the dndeta from the triggered events
-    dNdEtaAnalysis* fdNdEtaAnalysisTrVtx;   //! contains the dndeta from the triggered events with vertex
-    dNdEtaAnalysis* fdNdEtaAnalysisTracks;  //! contains the dndeta from the triggered events with vertex counted from the mc particles associated to the tracks (comparing this to the raw values from the esd shows the effect of the detector resolution)
-
-    // control histograms (MC)
-    TH1F* fPartPt;                //! counted particles as function of pt
-
-    // control histograms (ESD)
-    TH3F* fVertex;                //! 3d vertex distribution
-    TH3F* fVertexVsMult;          //! x-vtx vs y-vtx vs multiplicity
-    TH1F* fPhi;                   //! raw phi distribution
-    TH1F* fRawPt;                 //! raw pt distribution
-    TH2F* fEtaPhi;                //! raw eta - phi distribution
-    TH2F* fZPhi[2];               //! raw z - phi distribution from tracklets per layer (only SPD)
-    TH1F* fModuleMap;             //! count clusters as function of module number (only SPD)
-    TH1F* fDeltaPhi;              //! histogram of delta_phi values for tracklets (only for SPD analysis)
-    TH1F* fDeltaTheta;            //! histogram of delta_theta values for tracklets (only for SPD analysis)
-    TH2F* fFiredChips;            //! fired chips l1+l2 vs. number of tracklets (only for SPD analysis)
-    TH2F* fTrackletsVsClusters;   //! number of tracklets vs. clusters in all ITS detectors (only for SPD analysis)
-    TH2F* fTrackletsVsUnassigned; //! number of tracklets vs. number of unassigned clusters in L1 (only for SPD analysis)
-    TH1F* fStats;                 //! further statistics : bin 1 = vertexer 3d, bin 2 = vertexer z, etc (see CreateOutputObjects)
-    TH2F* fStats2;                //! V0 vs SPD statistics
-    Float_t fPtMin;               // pt min, to be used in kOneTrack case
-    TH1D* fEta;                   //! eta distribution from ESD
-    TH1D* fEtaMC;                 //! eta distribution from MC
-    TH1D* fHistEvents;            //! histo for n. of selected ESD events
-    TH1D* fHistEventsMC;          //! histo for n. of selected MC events
-    TH1D* fTrigEffNum;            //!
-    TH1D* fTrigEffDen;            //!
-    TH1D* fVtxEffNum;             //!
-    TH1D* fVtxEffDen;             //!
-    TH1D* fVtxTrigEffNum;         //!
-    TH1D* fVtxTrigEffDen;         //!
- private:
-    AlidNdEtaTask(const AlidNdEtaTask&);
-    AlidNdEtaTask& operator=(const AlidNdEtaTask&);
-
-  ClassDef(AlidNdEtaTask, 2);
-};
-
-#endif