end-of-line normalization
[u/mrichter/AliRoot.git] / PWGCF / EBYE / MeanPtFluctuations / AliAnalysisTaskPtFluc.h
index 446907d..182d418 100755 (executable)
@@ -1,86 +1,86 @@
-#ifndef AliAnalysisTaskPtFluc_cxx\r
-#define AliAnalysisTaskPtFluc_cxx\r
-\r
-// Analysis of Pt Fluctuations (pp)\r
-// Author: Stefan Heckel\r
-// Version of pp task:   11.4, 11.06.2012\r
-\r
-\r
-class TList;\r
-class TH1F;\r
-class TH2F;\r
-class TRandom;\r
-\r
-class AliESDEvent;\r
-class AliESDtrack;\r
-class AliESDtrackCuts;\r
-\r
-\r
-#include "AliAnalysisTaskSE.h"\r
-\r
-\r
-class AliAnalysisTaskPtFluc : public AliAnalysisTaskSE {\r
-  public:\r
-    AliAnalysisTaskPtFluc(const char *name = "AliAnalysisTaskPtFluc");\r
-    virtual ~AliAnalysisTaskPtFluc();\r
-\r
-    virtual void   UserCreateOutputObjects();\r
-    virtual void   UserExec(Option_t *option);\r
-    virtual void   Terminate(Option_t *);\r
-\r
-    void SetAliESDtrackCuts(AliESDtrackCuts* esdTrackCuts) {fESDTrackCuts = esdTrackCuts;}\r
-    void SetMaxVertexZ(Float_t vZ) {fMaxVertexZ = vZ;}\r
-    void SetMaxVertexZDiff1(Float_t vZDiff1) {fMaxVertexZDiff1 = vZDiff1;}\r
-    void SetNContributors(Int_t nCont) {fNContributors = nCont;}\r
-    void SetMC(Bool_t bMC) {fMC = bMC;}\r
-    void SetMCType(Int_t bMCType) {fMCType = bMCType;}\r
-\r
-\r
-  private:\r
-    AliESDEvent             *fESD;             // ESD object\r
-    AliMCEvent      *fMCev;            // MC object\r
-    TRandom         *fRandom3;         // Random generator\r
-    TList*           fOutputList;      // List where all the output files are stored\r
-       TH1F*           fPtSpec;        // Pt spectrum - data or MC truth\r
-       TH1F*           fPtSpec2;       // Pt spectrum 2 - MC ESD\r
-       TH1F*           fMult;          // Multiplicity distribution\r
-       TH1F*           fEta;           // Eta distribution\r
-       TH1F*           fEtaPhiPlus;    // Phi distribution for positive eta\r
-       TH1F*           fEtaPhiMinus;   // Phi distribution for negative eta\r
-       TH1F*           fVtxZ;          // Vertex Z distribution after physics selection before any further cuts\r
-       TH1F*           fVtxZCut;       // Vertex Z dist. after vertex Z cut\r
-       TH1F*           fVtxZCont;      // Vertex Z dist. after vertex cut on nContributors\r
-       TH1F*           fVtxZCutDiff;   // Vertex Z dist. after vertex cut on vtx Z Difference\r
-       TH1F*           fVtxZPileup;    // Vertex Z dist. after pileup rejection\r
-       TH1F*           fVtxZTrackCuts; // Vertex Z dist. after all event and track cuts\r
-       TH1F*           fVtxZDiff1;     // Difference 1 between vertex Z distributions\r
-       TH1F*           fVtxZDiff2;     // Difference 2 between vertex Z distributions\r
-       TH1F*           fVtxZDiff3;     // Difference 3 between vertex Z distributions\r
-       TH1F*           fVtxZDiff1b;    // Difference 1 between vertex Z distributions after all cuts\r
-       TH1F*           fVtxZDiff2b;    // Difference 2 between vertex Z distributions after all cuts\r
-       TH1F*           fVtxZDiff3b;    // Difference 3 between vertex Z distributions after all cuts\r
-       TH1F*           fEventMeanPt;           // Event mean pT distribution\r
-       TH1F*           fEventMeanPtSq;         // Event mean pT squared dist.\r
-       TH2F*           fEventMeanPtMult;       // Event mean pT distribution vs. multiplicity (scatter plot)\r
-       TH1F*           fMultEventMeanPt;       // Event mean pT for multiplicity bins\r
-       TH1F*           fMultEventMeanPtSq;     // Event mean pT squared for mult. bins\r
-       TH1F*           fTwoPartCorrEv;         // Two-particle correlator for multiplicity bins\r
-       TH1F*           fTwoPartCorrEvSq;       // Two-part. corr. squared for mult. bins\r
-       TH1F*           fTwoPartCorrEvSample;   // Two-part. corr. for the whole sample\r
-       TH1F*           fTwoPartCorrEvSampleSq; // Two-part. corr. squared for the whole sample\r
-\r
-    AliESDtrackCuts* fESDTrackCuts;    // Esd track cuts\r
-    Float_t          fMaxVertexZ;      // Maximum value for Vertex Z position\r
-    Float_t          fMaxVertexZDiff1; // Maximum value for Vertex Z difference TPC - global\r
-    Int_t            fNContributors;   // Minimum contributors to the vertex\r
-    Bool_t           fMC;              // Check for MC\r
-    Int_t            fMCType;          // Set MC type: ESD, MC truth (generator level), mod. MC truth\r
-\r
-    AliAnalysisTaskPtFluc(const AliAnalysisTaskPtFluc&); // not implemented\r
-    AliAnalysisTaskPtFluc& operator=(const AliAnalysisTaskPtFluc&); // not implemented\r
-\r
-    ClassDef(AliAnalysisTaskPtFluc, 1);\r
-\r
-};\r
-\r
-#endif\r
+#ifndef AliAnalysisTaskPtFluc_cxx
+#define AliAnalysisTaskPtFluc_cxx
+
+// Analysis of Pt Fluctuations (pp)
+// Author: Stefan Heckel
+// Version of pp task:   11.4, 11.06.2012
+
+
+class TList;
+class TH1F;
+class TH2F;
+class TRandom;
+
+class AliESDEvent;
+class AliESDtrack;
+class AliESDtrackCuts;
+
+
+#include "AliAnalysisTaskSE.h"
+
+
+class AliAnalysisTaskPtFluc : public AliAnalysisTaskSE {
+  public:
+    AliAnalysisTaskPtFluc(const char *name = "AliAnalysisTaskPtFluc");
+    virtual ~AliAnalysisTaskPtFluc();
+
+    virtual void   UserCreateOutputObjects();
+    virtual void   UserExec(Option_t *option);
+    virtual void   Terminate(Option_t *);
+
+    void SetAliESDtrackCuts(AliESDtrackCuts* esdTrackCuts) {fESDTrackCuts = esdTrackCuts;}
+    void SetMaxVertexZ(Float_t vZ) {fMaxVertexZ = vZ;}
+    void SetMaxVertexZDiff1(Float_t vZDiff1) {fMaxVertexZDiff1 = vZDiff1;}
+    void SetNContributors(Int_t nCont) {fNContributors = nCont;}
+    void SetMC(Bool_t bMC) {fMC = bMC;}
+    void SetMCType(Int_t bMCType) {fMCType = bMCType;}
+
+
+  private:
+    AliESDEvent             *fESD;             // ESD object
+    AliMCEvent      *fMCev;            // MC object
+    TRandom         *fRandom3;         // Random generator
+    TList*           fOutputList;      // List where all the output files are stored
+       TH1F*           fPtSpec;        // Pt spectrum - data or MC truth
+       TH1F*           fPtSpec2;       // Pt spectrum 2 - MC ESD
+       TH1F*           fMult;          // Multiplicity distribution
+       TH1F*           fEta;           // Eta distribution
+       TH1F*           fEtaPhiPlus;    // Phi distribution for positive eta
+       TH1F*           fEtaPhiMinus;   // Phi distribution for negative eta
+       TH1F*           fVtxZ;          // Vertex Z distribution after physics selection before any further cuts
+       TH1F*           fVtxZCut;       // Vertex Z dist. after vertex Z cut
+       TH1F*           fVtxZCont;      // Vertex Z dist. after vertex cut on nContributors
+       TH1F*           fVtxZCutDiff;   // Vertex Z dist. after vertex cut on vtx Z Difference
+       TH1F*           fVtxZPileup;    // Vertex Z dist. after pileup rejection
+       TH1F*           fVtxZTrackCuts; // Vertex Z dist. after all event and track cuts
+       TH1F*           fVtxZDiff1;     // Difference 1 between vertex Z distributions
+       TH1F*           fVtxZDiff2;     // Difference 2 between vertex Z distributions
+       TH1F*           fVtxZDiff3;     // Difference 3 between vertex Z distributions
+       TH1F*           fVtxZDiff1b;    // Difference 1 between vertex Z distributions after all cuts
+       TH1F*           fVtxZDiff2b;    // Difference 2 between vertex Z distributions after all cuts
+       TH1F*           fVtxZDiff3b;    // Difference 3 between vertex Z distributions after all cuts
+       TH1F*           fEventMeanPt;           // Event mean pT distribution
+       TH1F*           fEventMeanPtSq;         // Event mean pT squared dist.
+       TH2F*           fEventMeanPtMult;       // Event mean pT distribution vs. multiplicity (scatter plot)
+       TH1F*           fMultEventMeanPt;       // Event mean pT for multiplicity bins
+       TH1F*           fMultEventMeanPtSq;     // Event mean pT squared for mult. bins
+       TH1F*           fTwoPartCorrEv;         // Two-particle correlator for multiplicity bins
+       TH1F*           fTwoPartCorrEvSq;       // Two-part. corr. squared for mult. bins
+       TH1F*           fTwoPartCorrEvSample;   // Two-part. corr. for the whole sample
+       TH1F*           fTwoPartCorrEvSampleSq; // Two-part. corr. squared for the whole sample
+
+    AliESDtrackCuts* fESDTrackCuts;    // Esd track cuts
+    Float_t          fMaxVertexZ;      // Maximum value for Vertex Z position
+    Float_t          fMaxVertexZDiff1; // Maximum value for Vertex Z difference TPC - global
+    Int_t            fNContributors;   // Minimum contributors to the vertex
+    Bool_t           fMC;              // Check for MC
+    Int_t            fMCType;          // Set MC type: ESD, MC truth (generator level), mod. MC truth
+
+    AliAnalysisTaskPtFluc(const AliAnalysisTaskPtFluc&); // not implemented
+    AliAnalysisTaskPtFluc& operator=(const AliAnalysisTaskPtFluc&); // not implemented
+
+    ClassDef(AliAnalysisTaskPtFluc, 1);
+
+};
+
+#endif