]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
updated for changes in Config.C
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 May 2001 11:07:44 +0000 (11:07 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 May 2001 11:07:44 +0000 (11:07 +0000)
AliGeant4/macro/ITS/Config.C
AliGeant4/macro/MUON/Config.C
AliGeant4/macro/STRUCT/ConfigPIPE.C
AliGeant4/macro/g4Config.C
AliGeant4/macro/g4ConfigPPR.C

index 3f5e344cf351fdd308867fb751b4b62562c4ec52..1faa6435b7cfaa5a1ac9531ff0972b25cb81bf4e 100644 (file)
@@ -17,36 +17,74 @@ void Config(Int_t version)
     //=================== 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 
+    // 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 
+    // 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. 
+    // ITS geometry you want to use and run Aliroot.
+    //
+    // Detailed geometries:         
+
+    //
     //
-    // 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");
     //
+    //AliITSvPPRasymm *ITS  = new AliITSvPPRasymm("ITS","New ITS PPR detailed version with asymmetric services");
+    //ITS->SetMinorVersion(2);
+    //ITS->SetReadDet(kFALSE);
+    //ITS->SetWriteDet("$ALICE_ROOT/ITS/ITSgeometry_vPPRasymm2.det");
+    //ITS->SetThicknessDet1(300.);   // detector thickness on layer 1 must be in the range [100,300]
+    //ITS->SetThicknessDet2(300.);   // detector thickness on layer 2 must be in the range [100,300]
+    //ITS->SetThicknessChip1(300.);  // chip thickness on layer 1 must be in the range [150,300]
+    //ITS->SetThicknessChip2(300.);  // chip thickness on layer 2 must be in the range [150,300]
+    //ITS->SetRails(1);              // 1 --> rails in ; 0 --> rails out
+    //ITS->SetCoolingFluid(1);       // 1 --> water ; 0 --> freon
+    //
+    //AliITSvPPRsymm *ITS  = new AliITSvPPRsymm("ITS","New ITS PPR detailed version with symmetric services");
+    //ITS->SetMinorVersion(2);                                  
+    
+    //ITS->SetReadDet(kFALSE);
+    //ITS->SetWriteDet("$ALICE_ROOT/ITS/ITSgeometry_vPPRsymm2.det");
+    //ITS->SetThicknessDet1(300.);   // detector thickness on layer 1 must be in the range [100,300]
+    //ITS->SetThicknessDet2(300.);   // detector thickness on layer 2 must be in the range [100,300]
+    //ITS->SetThicknessChip1(300.);  // chip thickness on layer 1 must be in the range [150,300]
+    //ITS->SetThicknessChip2(300.);  // chip thickness on layer 2 must be in the range [150,300]
+    //ITS->SetRails(1);              // 1 --> rails in ; 0 --> rails out
+    //ITS->SetCoolingFluid(1);       // 1 --> water ; 0 --> freon
+    //
+    //
+    // Coarse geometries (warning: no hits are produced with these coarse geometries and they unuseful 
+    // for reconstruction !):
+    //                                                     
+    //
     //
-    // 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");
+    //
+    //AliITSvPPRcoarseasymm *ITS  = new AliITSvPPRcoarseasymm("ITS","New ITS coarse version with asymmetric services");
+    //ITS->SetRails(1);                // 1 --> rails in ; 0 --> rails out
+    //ITS->SetSupportMaterial(0);      // 0 --> Copper ; 1 --> Aluminum ; 2 --> Carbon
+    //
     //AliITS *ITS  = new AliITSvPPRcoarsesymm("ITS","New ITS coarse version with symmetric services");
+    //ITS->SetRails(1);                // 1 --> rails in ; 0 --> rails out
+    //ITS->SetSupportMaterial(0);      // 0 --> Copper ; 1 --> Aluminum ; 2 --> Carbon
+    //                      
     //
     //
     // 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. 
+    // 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);
+    ITS->SetEUCLID(0);  
 }
