]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGHF/hfe/AliHFEitsPIDqa.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGHF / hfe / AliHFEitsPIDqa.h
CommitLineData
4437a0d2 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 AliHFEitsPIDqa
17// Monitoring ITS PID in the HFE PID montioring framework
18// More information can be found inside the implementation file
19//
20#ifndef ALIHFEITSPIDQA_H
21#define ALIHFEITSPIDQA_H
22
23#ifndef ALIHFEDETPIDQA_H
24#include "AliHFEdetPIDqa.h"
25#endif
26
27#ifndef ALIHFEPIDBASE_H
28#include "AliHFEpidBase.h"
29#endif
30
31class TBrowser;
32class TH2;
33class AliHFEcollection;
34class AliVParticle;
35
36class AliHFEitsPIDqa : public AliHFEdetPIDqa{
37 public:
38 AliHFEitsPIDqa();
39 AliHFEitsPIDqa(const char*name);
40 AliHFEitsPIDqa(const AliHFEitsPIDqa &o);
41 AliHFEitsPIDqa &operator=(const AliHFEitsPIDqa &o);
42 ~AliHFEitsPIDqa();
43 void Copy(TObject &o) const;
44 virtual Long64_t Merge(TCollection *col);
45 virtual void Browse(TBrowser *b);
46 virtual Bool_t IsFolder() const { return kTRUE; };
47
48 virtual void Initialize();
49 virtual void ProcessTrack(const AliHFEpidObject *track, AliHFEdetPIDqa::EStep_t step);
50
51 void SetBrowseCentrality(Int_t browseCentrality) { browseCentrality < 11 && browseCentrality >= -1 ? fBrowseCentrality = browseCentrality : -1;} // *MENU*
52
53 AliHFEcollection *GetHistograms() const { return fHistos; }
54 TH2 *MakeSpectrumNSigma(AliHFEdetPIDqa::EStep_t step, Int_t species = -1, Int_t centralityClass = -1);
55
56 protected:
57 Double_t GetEta(const AliVParticle *track, AliHFEpidObject::AnalysisType_t anatype);
58
59 private:
60 AliHFEcollection *fHistos; // Container for Histograms
61 Int_t fBrowseCentrality; // Centrality Class for Browser
62
63 ClassDef(AliHFEitsPIDqa, 1);
64};
65#endif