]>
Commit | Line | Data |
---|---|---|
959ea9d8 | 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 | // Class for spectrum correction | |
17 | // Subtraction of hadronic background, Unfolding of the data and | |
18 | // Renormalization done here | |
19 | // For more information see the implementation file | |
20 | // | |
21 | #ifndef ALIHFEINCLUSIVESPECTRUM_H | |
22 | #define ALIHFEINCLUSIVESPECTRUM_H | |
23 | ||
24 | #include "AliHFECorrectSpectrumBase.h" | |
25 | ||
26 | ||
27 | class TGraphErrors; | |
28 | class TObject; | |
29 | class TH1; | |
30 | class TF1; | |
31 | class TList; | |
32 | class TObjArray; | |
33 | class AliCFContainer; | |
34 | class AliHFEcontainer; | |
35 | class AliCFDataGrid; | |
36 | class AliCFEffGrid; | |
37 | class AliHFEInclusiveSpectrumQA; | |
38 | ||
39 | class AliHFEInclusiveSpectrum : public AliHFECorrectSpectrumBase{ | |
40 | public: | |
41 | ||
42 | AliHFEInclusiveSpectrum(const char* name); | |
43 | ~AliHFEInclusiveSpectrum(); | |
44 | ||
45 | ||
63bdf450 | 46 | virtual Bool_t Init(const AliHFEcontainer *datahfecontainer, const AliHFEcontainer *mchfecontainer, const AliHFEcontainer */*bghfecontainer*/=0x0, const AliHFEcontainer *v0hfecontainer=0x0,AliCFContainer *photoniccontainerD=0x0); |
47 | virtual Bool_t Correct(Bool_t subtractcontamination=kTRUE, Bool_t subtractphotonic=kFALSE); | |
959ea9d8 | 48 | |
49 | AliCFDataGrid *SubtractBackground(); | |
63bdf450 | 50 | AliCFDataGrid *SubtractPhotonicBackground(); |
959ea9d8 | 51 | AliCFDataGrid *CorrectV0Efficiency(AliCFDataGrid* const bgsubpectrum = 0x0); |
52 | AliCFDataGrid *CorrectParametrizedEfficiency(AliCFDataGrid* const bgsubpectrum = 0x0); | |
53 | THnSparse *Unfold(AliCFDataGrid* const bgsubpectrum = 0x0); | |
54 | AliCFDataGrid *CorrectForEfficiency(AliCFDataGrid* const bgsubpectrum = 0x0); | |
55 | ||
56 | void WriteResults(const char *filename); | |
57 | ||
58 | private: | |
59 | AliHFEInclusiveSpectrum(const AliHFEInclusiveSpectrum &ref); | |
60 | AliHFEInclusiveSpectrum &operator=(const AliHFEInclusiveSpectrum &ref); | |
61 | virtual void Copy(TObject &o) const; | |
62 | ||
63 | AliHFEInclusiveSpectrumQA *fQA; // QA | |
64 | ||
65 | ClassDef(AliHFEInclusiveSpectrum, 1) | |
66 | }; | |
67 | #endif | |
68 |