]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - LHC/AliLhcBeam.cxx
Some more coding rule violations corrected.
[u/mrichter/AliRoot.git] / LHC / AliLhcBeam.cxx
index f0fc1e63fa3e3450cceb4c08a6b54742751bb802..cded96ecc5fe7c50d228e3272d0efe536ea3635b 100644 (file)
  **************************************************************************/
 
 /* $Id$ */
+//
+// Class that holds all parameters about an LHC beam.
+// The parameters can change with time.
+// A monitor can be set that stores the time distribution of 
+// emittance and number of particles per bunch.
+// Author: Andreas Morsch
+// andreas.morsch@cern.ch
+//
 
 #include "AliLhcBeam.h"
 #include "AliLHC.h"
@@ -68,6 +76,8 @@ void AliLhcBeam::RemoveParticles(Float_t loss)
 
 void AliLhcBeam::IncreaseEmittance(Float_t de, Float_t del)
 {
+//
+// Increase the emittance
   fEmittance    *= (1.+de);
   fEmittanceL   *= (1.+del);
   fEnergySpread *= (1.+del);
@@ -80,6 +90,8 @@ AliLhcBeam& AliLhcBeam::operator=(const  AliLhcBeam & /*rhs*/)
 }
 void AliLhcBeam::SetMonitor(Int_t n)
 {
+//
+// Initialize a monitor with n time bins
   fNmax = n;
   if (fEmittanceArray)  delete fEmittanceArray;
   if (fEmittanceLArray) delete fEmittanceLArray;