]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - LHC/AliLHC.cxx
Introducing a new OCDB object, MUON/Calib/KillMap, which allows to selectively
[u/mrichter/AliRoot.git] / LHC / AliLHC.cxx
index 747d1a0044bcccef2906b468decd3401aebc7871..cd46f6a5a54af36774ffbf07ef580770a18ca96f 100644 (file)
 
 /* $Id$ */
 
+//
+// Class for a simple description of the LHC.
+// The LHC is described by two beams,
+// the interaction regions and the
+// beam loss processes.
+// Run paramters can be set in order to simulate the time evolution
+// of emittance, number of particles per bunch and luminosity.
+// Author: Andreas Morsch
+// andreas.morsch@cern.ch
+
 #include "AliLHC.h"
 #include "AliLhcIRegion.h"
 #include "AliLhcProcess.h"
 
 ClassImp(AliLHC)
 
-AliLHC::AliLHC()
+
+AliLHC::AliLHC():
+    fNRegions(0),
+    fNProcesses(0),
+    fIRegions(new TList()),
+    fProcesses(new TList()),
+    fBeams(new TObjArray(2)),
+    fRadius(0.),
+    fAverageBeta(0.),
+    fAverageDisp(0.),
+    fNt(0),
+    fNmax(0),
+    fTime(0.),
+    fTimeA(0),
+    fTimeStep(0.),
+    fTimeMax(0.),
+    fFillingTime(0.),
+    fSetUpTime(0.)
 {
 // Constructor
-    fIRegions   = new TList;
-    fProcesses  = new TList;
-    fNRegions   = 0;
-    fNProcesses = 0;
-    fBeams = new TObjArray(2);
-    //PH    (*fBeams)[0] = 0;
-    //PH    (*fBeams)[1] = 0;    
     fBeams->AddAt(0,0);
     fBeams->AddAt(0,1);    
-    fTime = 0;
-    fTimeMax = 0;
-    fTimeA = 0;
 }
 
-AliLHC::AliLHC(const AliLHC& lhc)
-    : TObject(lhc)
+AliLHC::AliLHC(const AliLHC& lhc):
+    TObject(lhc),
+    fNRegions(0),
+    fNProcesses(0),
+    fIRegions(0),
+    fProcesses(0),
+    fBeams(0),
+    fRadius(0.),
+    fAverageBeta(0.),
+    fAverageDisp(0.),
+    fNt(0),
+    fNmax(0),
+    fTime(0.),
+    fTimeA(0),
+    fTimeStep(0.),
+    fTimeMax(0.),
+    fFillingTime(0.),
+    fSetUpTime(0.)
 {
-// copy constructor
+// Copy constructor
 }
 
 AliLHC::~AliLHC()