StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StarUrQMD.h
1 #ifndef __StarUrQMD__
2 #define __StarUrQMD__
3 
4 #include "StarGenerator/BASE/StarGenerator.h"
5 #include "UrQMD.h"
6 #include <map>
7 #include <vector>
8 using namespace std;
9 
10 class StarUrQMD : public StarGenerator
11 {
12  public:
13  StarUrQMD( const Char_t *name="UrQMD3_3_1" );
14  ~StarUrQMD(){ /* nothing */ };
15 
16  Int_t Init();
17  Int_t Generate();
18  void Clear( const Option_t *opts="" ){ /* nada */ };
19 
22  ENERGIES_t &energies(){return * address_of_energies(); }
23  SYS_t &sys(){return * address_of_sys(); }
24  RSYS_t &rsys(){return * address_of_rsys(); }
25  CUTS_t &cuts(){return * address_of_cuts(); }
26  SPDATA_t &spdata(){return * address_of_spdata(); }
27  ISYS_t &isys(){return * address_of_isys(); }
28  COOR_t &coor(){return * address_of_coor(); }
29  FRAG_t &frag(){return * address_of_frag(); }
30  AIOS_t &aios(){return * address_of_aios(); }
31  POTS_t &pots(){return * address_of_pots(); }
32  SCOOR_t &scoor(){return * address_of_scoor(); }
33  SISYS_t &sisys(){return * address_of_sisys(); }
34  SSYS_t &ssys(){return * address_of_ssys(); }
35  RTDELAY_t &rtdelay(){return * address_of_rtdelay(); }
36  ITDELAY_t &itdelay(){return * address_of_itdelay(); }
37  SVINFO_t &svinfo(){return * address_of_svinfo(); }
38  FFERMI_t &ffermi(){return * address_of_ffermi(); }
39  PEQ_t &peq(){return * address_of_peq(); }
40 
41  //void InitializeUrQMD(){ iurqmd(); }
42  //void GenerateEvent(){ genevt(); }
43 
44  private:
45  protected:
46 
47  void InitializeUrQMD();
48  void GenerateEvent();
49 
50 
51  map<TString,Int_t> InputParametersInt;
52  map<TString,Double_t> InputParametersDouble;
53  map<TString,TString> InputParametersString;
54 
55  ClassDef(StarUrQMD,1);
56 
57  void FillPP( StarGenEvent *event );
58  void FillEP( StarGenEvent *event );
59  void FillAA( StarGenEvent *event ){ /* implement */ };
60 
61  map<Int_t,Int_t> mStatusCode;
62 
63  std::vector<std::string> StableParticles;
64 
65 
66 };
67 
68 #endif
Definition: UrQMD.h:29
Definition: UrQMD.h:73
ABC for defining event generator interfaces.
Definition: StarGenerator.h:34
Definition: UrQMD.h:59
ENERGIES_t & energies()
Definition: StarUrQMD.h:22
Definition: UrQMD.h:371
Base class for event records.
Definition: StarGenEvent.h:81
Definition: UrQMD.h:180
Definition: UrQMD.h:192
Definition: UrQMD.h:303
Definition: UrQMD.h:256
Definition: UrQMD.h:284
Definition: UrQMD.h:86
void FillAA(StarGenEvent *event)
(Optional) Method to fill a AA event
Definition: StarUrQMD.h:59
Definition: UrQMD.h:149
Definition: UrQMD.h:122
Definition: UrQMD.h:228