Place the config and root file at the right place
[u/mrichter/AliRoot.git] / PWGHF / hfe / AliHFEtofPIDqa.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 AliHFEtofPIDqa
17// Monitoring TPC PID in the HFE PID montioring framework
18// More information can be found inside the implementation file
19//
c2690925 20#ifndef ALIHFETOFPIDQA_H
21#define ALIHFETOFPIDQA_H
22
3a72645a 23#ifndef ALIHFEDETPIDQA_H
24#include "AliHFEdetPIDqa.h"
25#endif
26
27class TH1;
28class TH2;
29class AliHFEcollection;
30class AliHFEpidObject;
31class AliESDtrack;
32class AliAODTrack;
33
34class AliHFEtofPIDqa : public AliHFEdetPIDqa{
35 public:
36 AliHFEtofPIDqa();
37 AliHFEtofPIDqa(const char*name);
38 AliHFEtofPIDqa(const AliHFEtofPIDqa &o);
39 AliHFEtofPIDqa &operator=(const AliHFEtofPIDqa &o);
40 ~AliHFEtofPIDqa();
41 void Copy(TObject &o) const;
42 virtual Long64_t Merge(TCollection *col);
43
44 virtual void Initialize();
6555e2ad 45 virtual void ProcessTrack(const AliHFEpidObject *track, AliHFEdetPIDqa::EStep_t step);
3a72645a 46
cedf0381 47 TH2 *MakeTPCspectrumNsigma(AliHFEdetPIDqa::EStep_t step, Int_t species = -1, Int_t centralityClass = -1);
4437a0d2 48 TH2 *MakeSpectrumNSigma(AliHFEdetPIDqa::EStep_t step, Int_t species = -1, Int_t centralityClass = -1);
3a72645a 49 TH1 *GetHistogram(const char *name);
50 AliHFEcollection *GetHistoCollection() const { return fHistos; }
51
52 protected:
53 void ProcessESDtrack(const AliESDtrack *track, AliHFEdetPIDqa::EStep_t step, Int_t species);
54 void ProcessAODtrack(const AliAODTrack *track, AliHFEdetPIDqa::EStep_t step, Int_t species);
55 private:
56 AliHFEcollection *fHistos; // Container for Histograms
57
58 ClassDef(AliHFEtofPIDqa, 1);
59};
60#endif