]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG3/hfe/AliHFEpostAnalysis.h
extra check on pointer
[u/mrichter/AliRoot.git] / PWG3 / hfe / AliHFEpostAnalysis.h
CommitLineData
d2af20c5 1/**************************************************************************
2* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3* *
4* Author: The ALICE Off-line Project. *
5* Contributors are mentioned in the code where appropriate. *
6* *
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**************************************************************************/
15//
16// Post analysis class
17// Creating results and draw pictures
18// Called in AliAnalysisTaskHFE::Terminate or in a macro
19//
20#ifndef ALIHFEPOSTANALYSIS_H
21#define ALIHFEPOSTANALYSIS_H
22
23#ifndef ROOT_THnSparse
24#include <THnSparse.h>
25#endif
26
27class AliCFContainer;
28class TList;
29class AliHFEpostAnalysis : public TObject{
30 public:
31 AliHFEpostAnalysis();
32 AliHFEpostAnalysis(const AliHFEpostAnalysis &ref);
33 AliHFEpostAnalysis &operator=(const AliHFEpostAnalysis &ref);
34 ~AliHFEpostAnalysis();
35
36 Int_t SetResults(TList *input);
37 void StoreOutput(const char *filename = "HFEresults.root");
38
39 void DrawMCSignal2Background();
40 void DrawEfficiency();
41 void DrawPIDperformance();
42 private:
43 enum{
44 kCFC,
45 kPIDperf,
46 kSigBackg
47 };
48 TList *fResults; // Container for output objects
49 UChar_t fAnalysisObjects; // S
50 AliCFContainer *fEfficiencyContainer; // Task Results
51 THnSparseF *fPIDperformance; // PID Performance Studies
52 THnSparseF *fSignalToBackgroundMC; // Signal To Background Studies
53
54 ClassDef(AliHFEpostAnalysis, 1) // Result Creator class
55};
56
57#endif