]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliGenFixed.h
Update master to aliroot
[u/mrichter/AliRoot.git] / EVGEN / AliGenFixed.h
index 36be844e9c3f93ecbdd616f477a5df50ca77d28b..75a33479c3561954a2c431fee3f212ab53b03858 100644 (file)
@@ -6,7 +6,7 @@
 /* $Id$ */
 
 // Simple particle gun. 
-// Momentum, phi and theta of the partice as well as the particle type can be set.
+// Momentum, phi and theta of the particle as well as the particle type can be set.
 // andreas.morsch@cern.ch
 
 
@@ -20,7 +20,6 @@ class AliGenFixed : public AliGenerator
   virtual ~AliGenFixed() {}
   virtual void Generate();
   virtual void Init() {}
-  virtual void SetSigma(Float_t sx, Float_t sy, Float_t sz);
   virtual void SetMomentum(Float_t pmom) {fPMin=pmom; fPMax=pmom; SetBit(kMomentumRange);}
   virtual void SetPhi(Float_t phi) {fPhiMin=phi*TMath::Pi()/180; fPhiMax=phi*TMath::Pi()/180; SetBit(kPhiRange);}
   virtual void SetTheta(Float_t theta) {fThetaMin=theta*TMath::Pi()/180; fThetaMax=theta*TMath::Pi()/180; SetBit(kThetaRange);}
@@ -31,9 +30,9 @@ class AliGenFixed : public AliGenerator
  
 protected:
 
-  Int_t fIpart; // Particle type
-  Int_t fExplicit;
-  Float_t fP[3];
+  Int_t fIpart;    // Particle type
+  Int_t fExplicit; // True if momentum vector has been set by user. 
+  Float_t fP[3];   // Momentum vector
 
   ClassDef(AliGenFixed,1) // Single particle generator
 };