1 #ifndef ALIHFEV0PIDMC_H
2 #define ALIHFEV0PIDMC_H
4 /**************************************************************************
5 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
7 * Author: The ALICE Off-line Project. *
8 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
22 // Benchmarking class for V0 finder and PID.
23 // Relies on MC information
24 // For more see source file
36 class AliHFEcollection;
38 class AliHFEV0pidMC : public TObject {
45 Bool_t Process(TObjArray * const array, Int_t type);
47 void SetMCEvent(AliMCEvent * const mc) { fMC = mc; };
49 inline TList* GetListOfQAhistograms();
52 AliHFEV0pidMC(const AliHFEV0pidMC &);
53 AliHFEV0pidMC &operator=(const AliHFEV0pidMC &);
54 Int_t PDGtoPIDdaughter(Int_t pdg) const; // convert the PDG code to local PID
55 Int_t PDGtoPIDmother(Int_t pdg) const; // convert the PDG code to local PID
56 Int_t PDGtoAliPID(Int_t pdg) const; // convert PDG to AliPID
58 AliMCEvent* fMC; // MC event
59 AliHFEcollection* fColl; // Histogram collection
60 AliHFEV0cuts* fV0cuts; // V0 cut class
62 ClassDef(AliHFEV0pidMC, 1) // QA class for V0 PID
64 //____________________________________________________________
65 TList *AliHFEV0pidMC::GetListOfQAhistograms(){
70 return fColl->GetList();