]>
Commit | Line | Data |
---|---|---|
3a72645a | 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 AliHFEtpcPIDqa | |
17 | // Monitoring TPC PID in the HFE PID montioring framework | |
18 | // More information can be found inside the implementation file | |
19 | // | |
c2690925 | 20 | #ifndef ALIHFETPCPIDQA_H |
21 | #define ALIHFETPCPIDQA_H | |
22 | ||
3a72645a | 23 | #ifndef ALIHFEDETPIDQA_H |
24 | #include "AliHFEdetPIDqa.h" | |
25 | #endif | |
26 | ||
6555e2ad | 27 | #ifndef ALIHFEPIDBASE_H |
28 | #include "AliHFEpidBase.h" | |
29 | #endif | |
30 | ||
bf892a6a | 31 | class TBrowser; |
3a72645a | 32 | class TH2; |
33 | class AliHFEcollection; | |
6555e2ad | 34 | class AliVParticle; |
3a72645a | 35 | |
36 | class AliHFEtpcPIDqa : public AliHFEdetPIDqa{ | |
37 | public: | |
38 | AliHFEtpcPIDqa(); | |
39 | AliHFEtpcPIDqa(const char*name); | |
40 | AliHFEtpcPIDqa(const AliHFEtpcPIDqa &o); | |
41 | AliHFEtpcPIDqa &operator=(const AliHFEtpcPIDqa &o); | |
42 | ~AliHFEtpcPIDqa(); | |
43 | void Copy(TObject &o) const; | |
44 | virtual Long64_t Merge(TCollection *col); | |
bf892a6a | 45 | virtual void Browse(TBrowser *b); |
46 | virtual Bool_t IsFolder() const { return kTRUE; }; | |
3a72645a | 47 | |
48 | virtual void Initialize(); | |
6555e2ad | 49 | virtual void ProcessTrack(const AliHFEpidObject *track, AliHFEdetPIDqa::EStep_t step); |
3a72645a | 50 | |
e156c3bb | 51 | void SetBrowseCentrality(Int_t browseCentrality) { browseCentrality < 11 && browseCentrality >= -1 ? fBrowseCentrality = browseCentrality : -1;} // *MENU* |
52 | ||
3a72645a | 53 | AliHFEcollection *GetHistograms() const { return fHistos; } |
e156c3bb | 54 | TH2 *MakeSpectrumdEdx(AliHFEdetPIDqa::EStep_t step, Int_t species = -1, Int_t centralityClass = -1); |
55 | TH2 *MakeSpectrumNSigma(AliHFEdetPIDqa::EStep_t step, Int_t species = -1, Int_t centralityClass = -1); | |
3a72645a | 56 | |
57 | protected: | |
6555e2ad | 58 | Double_t GetTPCsignal(const AliVParticle *track, AliHFEpidObject::AnalysisType_t anatype); |
a8d09079 | 59 | Double_t GetEta(const AliVParticle *track, AliHFEpidObject::AnalysisType_t anatype); |
6555e2ad | 60 | |
3a72645a | 61 | private: |
62 | AliHFEcollection *fHistos; // Container for Histograms | |
e156c3bb | 63 | Int_t fBrowseCentrality; // Centrality Class for Browser |
3a72645a | 64 | |
65 | ClassDef(AliHFEtpcPIDqa, 1); | |
66 | }; | |
67 | #endif |