Place the config and root file at the right place
[u/mrichter/AliRoot.git] / PWGHF / hfe / AliHFEV0pidMC.h
CommitLineData
70da6c5a 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// Benchmarking class for V0 finder and PID.
17// Relies on MC information
18// For more see source file
19//
20
c2690925 21#ifndef ALIHFEV0PIDMC_H
22#define ALIHFEV0PIDMC_H
23
70da6c5a 24#ifndef ROOT_TObject
25#include <TObject.h>
26#endif
27
70da6c5a 28class TList;
29
30class AliMCEvent;
31
faee3b18 32class AliHFEcollection;
70da6c5a 33
34class AliHFEV0pidMC : public TObject {
35
36 public:
37 AliHFEV0pidMC();
38 ~AliHFEV0pidMC();
39
40 void Init();
41 Bool_t Process(TObjArray * const array, Int_t type);
42
43 void SetMCEvent(AliMCEvent * const mc) { fMC = mc; };
44
c2690925 45 TList* GetListOfQAhistograms();
70da6c5a 46
47 private:
48 AliHFEV0pidMC(const AliHFEV0pidMC &);
49 AliHFEV0pidMC &operator=(const AliHFEV0pidMC &);
50 Int_t PDGtoPIDdaughter(Int_t pdg) const; // convert the PDG code to local PID
51 Int_t PDGtoPIDmother(Int_t pdg) const; // convert the PDG code to local PID
faee3b18 52 Int_t PDGtoAliPID(Int_t pdg) const; // convert PDG to AliPID
70da6c5a 53
54 AliMCEvent* fMC; // MC event
55 AliHFEcollection* fColl; // Histogram collection
e156c3bb 56
57 UInt_t fDestBits; // status bits for the destructor
faee3b18 58
70da6c5a 59 ClassDef(AliHFEV0pidMC, 1) // QA class for V0 PID
60};
70da6c5a 61#endif