1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
16 // Class AliHFEtpcPIDqa
17 // Monitoring TPC PID in the HFE PID montioring framework
18 // More information can be found inside the implementation file
20 #ifndef ALIHFETPCPIDQA_H
21 #define ALIHFETPCPIDQA_H
23 #ifndef ALIHFEDETPIDQA_H
24 #include "AliHFEdetPIDqa.h"
27 #ifndef ALIHFEPIDBASE_H
28 #include "AliHFEpidBase.h"
32 class AliHFEcollection;
35 class AliHFEtpcPIDqa : public AliHFEdetPIDqa{
38 AliHFEtpcPIDqa(const char*name);
39 AliHFEtpcPIDqa(const AliHFEtpcPIDqa &o);
40 AliHFEtpcPIDqa &operator=(const AliHFEtpcPIDqa &o);
42 void Copy(TObject &o) const;
43 virtual Long64_t Merge(TCollection *col);
45 virtual void Initialize();
46 virtual void ProcessTrack(const AliHFEpidObject *track, AliHFEdetPIDqa::EStep_t step);
48 AliHFEcollection *GetHistograms() const { return fHistos; }
49 TH2 *MakeSpectrumdEdx(AliHFEdetPIDqa::EStep_t step, Int_t species = -1);
50 TH2 *MakeSpectrumNSigma(AliHFEdetPIDqa::EStep_t step, Int_t species = -1);
53 Double_t GetTPCsignal(const AliVParticle *track, AliHFEpidObject::AnalysisType_t anatype);
56 AliHFEcollection *fHistos; // Container for Histograms
58 ClassDef(AliHFEtpcPIDqa, 1);