]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGHF/hfe/AliHFEemcalPIDqa.h
Transition PWG3 --> PWGHF
[u/mrichter/AliRoot.git] / PWGHF / hfe / AliHFEemcalPIDqa.h
CommitLineData
c2690925 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 AliHFEemcalPIDqa
17// Monitoring EMCAL PID in the HFE PID montioring framework
18// More information can be found inside the implementation file
19//
20#ifndef ALIHFEEMCALPIDQA_H
21#define ALIHFEEMCALPIDQA_H
22
23#ifndef ALIHFEDETPIDQA_H
24#include "AliHFEdetPIDqa.h"
25#endif
26
27class TH1;
28class TH2;
29class AliHFEcollection;
30class AliHFEpidObject;
31class AliESDtrack;
32class AliAODTrack;
33
e156c3bb 34class TVector3;
35
36
c2690925 37class AliHFEemcalPIDqa : public AliHFEdetPIDqa{
38 public:
39 AliHFEemcalPIDqa();
40 AliHFEemcalPIDqa(const char*name);
41 AliHFEemcalPIDqa(const AliHFEemcalPIDqa &o);
42 AliHFEemcalPIDqa &operator=(const AliHFEemcalPIDqa &o);
43 ~AliHFEemcalPIDqa();
44 void Copy(TObject &o) const;
45 virtual Long64_t Merge(TCollection *col);
46
47 virtual void Initialize();
48 virtual void ProcessTrack(const AliHFEpidObject *track, AliHFEdetPIDqa::EStep_t step);
49
50 //void HistEnergyMomMatch(double pT, double eop);
51 void HistEnergyMomMatch(const AliHFEpidObject *track, double eop);
52 TH1 *GetHistogram(const char *name);
53 AliHFEcollection *GetHistoCollection() const { return fHistos; }
54
e156c3bb 55 TVector3 MomentumEnergyMatchV2(const AliESDtrack *esdtrack) const;
56 //TVector3 MomentumEnergyMatchV1(const AliESDtrack *esdtrack) const;
57
58
c2690925 59 protected:
60 void ProcessESDtrack(const AliESDtrack *track, AliHFEdetPIDqa::EStep_t step, Int_t species);
61 void ProcessAODtrack(const AliAODTrack *track, AliHFEdetPIDqa::EStep_t step, Int_t species);
62 private:
63 AliHFEcollection *fHistos; // Container for Histograms
64
65 ClassDef(AliHFEemcalPIDqa, 1);
66};
67#endif