]>
Commit | Line | Data |
---|---|---|
27de2dfb | 1 | #ifndef ALIHFETPCPIDQA_H |
2 | #define ALIHFETPCPIDQA_H | |
3 | ||
3a72645a | 4 | /************************************************************************** |
5 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
6 | * * | |
7 | * Author: The ALICE Off-line Project. * | |
8 | * Contributors are mentioned in the code where appropriate. * | |
9 | * * | |
10 | * Permission to use, copy, modify and distribute this software and its * | |
11 | * documentation strictly for non-commercial purposes is hereby granted * | |
12 | * without fee, provided that the above copyright notice appears in all * | |
13 | * copies and that both the copyright notice and this permission notice * | |
14 | * appear in the supporting documentation. The authors make no claims * | |
15 | * about the suitability of this software for any purpose. It is * | |
16 | * provided "as is" without express or implied warranty. * | |
17 | **************************************************************************/ | |
27de2dfb | 18 | |
19 | /* $Id$ */ | |
20 | ||
3a72645a | 21 | // |
22 | // Class AliHFEtpcPIDqa | |
23 | // Monitoring TPC PID in the HFE PID montioring framework | |
24 | // More information can be found inside the implementation file | |
25 | // | |
3a72645a | 26 | #ifndef ALIHFEDETPIDQA_H |
27 | #include "AliHFEdetPIDqa.h" | |
28 | #endif | |
29 | ||
6555e2ad | 30 | #ifndef ALIHFEPIDBASE_H |
31 | #include "AliHFEpidBase.h" | |
32 | #endif | |
33 | ||
bf892a6a | 34 | class TBrowser; |
3a72645a | 35 | class TH2; |
36 | class AliHFEcollection; | |
6555e2ad | 37 | class AliVParticle; |
3a72645a | 38 | |
39 | class AliHFEtpcPIDqa : public AliHFEdetPIDqa{ | |
40 | public: | |
41 | AliHFEtpcPIDqa(); | |
42 | AliHFEtpcPIDqa(const char*name); | |
43 | AliHFEtpcPIDqa(const AliHFEtpcPIDqa &o); | |
44 | AliHFEtpcPIDqa &operator=(const AliHFEtpcPIDqa &o); | |
45 | ~AliHFEtpcPIDqa(); | |
46 | void Copy(TObject &o) const; | |
47 | virtual Long64_t Merge(TCollection *col); | |
bf892a6a | 48 | virtual void Browse(TBrowser *b); |
49 | virtual Bool_t IsFolder() const { return kTRUE; }; | |
3a72645a | 50 | |
51 | virtual void Initialize(); | |
6555e2ad | 52 | virtual void ProcessTrack(const AliHFEpidObject *track, AliHFEdetPIDqa::EStep_t step); |
3a72645a | 53 | |
54 | AliHFEcollection *GetHistograms() const { return fHistos; } | |
55 | TH2 *MakeSpectrumdEdx(AliHFEdetPIDqa::EStep_t step, Int_t species = -1); | |
56 | TH2 *MakeSpectrumNSigma(AliHFEdetPIDqa::EStep_t step, Int_t species = -1); | |
57 | ||
58 | protected: | |
6555e2ad | 59 | Double_t GetTPCsignal(const AliVParticle *track, AliHFEpidObject::AnalysisType_t anatype); |
60 | ||
3a72645a | 61 | private: |
62 | AliHFEcollection *fHistos; // Container for Histograms | |
63 | ||
64 | ClassDef(AliHFEtpcPIDqa, 1); | |
65 | }; | |
66 | #endif |