index 14c5fca7cf0a9ae894b94621c3599d37a78e4bca..53f3ce92a703e4e3a5f3c8113eb378353e809dfa 100644 (file)
@@ -6,6 +6,6 @@ void Config(Int_t version)
   AliMUON *MUON = 0;
   switch (version) {
     case 0: MUON  = new AliMUONv0("MUON","normal MUON"); break;
-    case 1: MUON  = new AliMUONv1("MUON","normal MUON"); break;
+    case 1: MUON  = new AliMUONv1("MUON","default"); break;
   }  
 }
index a63e7e278e312e2e3523c73cfeb494c9df8a0657..1bd171c621d37b9016a2e3244e1475e9461748c9 100644 (file)
@@ -5,6 +5,7 @@ void Config(Int_t version)
     case 0: PIPE  = new AliPIPEv0("PIPE","Beam Pipe"); break;
     case 1: PIPE  = new AliPIPEv1("PIPE","PIPEv1 module"); break;
     case 3: PIPE  = new AliPIPEv3("PIPE","PIPEv3 module"); break;
+    case 4: PIPE  = new AliPIPEvTemp("PIPE","PIPEvTemp module"); break;
   }
 
 //=================== PIPE parameters ============================
index 64ac3ef7d0afacf2c33b617694b4e98f4e9dec72..181c1455754ccc1bca7de2f1dc761ec34ed5ce43 100644 (file)
@@ -8,6 +8,12 @@ void Config()
   TFile *rootfile = new TFile("galice.root","recreate");
   rootfile->SetCompressionLevel(2);
 
+  // Set External decayer
+  AliDecayer* decayer = new AliDecayerPythia();
+  decayer->SetForceDecay(kAll);
+  decayer->Init();
+  gMC->SetExternalDecayer(decayer);
+
   // ============================= 
   // Geant4
   // ============================= 
@@ -63,7 +69,7 @@ void Config()
   if (gSystem->Getenv("CONFIG_NPARTICLES")) 
     nParticles = atoi(gSystem->Getenv("CONFIG_NPARTICLES"));
   else
-    nParticles = 1000; 
+    nParticles = 500; 
 
   AliGenHIJINGpara *gener = new AliGenHIJINGpara(nParticles);
   gener->SetMomentumRange(0,999);
@@ -174,24 +180,24 @@ void Config()
   if(iPIPE) {
     //=================== PIPE parameters ============================
 
-    AliPIPE *PIPE  = new AliPIPEv0("PIPE","Beam Pipe");
+    AliPIPE *PIPE  = new AliPIPEvTemp("PIPE","Beam Pipe");
   }
 
 
   if(iITS) {
-    //=================== ITS parameters ============================
+//=================== 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 
+    // 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 
+    // 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. 
+    // ITS geometry you want to use and run Aliroot.
     //
-    // Detailed geometries:
-    // ====================
+    // Detailed geometries:         
+
     //
     //
     //AliITS *ITS  = new AliITSv3("ITS","Old ITS detailed version as of the ALICE TP");
@@ -202,27 +208,56 @@ void Config()
     //
     AliITS *ITS  = new AliITSv5asymm("ITS","Updates ITS TDR detailed version with asymmetric services");
     //
+    //AliITSvPPRasymm *ITS  = new AliITSvPPRasymm("ITS","New ITS PPR detailed version with asymmetric services");
+    //ITS->SetMinorVersion(2);
+    //ITS->SetReadDet(kFALSE);
+    //ITS->SetWriteDet("$ALICE_ROOT/ITS/ITSgeometry_vPPRasymm2.det");
+    //ITS->SetThicknessDet1(300.);   // detector thickness on layer 1 must be in the range [100,300]
+    //ITS->SetThicknessDet2(300.);   // detector thickness on layer 2 must be in the range [100,300]
+    //ITS->SetThicknessChip1(300.);  // chip thickness on layer 1 must be in the range [150,300]
+    //ITS->SetThicknessChip2(300.);  // chip thickness on layer 2 must be in the range [150,300]
+    //ITS->SetRails(1);              // 1 --> rails in ; 0 --> rails out
+    //ITS->SetCoolingFluid(1);       // 1 --> water ; 0 --> freon
+    //
+    //AliITSvPPRsymm *ITS  = new AliITSvPPRsymm("ITS","New ITS PPR detailed version with symmetric services");
+    //ITS->SetMinorVersion(2);                                  
+    
+    //ITS->SetReadDet(kFALSE);
+    //ITS->SetWriteDet("$ALICE_ROOT/ITS/ITSgeometry_vPPRsymm2.det");
+    //ITS->SetThicknessDet1(300.);   // detector thickness on layer 1 must be in the range [100,300]
+    //ITS->SetThicknessDet2(300.);   // detector thickness on layer 2 must be in the range [100,300]
+    //ITS->SetThicknessChip1(300.);  // chip thickness on layer 1 must be in the range [150,300]
+    //ITS->SetThicknessChip2(300.);  // chip thickness on layer 2 must be in the range [150,300]
+    //ITS->SetRails(1);              // 1 --> rails in ; 0 --> rails out
+    //ITS->SetCoolingFluid(1);       // 1 --> water ; 0 --> freon
+    //
     //
-    // Coarse geometries (warning: no hits are produced with these coarse geometries and they unuseful for reconstruction !):
-    // ======================================================================================================================
+    // 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");
+    //AliITSvPPRcoarseasymm *ITS  = new AliITSvPPRcoarseasymm("ITS","New ITS coarse version with asymmetric services");
+    //ITS->SetRails(1);                // 1 --> rails in ; 0 --> rails out
+    //ITS->SetSupportMaterial(0);      // 0 --> Copper ; 1 --> Aluminum ; 2 --> Carbon
     //
     //AliITS *ITS  = new AliITSvPPRcoarsesymm("ITS","New ITS coarse version with symmetric services");
+    //ITS->SetRails(1);                // 1 --> rails in ; 0 --> rails out
+    //ITS->SetSupportMaterial(0);      // 0 --> Copper ; 1 --> Aluminum ; 2 --> Carbon
+    //                      
     //
     //
     // 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. 
+    // 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);
+    ITS->SetEUCLID(0);  
   }
 
 
