Simplification of TPC RAW QA/DQM. The "vs time" QA plots was moved to
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 Oct 2010 15:32:16 +0000 (15:32 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 Oct 2010 15:32:16 +0000 (15:32 +0000)
expert plots so they are not used for DQM anymore.

Peter Christiansen

TPC/AliTPCQAChecker.cxx
TPC/AliTPCQADataMakerRec.cxx

index 9981d93..40cde38 100644 (file)
@@ -117,13 +117,8 @@ Double_t AliTPCQAChecker::CheckRAW(Int_t specie, TObjArray* list)
     (list->FindObject(Form("%s_hRawsOccupancyVsSector",specieName)));
   TH1* hRawsQmaxVsSector = static_cast<TH1*>
     (list->FindObject(Form("%s_hRawsQmaxVsSector",specieName)));
-  TH1* hRawsOccupancyVsEvent = static_cast<TH1*>
-    (list->FindObject(Form("%s_hRawsOccupancyVsEvent",specieName)));
-  TH1* hRawsNclustersVsEvent = static_cast<TH1*>
-    (list->FindObject(Form("%s_hRawsNclustersVsEvent",specieName)));
   
-  if (!hRawsOccupancyVsSector || !hRawsQmaxVsSector ||
-      !hRawsOccupancyVsEvent  || !hRawsNclustersVsEvent) 
+  if (!hRawsOccupancyVsSector || !hRawsQmaxVsSector)
     return -0.5; // fatal
   
   if(hRawsOccupancyVsSector->GetEntries()==0) {
index dc7eb84..f635843 100644 (file)
@@ -370,13 +370,13 @@ void AliTPCQADataMakerRec::InitRaws()
   const TH1F* hOccHelp = fTPCdataQA[0]->GetHistOccupancyVsEvent();
   TH1F * histRawsOccupancyVsEvent = 
     CreateEventsHistCopy(hOccHelp, "hRawsOccupancyVsEvent");
-  Add2RawsList(histRawsOccupancyVsEvent, kRawsOccupancyVsEvent, !expert, image, !saveCorr);
+  Add2RawsList(histRawsOccupancyVsEvent, kRawsOccupancyVsEvent, expert, !image, !saveCorr);
   
   // Get histogram information from data QA to build copy
   const TH1F* hNclHelp = fTPCdataQA[0]->GetHistNclustersVsEvent();
   TH1F * histRawsNclustersVsEvent = 
     CreateEventsHistCopy(hNclHelp, "hRawsNclustersVsEvent");
-  Add2RawsList(histRawsNclustersVsEvent, kRawsNclustersVsEvent, !expert, image, !saveCorr);
+  Add2RawsList(histRawsNclustersVsEvent, kRawsNclustersVsEvent, expert, !image, !saveCorr);
 }
 
 //____________________________________________________________________________