]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EPOS/AliGenEposIsajetToPdgConverter.h
TOF pp spectra task added to PWGLFspectra lib
[u/mrichter/AliRoot.git] / EPOS / AliGenEposIsajetToPdgConverter.h
CommitLineData
9033ee49 1//
2// AliGenEposIsajetToPdgConverter.h
3//
4// Helper class used by TEpos to insert EPOS internal objects and higher
5// resonances to PDG database.
6// Quark clusters has has unaltered code, unknown objects have code of
7// form 6xxxxxxxx, and higher resonances have codes from Particle Physics
8// Review '96
9//
10// Created on: Aug 03, 2009
11// Author: Piotr Ostrowski, postrow@if.pw.edu.pl
12//
54d27e87 13
14
9033ee49 15#ifndef ALI_GEN_EPOS_ISAJET_TO_PDG_CONVERTER_H
16#define ALI_GEN_EPOS_ISAJET_TO_PDG_CONVERTER_H
54d27e87 17
9033ee49 18#include <Rtypes.h>
54d27e87 19
20class TDatabasePDG;
21
22class AliGenEposIsajetToPdgConverter
23{
24public:
25 AliGenEposIsajetToPdgConverter();
26
9033ee49 27 Int_t ConvertIsajetToPdg(Int_t isajet) const;
54d27e87 28
29 virtual ~AliGenEposIsajetToPdgConverter();
30 static void AddHigherResonances();
31
32private:
9033ee49 33 Int_t ExtendedMapping(Int_t isajet) const;
34 void AddQuarkCluster(Int_t clusterCode) const ;
35 Int_t AddUnknownObject(Int_t code) const;
54d27e87 36
9033ee49 37 static Bool_t fgParticlesAdded; //flag indicating that resonances
54d27e87 38 // have been alredy inserted
39 ClassDef(AliGenEposIsajetToPdgConverter,1)
40};
41
9033ee49 42#endif /* ALI_GEN_EPOS_ISAJET_TO_PDG_CONVERTER_H */