offline calibration
[u/mrichter/AliRoot.git] / PMD / AliPMDOfflineCalibTask.h
CommitLineData
e9cae9ed 1#ifndef AliPMDOfflineCalibTask_cxx\r
2#define AliPMDOfflineCalibTask_cxx\r
3\r
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\r
5 * See cxx source for full Copyright notice */\r
6\r
7/************************************\r
8 *\r
9 * Satyajit Jena, IIT Bombay\r
10 * sjena@cern.ch\r
11 * Fri Feb 12 13:30:19 IST 2010\r
12 *\r
13 ************************************/\r
14\r
15class TH1F;\r
16class TList;\r
17class TObjArray;\r
18\r
19#include "TObjString.h"\r
20#include "AliAnalysisTaskSE.h"\r
21\r
22class AliPMDOfflineCalibTask : public AliAnalysisTaskSE {\r
23 public:\r
24 AliPMDOfflineCalibTask(const char *name = "AliPMDOfflineCalibTask");\r
25 virtual ~AliPMDOfflineCalibTask() {}\r
26 \r
27 virtual void UserCreateOutputObjects();\r
28 virtual void UserExec(Option_t *option);\r
29 virtual void Terminate(Option_t *);\r
30\r
31 void AddSelectedTriggerClass(const char*name) {fSelectedTrigger->Add(new TObjString(name));};\r
32 void SetReject(Bool_t rejected) {fRejected = rejected;};\r
33 \r
34 private:\r
35\r
36 TList *fListOfHistos;\r
37 \r
38 TH1F *fPmdCalibAdcP; \r
39 TH1F *fPmdCalibAdcC; \r
40 TH1F *fPmdCalibEntP; \r
41 TH1F *fPmdCalibEntC; \r
42\r
43 TH1I *fNEvents; \r
44 \r
45 TObjArray *fSelectedTrigger; \r
46 Bool_t fRejected;\r
47\r
48 AliPMDOfflineCalibTask(const AliPMDOfflineCalibTask&); \r
49 AliPMDOfflineCalibTask& operator=(const AliPMDOfflineCalibTask&); \r
50 \r
51 ClassDef(AliPMDOfflineCalibTask, 1); \r
52};\r
53\r
54#endif\r
55\r