]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGGA/PHOSTasks/CaloCellQA/AliAnalysisTaskCaloCellsQA.h
end-of-line normalization
[u/mrichter/AliRoot.git] / PWGGA / PHOSTasks / CaloCellQA / AliAnalysisTaskCaloCellsQA.h
index 4226c8f7e3f95ecc00f4ac33aabd57187fd289a9..fbe381afbb1774dc3e49dc006a72df1873465fdc 100644 (file)
@@ -1,63 +1,63 @@
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\r
- * See cxx source for full Copyright notice                               */\r
-\r
-//_________________________________________________________________________\r
-// Container class for bad channels & bad runs identification\r
-// Author: Olga Driga (SUBATECH)\r
-\r
-#ifndef ALIANALYSISTASKCALOCELLSQA_H\r
-#define ALIANALYSISTASKCALOCELLSQA_H\r
-\r
-// --- ROOT system ---\r
-#include <TString.h>\r
-\r
-// --- AliRoot header files ---\r
-#include <AliAnalysisTaskSE.h>\r
-#include <AliCaloCellsQA.h>\r
-\r
-class AliAnalysisTaskCaloCellsQA : public AliAnalysisTaskSE {\r
-\r
-public:\r
-\r
-  // detectors\r
-  enum {\r
-    kEMCAL = 0,\r
-    kPHOS  = 1\r
-// ,kDCAL  = 2      // not implemented\r
-  };\r
-\r
-  AliAnalysisTaskCaloCellsQA();\r
-  AliAnalysisTaskCaloCellsQA(const char *name, Int_t nmods = 10, Int_t det = kEMCAL, char *outfile = NULL);\r
-  virtual ~AliAnalysisTaskCaloCellsQA();\r
-\r
-  void   UserCreateOutputObjects();\r
-  void   UserExec(Option_t *);\r
-  void   Terminate(Option_t *);\r
-\r
-  void   SetBadCells(Int_t badcells[], Int_t nbad);\r
-\r
-  // getters and setters\r
-  AliCaloCellsQA*  GetCaloCellsQA()                { return fCellsQA; }\r
-  Bool_t           GetAvoidPileup()                { return fkAvoidPileup; }\r
-  const char*      GetOutputFileName()             { return fOutfile.Data(); }\r
-  void             SetAvoidPileup(Bool_t flag)     { fkAvoidPileup = flag; }\r
-  void             SetOutputFileName(char* fname)  { fOutfile = fname; }\r
-\r
-protected:\r
-  Bool_t IsClusterBad(AliVCluster *clus);\r
-\r
-private:\r
-  AliAnalysisTaskCaloCellsQA(const AliAnalysisTaskCaloCellsQA &);\r
-  AliAnalysisTaskCaloCellsQA & operator = (const AliAnalysisTaskCaloCellsQA &);\r
-\r
-private:\r
-  Bool_t           fkAvoidPileup;     // flag not to process pileup events\r
-  AliCaloCellsQA*  fCellsQA;          // analysis instance\r
-  TString          fOutfile;          // output file name\r
-  Int_t            fNBad;             // number of entries in fBadCells\r
-  Int_t*           fBadCells;         //[fNBad] bad cells array\r
-\r
-  ClassDef(AliAnalysisTaskCaloCellsQA, 2);\r
-};\r
-\r
-#endif\r
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+//_________________________________________________________________________
+// Container class for bad channels & bad runs identification
+// Author: Olga Driga (SUBATECH)
+
+#ifndef ALIANALYSISTASKCALOCELLSQA_H
+#define ALIANALYSISTASKCALOCELLSQA_H
+
+// --- ROOT system ---
+#include <TString.h>
+
+// --- AliRoot header files ---
+#include <AliAnalysisTaskSE.h>
+#include <AliCaloCellsQA.h>
+
+class AliAnalysisTaskCaloCellsQA : public AliAnalysisTaskSE {
+
+public:
+
+  // detectors
+  enum {
+    kEMCAL = 0,
+    kPHOS  = 1
+// ,kDCAL  = 2      // not implemented
+  };
+
+  AliAnalysisTaskCaloCellsQA();
+  AliAnalysisTaskCaloCellsQA(const char *name, Int_t nmods = 10, Int_t det = kEMCAL, char *outfile = NULL);
+  virtual ~AliAnalysisTaskCaloCellsQA();
+
+  void   UserCreateOutputObjects();
+  void   UserExec(Option_t *);
+  void   Terminate(Option_t *);
+
+  void   SetBadCells(Int_t badcells[], Int_t nbad);
+
+  // getters and setters
+  AliCaloCellsQA*  GetCaloCellsQA()                { return fCellsQA; }
+  Bool_t           GetAvoidPileup()                { return fkAvoidPileup; }
+  const char*      GetOutputFileName()             { return fOutfile.Data(); }
+  void             SetAvoidPileup(Bool_t flag)     { fkAvoidPileup = flag; }
+  void             SetOutputFileName(char* fname)  { fOutfile = fname; }
+
+protected:
+  Bool_t IsClusterBad(AliVCluster *clus);
+
+private:
+  AliAnalysisTaskCaloCellsQA(const AliAnalysisTaskCaloCellsQA &);
+  AliAnalysisTaskCaloCellsQA & operator = (const AliAnalysisTaskCaloCellsQA &);
+
+private:
+  Bool_t           fkAvoidPileup;     // flag not to process pileup events
+  AliCaloCellsQA*  fCellsQA;          // analysis instance
+  TString          fOutfile;          // output file name
+  Int_t            fNBad;             // number of entries in fBadCells
+  Int_t*           fBadCells;         //[fNBad] bad cells array
+
+  ClassDef(AliAnalysisTaskCaloCellsQA, 2);
+};
+
+#endif