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