The test suite was modified to add the mel recipeint. The Makefile has a fast (make...
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 17 Oct 2001 15:21:23 +0000 (15:21 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 17 Oct 2001 15:21:23 +0000 (15:21 +0000)
PHOS/Makefile
PHOS/testconfig.C
PHOS/testsimglobal.C

index 19431febf1b6b7120384f8ba3402cd2de28ef54d..4119e28fca1dd0b18b45e094d558005be24170ac 100644 (file)
@@ -12,7 +12,7 @@ PACKAGE = PHOS
 SRCS          =  AliPHOS.cxx AliPHOSv0.cxx AliPHOSv1.cxx \
                  AliPHOSvFast.cxx AliPHOSvImpacts.cxx \
                  AliPHOSImpact.cxx \
 SRCS          =  AliPHOS.cxx AliPHOSv0.cxx AliPHOSv1.cxx \
                  AliPHOSvFast.cxx AliPHOSvImpacts.cxx \
                  AliPHOSImpact.cxx \
-                 AliPHOSHit.cxx \
+                 AliPHOSHit.cxx AliPHOSTick.cxx\
                  AliPHOSGeometry.cxx \
                 AliPHOSEMCAGeometry.cxx \
                 AliPHOSCPVGeometry.cxx AliPHOSCPVBaseGeometry.cxx \
                  AliPHOSGeometry.cxx \
                 AliPHOSEMCAGeometry.cxx \
                 AliPHOSCPVGeometry.cxx AliPHOSCPVBaseGeometry.cxx \
@@ -29,10 +29,7 @@ SRCS          =  AliPHOS.cxx AliPHOSv0.cxx AliPHOSv1.cxx \
                  AliPHOSGetter.cxx AliPHOSTick.cxx \
                 AliPHOSQAVirtualCheckable.cxx AliPHOSQAIntCheckable.cxx \
                  AliPHOSQAFloatCheckable.cxx\
                  AliPHOSGetter.cxx AliPHOSTick.cxx \
                 AliPHOSQAVirtualCheckable.cxx AliPHOSQAIntCheckable.cxx \
                  AliPHOSQAFloatCheckable.cxx\
-                 AliPHOSQAObjectCheckable.cxx AliPHOSQAChecker.cxx AliPHOSQAMeanChecker.cxx AliPHOSQAAlarm.cxx \
-                 AliPHOSIhepAnalyze.cxx AliPHOSEvalRecPoint.cxx \
-                 AliPHOSRecManager.cxx AliPHOSRecCpvManager.cxx AliPHOSRecEmcManager.cxx \
-                 AliPHOSClusterizerv2.cxx
+                 AliPHOSQAObjectCheckable.cxx AliPHOSQAChecker.cxx AliPHOSQAMeanChecker.cxx AliPHOSQAAlarm.cxx
 
 # C++ Headers
 
 
 # C++ Headers
 
@@ -80,18 +77,26 @@ include $(ALICE_ROOT)/conf/GeneralMacros
 
 -include tgt_$(ALICE_TARGET)/Make-depend 
 
 
 -include tgt_$(ALICE_TARGET)/Make-depend 
 
+
 test:  
                @echo " ____________________________________________________________ "
                @echo " "
                @echo " Starting the test of the simulation/reconstruction software. Please don't take the warning messages into account. "
                @echo " ____________________________________________________________ "
 test:  
                @echo " ____________________________________________________________ "
                @echo " "
                @echo " Starting the test of the simulation/reconstruction software. Please don't take the warning messages into account. "
                @echo " ____________________________________________________________ "
-               @aliroot -b -q testsim.C > out
+               @aliroot -b -q "testsim.C(100)" > out
                @aliroot -b -q testsimglobal.C > out
                @rm out
                @rm testPHOS.root
 
                @aliroot -b -q testsimglobal.C > out
                @rm out
                @rm testPHOS.root
 
-
-
+test10:        
+               @echo " ____________________________________________________________ "
+               @echo " "
+               @echo " Starting the test of the simulation/reconstruction software. Please don't take the warning messages into account. "
+               @echo " ____________________________________________________________ "
+               @aliroot -b -q "testsim.C(10)" > out
+               @aliroot -b -q testsimglobal.C > out
+               @rm out
+               @rm testPHOS.root
 
 
 
 
 
 
index adc48e40a2015ce50e9b6224df0b42ad40d7bc6e..b6995cc23ef703a86d86895d2080f61b3f0c8999 100644 (file)
@@ -70,10 +70,10 @@ void Config()
   
   gener->SetPart(22) ;
   gener->SetPtRange(9.99, 10.00);
   
   gener->SetPart(22) ;
   gener->SetPtRange(9.99, 10.00);
-  gener->SetPhiRange(250, 290); //(220, 320);
+  gener->SetPhiRange(220, 320);
   // Set pseudorapidity range from -8 to 8.
   // Set pseudorapidity range from -8 to 8.
-  Float_t thmin = EtaToTheta(0.02); //(0.12);   // 220 theta min. <---> eta max
-  Float_t thmax = EtaToTheta(-0.02); //(-0.12);  // 320 theta max. <---> eta min 
+  Float_t thmin = EtaToTheta(0.12);   // 220 theta min. <---> eta max
+  Float_t thmax = EtaToTheta(-0.12);  // 320 theta max. <---> eta min 
  
   gener->SetThetaRange(thmin, thmax);
   gener->SetOrigin(0, 0, 0);  //vertex position
  
   gener->SetThetaRange(thmin, thmax);
   gener->SetOrigin(0, 0, 0);  //vertex position
index 608d7b7cdfaa40212ea1f9636113b0e4a1894bd3..8b2e6c81598f9b542798a53a1720d2df054a66df 100644 (file)
@@ -103,7 +103,7 @@ void testsimglobal()
     write_info(mess) ;
   }
   else {
     write_info(mess) ;
   }
   else {
-    gSystem->Exec("uuencode $ALICE_ROOT/PHOS/testPHOS.root testPHOS.root | mail -s 'PHOS INSTALLATION ERROR' almajor@caramail.com") ;
+    gSystem->Exec("uuencode $ALICE_ROOT/PHOS/testPHOS.root testPHOS.root | mail -s 'PHOS INSTALLATION ERROR' schutz@in2p3.fr") ;
     mess = "Error message to PHOS director has been sent, please wait for his answer before launching the whole simulation again."  ;
     write_info(mess) ;
   }
     mess = "Error message to PHOS director has been sent, please wait for his answer before launching the whole simulation again."  ;
     write_info(mess) ;
   }
@@ -160,13 +160,13 @@ Bool_t sim_exam()
     
     if (ratiohmb[i] > maxAlaHitsMB){
       error = kTRUE ;
     
     if (ratiohmb[i] > maxAlaHitsMB){
       error = kTRUE ;
-      mess = "Examination detected an error in " + TString((const char *)namemul) ;
+      mess = "Examination detected an error in " + TString(namemul) ;
       write_info(mess) ;
     }
     
     if (ratioenb[i] > maxAlaTotEnB) {
       error = kTRUE ;
       write_info(mess) ;
     }
     
     if (ratioenb[i] > maxAlaTotEnB) {
       error = kTRUE ;
-      mess = "Examination detected an error in " + TString((const char *)namen)  ;
+      mess = "Examination detected an error in " + TString(namen)  ;
       write_info(mess) ;
     }
   }
       write_info(mess) ;
     }
   }