StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StarLightGen.h
1 #ifndef __StarLightGen_h__
2 #define __StarLightGen_h__
3 
4 #include "StarGenerator/BASE/StarGenerator.h"
5 
6 #include "starlight.h"
7 #include "inputParameters.h"
8 
9 class StarGenAAEvent;
10 
11 //class inputParameters;
12 
20 {
21 
22  public:
23  StarLightGen( const Char_t *name="STARlight" );
24  ~StarLightGen(){ /* nada */ };
25 
26  Int_t Init();
27  Int_t Generate();
28 
29  //void Set( const Char_t *s ){ mSTARlight -> readString(s); }
30 
31  //void const char *GetCVS() const
32  //{static const char cvs[]="Tag $Name: $ $Id: StarLightGen.h,v 1.4 2014/08/06 11:43:58 jeromel Exp $ built " __DATE__ " " __TIME__ ; return cvs;}
33 
34  private:
35  protected:
36  map<TString,Double_t> ParametersDouble;
37  map<TString,Int_t> ParametersInt;
38 
39  inputParameters *_parameters;
40 
41  //STARlight::STARlight *mSTARlight;
42  starlight *mSTARlight;
43 
44  void FillAA( StarGenEvent *event );
45  void FillPP( StarGenEvent *event );
46 
47 public:
48  void SetEtaCut( Double_t low, Double_t high );
49  void SetPtCut( Double_t low, Double_t high );
50  void SetRapidityValues( Double_t high, Int_t bins );
51  void SetWValues( Double_t low, Double_t high, Int_t bin );
52  void SetProductionMode( Int_t mode );
53  void SetProductionPID( Int_t pid );
54  void SetBreakupMode( Int_t mode );
55  void SetInterference( Double_t percent );
56  void SetIncoherence( Double_t percent );
57  void SetBFORD( Double_t value );
58  void SetInterferencePtValues( Double_t high, Int_t bins );
59  void ProcessParameters();
60 
61  ClassDef(StarLightGen,1);
62 
63 };
64 
65 #endif
void FillAA(StarGenEvent *event)
(Optional) Method to fill a AA event
StarLightGen(const Char_t *name="STARlight")
Event record tailored to heavy ion collisions.
ABC for defining event generator interfaces.
Definition: StarGenerator.h:34
void FillPP(StarGenEvent *event)
(Optional) Method to fill a PP event
Interface to the StarLightGen (c++ version) event generator.
Definition: StarLightGen.h:19
Base class for event records.
Definition: StarGenEvent.h:81
Int_t Generate()