Major update of the HFE package (comments inside the code
[u/mrichter/AliRoot.git] / PWG3 / hfe / AliHFEtpcPIDqa.h
CommitLineData
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//
20#ifndef ALIHFETPCPIDQA_H
21#define ALIHFETPCPIDQA_H
22
23#ifndef ALIHFEDETPIDQA_H
24#include "AliHFEdetPIDqa.h"
25#endif
26
27class TH2;
28class AliHFEcollection;
29class AliHFEpidObject;
30class AliESDtrack;
31class AliAODTrack;
32
33class AliHFEtpcPIDqa : public AliHFEdetPIDqa{
34 public:
35 AliHFEtpcPIDqa();
36 AliHFEtpcPIDqa(const char*name);
37 AliHFEtpcPIDqa(const AliHFEtpcPIDqa &o);
38 AliHFEtpcPIDqa &operator=(const AliHFEtpcPIDqa &o);
39 ~AliHFEtpcPIDqa();
40 void Copy(TObject &o) const;
41 virtual Long64_t Merge(TCollection *col);
42
43 virtual void Initialize();
44 virtual void ProcessTrack(AliHFEpidObject *track, AliHFEdetPIDqa::EStep_t step);
45
46 AliHFEcollection *GetHistograms() const { return fHistos; }
47 TH2 *MakeSpectrumdEdx(AliHFEdetPIDqa::EStep_t step, Int_t species = -1);
48 TH2 *MakeSpectrumNSigma(AliHFEdetPIDqa::EStep_t step, Int_t species = -1);
49
50 protected:
51 void ProcessESDtrack(const AliESDtrack *track, AliHFEdetPIDqa::EStep_t step, Int_t species, Float_t centrality);
52 void ProcessAODtrack(const AliAODTrack *track, AliHFEdetPIDqa::EStep_t step, Int_t species, Float_t centrality);
53 private:
54 AliHFEcollection *fHistos; // Container for Histograms
55
56 ClassDef(AliHFEtpcPIDqa, 1);
57};
58#endif