]>
Commit | Line | Data |
---|---|---|
54d27e87 | 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 | */ | |
13 | ||
14 | ||
15 | #ifndef ALIGENEPOSISAJETTOPDGCONVERTER_H_ | |
16 | #define ALIGENEPOSISAJETTOPDGCONVERTER_H_ | |
17 | ||
18 | #include <TROOT.h> | |
19 | ||
20 | class TDatabasePDG; | |
21 | ||
22 | class AliGenEposIsajetToPdgConverter | |
23 | { | |
24 | public: | |
25 | AliGenEposIsajetToPdgConverter(); | |
26 | ||
27 | Int_t ConvertIsajetToPdg(Int_t isajet); | |
28 | ||
29 | virtual ~AliGenEposIsajetToPdgConverter(); | |
30 | static void AddHigherResonances(); | |
31 | ||
32 | private: | |
33 | Int_t ExtendedMapping(Int_t isajet); | |
34 | void AddQuarkCluster(Int_t clusterCode); | |
35 | Int_t AddUnknownObject(Int_t code); | |
36 | ||
37 | static Bool_t sfParticlesAdded; //flag indicating that resonances | |
38 | // have been alredy inserted | |
39 | ClassDef(AliGenEposIsajetToPdgConverter,1) | |
40 | }; | |
41 | ||
42 | #endif /* ALIGENEPOSISAJETTOPDGCONVERTER_H_ */ |