]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EPOS/AliGenEposIsajetToPdgConverter.h
Bugfix for the Zero Suppression mode plus fixes of coding violations
[u/mrichter/AliRoot.git] / EPOS / AliGenEposIsajetToPdgConverter.h
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 ALI_GEN_EPOS_ISAJET_TO_PDG_CONVERTER_H
16 #define ALI_GEN_EPOS_ISAJET_TO_PDG_CONVERTER_H
17
18 #include <Rtypes.h>
19
20 class TDatabasePDG;
21
22 class AliGenEposIsajetToPdgConverter
23 {
24 public:
25         AliGenEposIsajetToPdgConverter();
26         
27         Int_t ConvertIsajetToPdg(Int_t isajet) const;
28
29         virtual ~AliGenEposIsajetToPdgConverter();
30         static void AddHigherResonances();
31
32 private:
33         Int_t ExtendedMapping(Int_t isajet) const;
34         void AddQuarkCluster(Int_t clusterCode) const ;
35         Int_t AddUnknownObject(Int_t code) const;
36
37         static Bool_t fgParticlesAdded; //flag indicating that resonances
38                                         // have been alredy inserted
39         ClassDef(AliGenEposIsajetToPdgConverter,1)
40 };
41
42 #endif /* ALI_GEN_EPOS_ISAJET_TO_PDG_CONVERTER_H */