]>
Commit | Line | Data |
---|---|---|
8c1c76e9 | 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 AliHFEbayesPIDqa | |
17 | // Monitoring Bayes PID in the HFE PID montioring framework | |
18 | // More information can be found inside the implementation file | |
19 | // | |
20 | #ifndef ALIHFEBAYESPIDQA_H | |
21 | #define ALIHFEBAYESPIDQA_H | |
22 | ||
23 | #ifndef ALIHFEDETPIDQA_H | |
24 | #include "AliHFEdetPIDqa.h" | |
25 | #endif | |
26 | ||
27 | //#ifndef ALIHFEPIDBASE_H | |
28 | //#include "AliHFEpidBase.h" | |
29 | //#endif | |
30 | ||
31 | class TBrowser; | |
32 | class TH2; | |
33 | class AliHFEcollection; | |
34 | class AliVParticle; | |
35 | class AliHFEpidBayes; | |
36 | class AliHFEpidBase; | |
37 | ||
38 | class AliHFEbayesPIDqa : public AliHFEdetPIDqa{ | |
39 | public: | |
40 | AliHFEbayesPIDqa(); | |
41 | AliHFEbayesPIDqa(const char*name); | |
42 | AliHFEbayesPIDqa(const AliHFEbayesPIDqa &c); | |
43 | AliHFEbayesPIDqa &operator=(const AliHFEbayesPIDqa &o); | |
44 | ~AliHFEbayesPIDqa(); | |
45 | ||
46 | virtual void Initialize(); | |
47 | virtual void ProcessTrack(const AliHFEpidObject *track, AliHFEdetPIDqa::EStep_t step); | |
48 | ||
49 | ||
50 | AliHFEcollection *GetHistograms() const { return fHistos; } | |
51 | ||
52 | protected: | |
53 | void CreateProbabilityHistograms(); | |
54 | void CreateDetectorSignalHistograms(); | |
55 | Double_t CalcTOFMass(const AliHFEpidObject *track); | |
56 | private: | |
57 | static const Int_t fgkNBinsProb[5]; // number of bins | |
58 | static const Double_t fgkMinBinsProb[5]; // bin minimum | |
59 | static const Double_t fgkMaxBinsProb[5]; // bin maximum | |
60 | // AliHFEpidBayes *fBAYESpid; // HFE PID for TRD | |
61 | AliHFEcollection *fHistos; // Container for Histograms | |
62 | ||
63 | ClassDef(AliHFEbayesPIDqa, 1); | |
64 | }; | |
65 | #endif |