]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TUHKMgen/TUHKMgen.h
New MUON Tracking DA splitted in two programs:
[u/mrichter/AliRoot.git] / TUHKMgen / TUHKMgen.h
index 503daf0aa4bf5bc6285acd1dbd416339e943f8bd..cb25fe8735491adf467009d22bc417bd32091865 100755 (executable)
 using namespace std;
 
 class TUHKMgen : public TGenerator {
- protected:
-  InitialStateHydjet *fInitialState;
-  ParticleAllocator fAllocator;
-  List_t fSourceList;
-  List_t fSecondariesList;
-  Int_t  fNPprim;
-  Int_t  fNPsec;
-  InitialParamsHydjet_t fHydjetParams;       // list of parameters for the initial state
-  // details for the PDG database
-  Char_t fParticleFilename[256];               // particle list filename
-  Char_t fDecayFilename[256];                  // decay table filename
-  Int_t fStableFlagPDG[500];                   // array of PDG codes flagged to be stable
-  Bool_t fStableFlagStatus[500];               // array of decay flag status
-  Int_t fStableFlagged;                        // number of toggled decay flags
-  Bool_t fUseCharmParticles;                   // flag to turn on/off the use of charm particles
-  Double_t fMinWidth;                          // minimum decay width for the particles to be used from the PDG database
-  Double_t fMaxWidth;                          // maximum ----
-  Double_t fMinMass;                           // minimum mass for the particles to be used from the PDG database
-  Double_t fMaxMass;                           // maximum ----
-
-  void SetAllParameters();
-
  public:   
   TUHKMgen();
   virtual      ~TUHKMgen();
@@ -180,7 +158,33 @@ class TUHKMgen : public TGenerator {
   Double_t GetMinimumMass()      {return fMinMass;}
   Double_t GetMaximumMass()      {return fMaxMass;}
   
-  void Print();
+  void Print(const Option_t* opt="") const;
+
+ protected:
+  InitialStateHydjet *fInitialState;
+  ParticleAllocator fAllocator;
+  List_t fSourceList;
+  List_t fSecondariesList;
+  Int_t  fNPprim;
+  Int_t  fNPsec;
+  InitialParamsHydjet_t fHydjetParams;       // list of parameters for the initial state
+  // details for the PDG database
+  Char_t fParticleFilename[256];               // particle list filename
+  Char_t fDecayFilename[256];                  // decay table filename
+  Int_t fStableFlagPDG[500];                   // array of PDG codes flagged to be stable
+  Bool_t fStableFlagStatus[500];               // array of decay flag status
+  Int_t fStableFlagged;                        // number of toggled decay flags
+  Bool_t fUseCharmParticles;                   // flag to turn on/off the use of charm particles
+  Double_t fMinWidth;                          // minimum decay width for the particles to be used from the PDG database
+  Double_t fMaxWidth;                          // maximum ----
+  Double_t fMinMass;                           // minimum mass for the particles to be used from the PDG database
+  Double_t fMaxMass;                           // maximum ----
+
+  void SetAllParameters();
+
+ private:
+  TUHKMgen(const TUHKMgen&);
+  TUHKMgen& operator=(const TUHKMgen&);
 
   ClassDef(TUHKMgen, 3)  //Interface to FASTMC Event Generator
 };