cleaning
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Apr 2008 17:13:16 +0000 (17:13 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Apr 2008 17:13:16 +0000 (17:13 +0000)
test/QA/recqa.C
test/QA/simqa.C

index 731326c4c1da7627b48f713dcc39c754153fbbf7..501a26e1101dac84b264ed7c5a439a1ecfdab2ff 100644 (file)
@@ -1,13 +1,15 @@
 void recqa()
 {
-  const char * kYear = "08" ; 
-  AliGeomManager::LoadGeometry("geometry.root");       
-  AliCDBManager * man = AliCDBManager::Instance();
-  //man->SetDefaultStorage("alien://Folder=/alice/simulation/2007/PDC07_v4-09-Rev-00/Ideal/CDB/");
-  man->SetDefaultStorage("local://$ALICE_ROOT");
-  TString detectors("ITS TPC TRD TOF PHOS HMPID EMCAL MUON FMD ZDC PMD T0 VZERO");
-  AliQA::SetQARefStorage(Form("%s%s/", AliQA::GetQARefDefaultStorage(), kYear)) ;
-  AliQA::SetQARefDataDirName("Sim") ; //Data, Pedestals, BlackEvent, .....
+       const char * kYear = "08" ; 
+       gEnv->SetValue("Root.Stacktrace","no");
+       gEnv->SetValue("Root.Stacktrace","no");
+       AliCDBManager * man = AliCDBManager::Instance();
+       //man->SetDefaultStorage("alien://Folder=/alice/simulation/2007/PDC07_v4-09-Rev-00/Ideal/CDB/");
+       man->SetDefaultStorage("local://$ALICE_ROOT");
+       TString detectors("ITS TPC TRD TOF PHOS HMPID EMCAL MUON FMD ZDC PMD T0 VZERO");
+       
+       AliQA::SetQARefStorage(Form("%s%s/", AliQA::GetQARefDefaultStorage(), kYear)) ;
+       AliQA::SetQARefDataDirName("Sim") ; //Data, Pedestals, BlackEvent, .....
    
   AliQADataMakerSteer qas ; 
   qas.Run(detectors.Data(), AliQA::kRECPOINTS);
index 9b84a9ef5a0882fe780487c13c95998752a7d6de..db69a2e4a9bdbbeda6bafe37002ad068917e86b8 100644 (file)
@@ -1,15 +1,19 @@
 void simqa()
 {
-  const char * kYear = "08" ; 
-  gEnv->SetValue("Root.Stacktrace","no");
-  gEnv->SetValue("Root.Stacktrace","no");
-  AliQA::SetQARefStorage(Form("%s%s/", AliQA::GetQARefDefaultStorage(), kYear)) ;
-  AliQA::SetQARefDataDirName("Sim") ; //Data, Pedestals, BlackEvent, .....
+       const char * kYear = "08" ; 
+       gEnv->SetValue("Root.Stacktrace","no");
+       gEnv->SetValue("Root.Stacktrace","no");
+       AliCDBManager * man = AliCDBManager::Instance();
+       //man->SetDefaultStorage("alien://Folder=/alice/simulation/2007/PDC07_v4-09-Rev-00/Ideal/CDB/");
+       man->SetDefaultStorage("local://$ALICE_ROOT");
+       TString detectors("ITS TPC TRD TOF PHOS HMPID EMCAL MUON FMD PMD ZDC T0 VZERO"); 
+       
+       AliQA::SetQARefStorage(Form("%s%s/", AliQA::GetQARefDefaultStorage(), kYear)) ;
+       AliQA::SetQARefDataDirName("Sim") ; //Data, Pedestals, BlackEvent, .....
   
-  TString detectors("ITS TPC TRD TOF PHOS HMPID EMCAL MUON FMD PMD ZDC T0 VZERO"); 
 
-  AliQADataMakerSteer qas ; 
-  qas.Run(detectors.Data(), AliQA::kHITS);
-  qas.Run(detectors.Data(), AliQA::kSDIGITS);
-  qas.Run(detectors.Data(), AliQA::kDIGITS);
+       AliQADataMakerSteer qas ; 
+       qas.Run(detectors.Data(), AliQA::kHITS);
+       qas.Run(detectors.Data(), AliQA::kSDIGITS);
+       qas.Run(detectors.Data(), AliQA::kDIGITS);
 }