1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
17 // Using AliHFEpidQA and AliHFEMCpidQA
18 // More information can be found in the source file
20 #ifndef ALIANALYSISTASKHFEPIDQA_H
21 #define ALIANALYSISTASKHFEPIDQA_H
23 #ifndef ALIANALYSISTASKSE_H
24 #include "AliAnalysisTaskSE.h"
32 class AliAnalysisTaskHFEpidQA : public AliAnalysisTaskSE{
34 AliAnalysisTaskHFEpidQA();
35 AliAnalysisTaskHFEpidQA(const Char_t *name);
36 ~AliAnalysisTaskHFEpidQA();
38 virtual void UserCreateOutputObjects();
39 virtual void UserExec(Option_t *);
40 virtual void Terminate(Option_t *);
41 virtual Bool_t UserNotify();
43 Bool_t HasV0pidQA() const { return TestBit(kV0pidQA); };
44 Bool_t HasRecalculateTRDpid() const { return TestBit(kRecalculateTRDpid); };
45 void SetV0pidQA(Bool_t v0pidQA = kTRUE) { SetBit(kV0pidQA, v0pidQA); };
46 void SetRecalculateTRDpid(Bool_t recal = kTRUE) { SetBit(kRecalculateTRDpid, recal); };
51 kRecalculateTRDpid = BIT(23)
53 AliAnalysisTaskHFEpidQA(const AliAnalysisTaskHFEpidQA &ref);
54 AliAnalysisTaskHFEpidQA &operator=(const AliAnalysisTaskHFEpidQA &ref);
55 AliHFEpidQA *fPIDqa; //! The heart of the analysis
56 TList *fOutput; //! Container for output histos
57 TH1 *fEvents; //! Number of Events
59 ClassDef(AliAnalysisTaskHFEpidQA, 1)