]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Updated Config.C.
authorjbarbosa <jbarbosa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 10 May 2001 12:31:39 +0000 (12:31 +0000)
committerjbarbosa <jbarbosa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 10 May 2001 12:31:39 +0000 (12:31 +0000)
RICH/ConfigFE.C

index 24461834dfaecb0f91512d47a6a542ff9c72194f..96c0c5c63b3725c097574fcca28286a0d97294c0 100644 (file)
@@ -15,7 +15,9 @@ TFile *rootfile = new TFile("galice.root","recreate");
 rootfile->SetCompressionLevel(2);
 TGeant3 *geant3 = (TGeant3*)gMC;
 
-geant3->Grndmq(0,0,1," ");
+//
+// Set Random Number seed
+ gRandom->SetSeed(10);
  
 //=======================================================================
 // ******* GEANT STEERING parameters FOR ALICE SIMULATION *******
@@ -309,15 +311,50 @@ AliPIPE *PIPE  = new AliPIPEv0("PIPE","Beam Pipe");
 
 
 if(iITS) {
-//=================== ITS parameters ============================
-//
-// EUCLID is a flag to output (=1) both geometry and media to two ASCII files 
-// (called by default ITSgeometry.euc and ITSgeometry.tme) in a format
-// understandable to the CAD system EUCLID. The default (=0) means that you 
-// dont want to use this facility.
-//
-AliITS *ITS  = new AliITSv1("ITS","normal ITS");
-ITS->SetEUCLID(0);
+  //=================== ITS parameters ===========================
+  //
+  // As the innermost detector in ALICE, the Inner Tracking System "impacts" on
+  // almost all other detectors. This involves the fact that the ITS geometry 
+  // still has several options to be followed in parallel in order to determine 
+  // the best set-up which minimizes the induced background. All the geometries
+  // available to date are described in the following. Read carefully the comments 
+  // and use the default version (the only one uncommented) unless you are making
+  // comparisons and you know what you are doing. In this case just uncomment the
+  // ITS geometry you want to use and run Aliroot. 
+  //
+  // Detailed geometries:
+  // ====================
+  //
+  //
+  //AliITS *ITS  = new AliITSv3("ITS","Old ITS detailed version as of the ALICE TP");
+  //
+  //AliITS *ITS  = new AliITSv5("ITS","Current ITS detailed version used for the ITS TDR");
+  //
+  //AliITS *ITS  = new AliITSv5symm("ITS","Updated ITS TDR detailed version with symmetric services");
+  //
+  //AliITS *ITS  = new AliITSv5asymm("ITS","Updates ITS TDR detailed version with asymmetric services");
+  //
+  //
+  // Coarse geometries (warning: no hits are produced with these coarse geometries and they unuseful for reconstruction !):
+  // ======================================================================================================================
+  //
+  //
+  //AliITS *ITS  = new AliITSv1("ITS","Old ITS coarse version as of the ALICE TP");
+  //
+  AliITS *ITS  = new AliITSvPPRcoarseasymm("ITS","New ITS coarse version with asymmetric services");
+  //
+  //AliITS *ITS  = new AliITSvPPRcoarsesymm("ITS","New ITS coarse version with symmetric services");
+  //
+  //
+  // Geant3 <-> EUCLID conversion
+  // ============================
+  //
+  // SetEUCLID is a flag to output (=1) or not to output (=0) both geometry and 
+  // media to two ASCII files (called by default ITSgeometry.euc and 
+  // ITSgeometry.tme) in a format understandable to the CAD system EUCLID. 
+  // The default (=0) means that you dont want to use this facility.
+  //
+  ITS->SetEUCLID(0);
 }
 
 
@@ -338,21 +375,27 @@ if(iTPC) {
 //
 //-----------------------------------------------------------------------------
 
-  gROOT->LoadMacro("SetTPCParam.C");
/* gROOT->LoadMacro("SetTPCParam.C");
   AliTPCParam *param = SetTPCParam();
   AliTPC *TPC  = new AliTPCv0("TPC","Normal TPC"); //v1 is default
   TPC->SetParam(param); // pass the parameter object to the TPC
+  
+  // set gas mixture
+  
+  TPC->SetGasMixt(2,20,10,-1,0.9,0.1,0.);
+  TPC->SetSecAL(4);
+  TPC->SetSecAU(4);
+  TPC->SetSecLows(1,  2,  3, 19, 20, 21);
+  TPC->SetSecUps(37, 38, 39, 37+18, 38+18, 39+18, -1, -1, -1, -1, -1, -1);
+  TPC->SetSens(1);
+
+  if (TPC->IsVersion()==1) param->Write(param->GetTitle());*/
+
+   AliTPC *TPC  = new AliTPCv0("TPC","Default");
+   // All sectors included 
+   TPC->SetSecAL(-1);
+   TPC->SetSecAU(-1);
 
-// set gas mixture
-
-TPC->SetGasMixt(2,20,10,-1,0.9,0.1,0.);
-TPC->SetSecAL(4);
-TPC->SetSecAU(4);
-TPC->SetSecLows(1,  2,  3, 19, 20, 21);
-TPC->SetSecUps(37, 38, 39, 37+18, 38+18, 39+18, -1, -1, -1, -1, -1, -1);
-TPC->SetSens(1);
-
-if (TPC->IsVersion()==1) param->Write(param->GetTitle());
 }
 
 if(iTOF) {