]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG3/hfe/AliHFEtofPIDqa.h
Updates, adding EMCal (committing on behalf of Silvia)
[u/mrichter/AliRoot.git] / PWG3 / hfe / AliHFEtofPIDqa.h
CommitLineData
27de2dfb 1#ifndef ALIHFETOFPIDQA_H
2#define ALIHFETOFPIDQA_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 AliHFEtofPIDqa
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
30class TH1;
31class TH2;
32class AliHFEcollection;
33class AliHFEpidObject;
34class AliESDtrack;
35class AliAODTrack;
36
37class AliHFEtofPIDqa : public AliHFEdetPIDqa{
38 public:
39 AliHFEtofPIDqa();
40 AliHFEtofPIDqa(const char*name);
41 AliHFEtofPIDqa(const AliHFEtofPIDqa &o);
42 AliHFEtofPIDqa &operator=(const AliHFEtofPIDqa &o);
43 ~AliHFEtofPIDqa();
44 void Copy(TObject &o) const;
45 virtual Long64_t Merge(TCollection *col);
46
47 virtual void Initialize();
6555e2ad 48 virtual void ProcessTrack(const AliHFEpidObject *track, AliHFEdetPIDqa::EStep_t step);
3a72645a 49
50 TH2 *MakeSpectrumNSigma(AliHFEdetPIDqa::EStep_t step, Int_t species = -1);
51 TH1 *GetHistogram(const char *name);
52 AliHFEcollection *GetHistoCollection() const { return fHistos; }
53
54 protected:
55 void ProcessESDtrack(const AliESDtrack *track, AliHFEdetPIDqa::EStep_t step, Int_t species);
56 void ProcessAODtrack(const AliAODTrack *track, AliHFEdetPIDqa::EStep_t step, Int_t species);
57 private:
58 AliHFEcollection *fHistos; // Container for Histograms
59
60 ClassDef(AliHFEtofPIDqa, 1);
61};
62#endif