@@ -301,7 +336,7 @@ void Config()
   if(iMUON) {
     //=================== MUON parameters ===========================
 
-    AliMUON *MUON  = new AliMUONv0("MUON","normal MUON");
+    AliMUON *MUON  = new AliMUONv1("MUON","default");
   }
  
   //=================== PHOS parameters ===========================
index 2a0b6cd2a3650d12a6b4b20cac5228fa4bc1d307..1d9c376cdab8785ecb034aad0934880c7e39cde7 100644 (file)
@@ -25,7 +25,7 @@ void Config()
   //
   // Set External decayer
   //AliDecayer* decayer = new AliDecayerPythia();
-  //decayer->SetForceDecay(all);
+  //decayer->SetForceDecay(kAll);
   //decayer->Init();
   //gMC->SetExternalDecayer(decayer);
 
@@ -68,7 +68,7 @@ void Config()
   // --- Specify event type to be tracked through the ALICE setup
   // --- All positions are in cm, angles in degrees, and P and E in GeV
   //AliGenHIJINGpara *gener = new AliGenHIJINGpara(84210);
-  AliGenHIJINGpara *gener = new AliGenHIJINGpara(100);
+  AliGenHIJINGpara *gener = new AliGenHIJINGpara(20000);
   gener->SetMomentumRange(0,999);
   gener->SetPhiRange(0,360);
   //  gener->SetThetaRange(0.28,179.72);
@@ -172,7 +172,7 @@ void Config()
   if(iPIPE) {
     //=================== PIPE parameters ============================
 
-    AliPIPE *PIPE  = new AliPIPEv0("PIPE","Beam Pipe");
+    AliPIPE *PIPE  = new AliPIPEvTemp("PIPE","Beam Pipe");
   }
 
 
@@ -180,16 +180,16 @@ void Config()
     //=================== 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 
+    // 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 
+    // 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. 
+    // ITS geometry you want to use and run Aliroot.
     //
-    // Detailed geometries:
-    // ====================
+    // Detailed geometries:         
+
     //
     //
     //AliITS *ITS  = new AliITSv3("ITS","Old ITS detailed version as of the ALICE TP");
