]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCAL.cxx
EMCAL in
[u/mrichter/AliRoot.git] / EMCAL / AliEMCAL.cxx
index 1063b605d946d9318671d97acabef23bf0df5862..bc3a9238b7cb6f3e264283506cc3b858d18a3fba 100644 (file)
@@ -17,8 +17,8 @@
 
 //_________________________________________________________________________
 // Base Class for EMCAL description:
-//    
-// 
+// This class contains material definitions    
+// for the EMCAL - It does not place the detector in Alice
 //*-- Author: Yves Schutz (SUBATECH) 
 //
 //*-- Additional Contributions: Sahal Yacoob (LBNL/UCT)
@@ -111,7 +111,7 @@ void AliEMCAL::CreateMaterials(){
  
  // The scintillator of the CPV made of Polystyrene scintillator                   -> idtmed[1601]
   AliMedium(2, "CPV scint.   $", 2, 1,
-            isxfld, sxmgmx, 10.0, 0.1, 0.1, 0.1, 0.1, 0, 0) ;
+            isxfld, sxmgmx, 10.0, 0.001, 0.1, 0.001, 0.001, 0, 0) ;
 
   // Various Aluminium parts made of Al                                             -> idtmed[1602]
   AliMedium(3, "Al parts     $", 3, 0,
@@ -123,8 +123,9 @@ void AliEMCAL::CreateMaterials(){
 // --- Set decent energy thresholds for gamma and electron tracking
 
   // Tracking threshold for photons and electrons in Lead 
-  gMC->Gstpar(idtmed[1600], "CUTGAM",0.5E-4) ; 
-  gMC->Gstpar(idtmed[1600], "CUTELE",1.0E-4) ;
+  gMC->Gstpar(idtmed[1600],"CUTGAM",0.00008) ;
+  gMC->Gstpar(idtmed[1600],"CUTELE",0.001) ;
+  gMC->Gstpar(idtmed[1600],"BCUTE",0.0001) ;
 
   // --- Generate explicitly delta rays in Lead ---
   gMC->Gstpar(idtmed[1600], "LOSS",3.) ;
@@ -134,6 +135,13 @@ void AliEMCAL::CreateMaterials(){
   gMC->Gstpar(idtmed[1602], "LOSS",3.) ;
   gMC->Gstpar(idtmed[1602], "DRAY",1.) ;
 
+
+// --- and finally thresholds for photons and electrons in the scintillator ---
+  gMC->Gstpar(idtmed[1601],"CUTGAM",0.00008) ;
+  gMC->Gstpar(idtmed[1601],"CUTELE",0.001) ;
+  gMC->Gstpar(idtmed[1601],"BCUTE",0.0001) ;
+
+
 }
 //____________________________________________________________________________
 void AliEMCAL::SetTreeAddress()