]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG3/hfe/AliAnalysisTaskHFEpidQA.h
Updates, adding EMCal (committing on behalf of Silvia)
[u/mrichter/AliRoot.git] / PWG3 / hfe / AliAnalysisTaskHFEpidQA.h
CommitLineData
27de2dfb 1#ifndef ALIANALYSISTASKHFEPIDQA_H
2#define ALIANALYSISTASKHFEPIDQA_H
3
91c7e1ec 4/**************************************************************************
5* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6* *
7* Author: The ALICE Off-line Project. *
8* Contributors are mentioned in the code where appropriate. *
9* *
10* Permission to use, copy, modify and distribute this software and its *
11* documentation strictly for non-commercial purposes is hereby granted *
12* without fee, provided that the above copyright notice appears in all *
13* copies and that both the copyright notice and this permission notice *
14* appear in the supporting documentation. The authors make no claims *
15* about the suitability of this software for any purpose. It is *
16* provided "as is" without express or implied warranty. *
17**************************************************************************/
27de2dfb 18
19/* $Id$ */
20
91c7e1ec 21//
22// Task for PID QA
23// Using AliHFEpidQA and AliHFEMCpidQA
24// More information can be found in the source file
25//
70da6c5a 26#ifndef ALIANALYSISTASKSE_H
27#include "AliAnalysisTaskSE.h"
28#endif
29
30class TH1;
31class TList;
faee3b18 32class TFile;
33
34class AliLog;
35class AliMCEvent;
70da6c5a 36
37class AliHFEpidQA;
38
39class AliAnalysisTaskHFEpidQA : public AliAnalysisTaskSE{
70da6c5a 40 public:
41 AliAnalysisTaskHFEpidQA();
42 AliAnalysisTaskHFEpidQA(const Char_t *name);
43 ~AliAnalysisTaskHFEpidQA();
44
91c7e1ec 45 virtual void UserCreateOutputObjects();
70da6c5a 46 virtual void UserExec(Option_t *);
47 virtual void Terminate(Option_t *);
91c7e1ec 48 virtual Bool_t UserNotify();
70da6c5a 49
50 Bool_t HasV0pidQA() const { return TestBit(kV0pidQA); };
51 Bool_t HasRecalculateTRDpid() const { return TestBit(kRecalculateTRDpid); };
52 void SetV0pidQA(Bool_t v0pidQA = kTRUE) { SetBit(kV0pidQA, v0pidQA); };
53 void SetRecalculateTRDpid(Bool_t recal = kTRUE) { SetBit(kRecalculateTRDpid, recal); };
54
faee3b18 55 void SetNNref(TFile *f) { fNNref = f; };
56
70da6c5a 57 private:
91c7e1ec 58 enum{
59 kV0pidQA = BIT(22),
60 kRecalculateTRDpid = BIT(23)
61 };
70da6c5a 62 AliAnalysisTaskHFEpidQA(const AliAnalysisTaskHFEpidQA &ref);
63 AliAnalysisTaskHFEpidQA &operator=(const AliAnalysisTaskHFEpidQA &ref);
64 AliHFEpidQA *fPIDqa; //! The heart of the analysis
65 TList *fOutput; //! Container for output histos
66 TH1 *fEvents; //! Number of Events
faee3b18 67 TFile *fNNref; // reference file for NN
70da6c5a 68
69 ClassDef(AliAnalysisTaskHFEpidQA, 1)
70};
71
72#endif
73