@@ -200,31 +200,59 @@ void Config()
     //
     AliITS *ITS  = new AliITSv5asymm("ITS","Updates ITS TDR detailed version with asymmetric services");
     //
+    //AliITSvPPRasymm *ITS  = new AliITSvPPRasymm("ITS","New ITS PPR detailed version with asymmetric services");
+    //ITS->SetMinorVersion(2);
+    //ITS->SetReadDet(kFALSE);
+    //ITS->SetWriteDet("$ALICE_ROOT/ITS/ITSgeometry_vPPRasymm2.det");
+    //ITS->SetThicknessDet1(300.);   // detector thickness on layer 1 must be in the range [100,300]
+    //ITS->SetThicknessDet2(300.);   // detector thickness on layer 2 must be in the range [100,300]
+    //ITS->SetThicknessChip1(300.);  // chip thickness on layer 1 must be in the range [150,300]
+    //ITS->SetThicknessChip2(300.);  // chip thickness on layer 2 must be in the range [150,300]
+    //ITS->SetRails(1);              // 1 --> rails in ; 0 --> rails out
+    //ITS->SetCoolingFluid(1);       // 1 --> water ; 0 --> freon
+    //
+    //AliITSvPPRsymm *ITS  = new AliITSvPPRsymm("ITS","New ITS PPR detailed version with symmetric services");
+    //ITS->SetMinorVersion(2);                                  
+    
+    //ITS->SetReadDet(kFALSE);
+    //ITS->SetWriteDet("$ALICE_ROOT/ITS/ITSgeometry_vPPRsymm2.det");
+    //ITS->SetThicknessDet1(300.);   // detector thickness on layer 1 must be in the range [100,300]
+    //ITS->SetThicknessDet2(300.);   // detector thickness on layer 2 must be in the range [100,300]
+    //ITS->SetThicknessChip1(300.);  // chip thickness on layer 1 must be in the range [150,300]
+    //ITS->SetThicknessChip2(300.);  // chip thickness on layer 2 must be in the range [150,300]
+    //ITS->SetRails(1);              // 1 --> rails in ; 0 --> rails out
+    //ITS->SetCoolingFluid(1);       // 1 --> water ; 0 --> freon
     //
-    // Coarse geometries (warning: no hits are produced with these coarse geometries and they unuseful for reconstruction !):
-    // ======================================================================================================================
+    //
+    // 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");
+    //AliITSvPPRcoarseasymm *ITS  = new AliITSvPPRcoarseasymm("ITS","New ITS coarse version with asymmetric services");
+    //ITS->SetRails(1);                // 1 --> rails in ; 0 --> rails out
+    //ITS->SetSupportMaterial(0);      // 0 --> Copper ; 1 --> Aluminum ; 2 --> Carbon
     //
     //AliITS *ITS  = new AliITSvPPRcoarsesymm("ITS","New ITS coarse version with symmetric services");
+    //ITS->SetRails(1);                // 1 --> rails in ; 0 --> rails out
+    //ITS->SetSupportMaterial(0);      // 0 --> Copper ; 1 --> Aluminum ; 2 --> Carbon
+    //                      
     //
     //
     // 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. 
+    // 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);
+    ITS->SetEUCLID(0);  
   }
 
 
-
   if(iTPC) {
     //============================ TPC parameters ================================
     // --- This allows the user to specify sectors for the SLOW (TPC geometry 2)
@@ -260,13 +288,10 @@ void Config()
   if(iRICH) {
     //=================== RICH parameters ===========================
     AliRICH *RICH  = new AliRICHv1("RICH","normal RICH");    
-
   }
 
-
   if(iZDC) {
     //=================== ZDC parameters ============================
-
     AliZDC *ZDC  = new AliZDCv1("ZDC","normal ZDC");
   }
 
@@ -300,7 +325,7 @@ void Config()
 
   if(iMUON) {
     //=================== MUON parameters ===========================
-    AliMUON *MUON  = new AliMUONv0("MUON","normal MUON");
+    AliMUON *MUON  = new AliMUONv1("MUON","default");
   }
  
   //=================== PHOS parameters ===========================