]>
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 AliHFEtrdPIDqaV1 | |
17 | // Monitoring TRD PID in the HFE PID montioring framework. | |
18 | // More information can be found inside the implementation file | |
19 | // | |
c2690925 | 20 | #ifndef ALIHFETRDPIDQAV1_H |
21 | #define ALIHFETRDPIDQAV1_H | |
22 | ||
3a72645a | 23 | #ifndef ALIHFEDETPIDQAV1_H |
24 | #include "AliHFEdetPIDqa.h" | |
25 | #endif | |
26 | ||
27 | class AliESDtrack; | |
28 | class AliAODTrack; | |
29 | class AliHFEcollection; | |
30 | class AliHFEpidObject; | |
e3ae862b | 31 | class TBrowser; |
3a72645a | 32 | class TCollection; |
33 | ||
34 | class AliHFEtrdPIDqaV1 : public AliHFEdetPIDqa{ | |
35 | public: | |
36 | AliHFEtrdPIDqaV1(); | |
37 | AliHFEtrdPIDqaV1(const Char_t *name); | |
38 | AliHFEtrdPIDqaV1(const AliHFEtrdPIDqaV1 &c); | |
39 | AliHFEtrdPIDqaV1 &operator=(const AliHFEtrdPIDqaV1 &o); | |
df8926e7 | 40 | ~AliHFEtrdPIDqaV1(); |
e3ae862b | 41 | virtual Long64_t Merge(TCollection *coll); |
42 | virtual void Browse(TBrowser *b); | |
43 | virtual Bool_t IsFolder() const { return kTRUE; }; | |
3a72645a | 44 | |
45 | virtual void Initialize(); | |
6555e2ad | 46 | virtual void ProcessTrack(const AliHFEpidObject *track, AliHFEdetPIDqa::EStep_t step); |
3a72645a | 47 | |
e156c3bb | 48 | AliHFEcollection *GetListOfHistograms() const { return fHistos; } |
49 | ||
50 | TH2 *MakeTPCspectrumNsigma(AliHFEdetPIDqa::EStep_t step, Int_t species = -1, Int_t centralityClass = -1); | |
51 | TH2 *MakeTRDspectrumTM(AliHFEdetPIDqa::EStep_t step, Int_t species = -1, Int_t centralityClass = -1); | |
52 | TH2 *MakeTRDlikelihoodDistribution(AliHFEdetPIDqa::EStep_t step, Int_t species = -1, Int_t centralityClass = -1); | |
53 | TH2 *MakeTRDchargeDistribution(AliHFEdetPIDqa::EStep_t step, Int_t species = -1, Int_t centralityClass = -1); | |
3a72645a | 54 | protected: |
55 | void ProcessESDtrack(const AliESDtrack *esdtrack, AliHFEdetPIDqa::EStep_t step, Int_t species); | |
56 | void ProcessAODtrack(const AliAODTrack *aodtrack, AliHFEdetPIDqa::EStep_t step, Int_t species); | |
57 | AliHFEcollection *fHistos; // QA histograms | |
58 | ||
59 | ClassDef(AliHFEtrdPIDqaV1, 1) // Base class for detector PID QA | |
60 | }; | |
61 | ||
62 | #endif |