ROOT logo
/**
 * @file   DrawQA.C
 * @author Christian Holm Christensen <cholm@dalsgaard.hehi.nbi.dk>
 * @date   Tue Jul 12 13:45:26 2011
 * 
 * @brief  Script to draw most QA stuff 
 * 
 * @deprecated Use QATrender instead
 * @ingroup pwglf_forward_scripts_qa
 */
/** 
 * Draw most QA stuff 
 * 
 * @param file File to read 
 * @param full If true, assume output of analysis 
 * 
 * @deprecated Use QATrender instead
 * @ingroup pwglf_forward_scripts_qa
 */
void
DrawQA(const char* file, bool full=false)
{

  gROOT->SetMacroPath(Form(".:$(ALICE_ROOT)/PWGLF/FORWARD/analysis2/qa:"
			   "$(ALICE_ROOT)/PWGLF/FORWARD/analysis2/corrs:%s",
			   gROOT->GetMacroPath()));
  gROOT->LoadMacro("DrawBeforeAfter.C+g");
  gROOT->LoadMacro("DrawELossPoisson.C+g");
  gROOT->LoadMacro("DrawNeighbors.C+g");
  gROOT->LoadMacro("DrawOccupancy.C+g");
  gROOT->LoadMacro("DrawRecAnaEloss.C+g");
  gROOT->LoadMacro("Draw123.C+g");

  Info("DrawQA", "Drawing before-after");
  DrawBeforeAfter(file);
  Info("DrawQA", "Drawing singles, doubles, tripples");
  Draw123(file);
  Info("DrawQA", "Drawing Neighbors");
  DrawNeighbors(file);
  Info("DrawQA", "Drawing raw and analysed energy loss");
  DrawRecAnaEloss(file);
  Info("DrawQA", "Drawing poisson vs energy loss");
  DrawELossPoisson(file);
  Info("DrawQA", "Drawing Occupancies");
  DrawOccupancy(file);

  if (!full) { 
    Info("DrawQA", "Drawing fit results");
    gROOT->LoadMacro("DrawAnaELoss.C");
    DrawAnaELoss(file);
  }
  else { 
    gROOT->LoadMacro("DrawSteps.C");
    DrawSteps(file);
  }
}
//
// EOF
//

  
 DrawQA.C:1
 DrawQA.C:2
 DrawQA.C:3
 DrawQA.C:4
 DrawQA.C:5
 DrawQA.C:6
 DrawQA.C:7
 DrawQA.C:8
 DrawQA.C:9
 DrawQA.C:10
 DrawQA.C:11
 DrawQA.C:12
 DrawQA.C:13
 DrawQA.C:14
 DrawQA.C:15
 DrawQA.C:16
 DrawQA.C:17
 DrawQA.C:18
 DrawQA.C:19
 DrawQA.C:20
 DrawQA.C:21
 DrawQA.C:22
 DrawQA.C:23
 DrawQA.C:24
 DrawQA.C:25
 DrawQA.C:26
 DrawQA.C:27
 DrawQA.C:28
 DrawQA.C:29
 DrawQA.C:30
 DrawQA.C:31
 DrawQA.C:32
 DrawQA.C:33
 DrawQA.C:34
 DrawQA.C:35
 DrawQA.C:36
 DrawQA.C:37
 DrawQA.C:38
 DrawQA.C:39
 DrawQA.C:40
 DrawQA.C:41
 DrawQA.C:42
 DrawQA.C:43
 DrawQA.C:44
 DrawQA.C:45
 DrawQA.C:46
 DrawQA.C:47
 DrawQA.C:48
 DrawQA.C:49
 DrawQA.C:50
 DrawQA.C:51
 DrawQA.C:52
 DrawQA.C:53
 DrawQA.C:54
 DrawQA.C:55
 DrawQA.C:56
 DrawQA.C:57
 DrawQA.C:58
 DrawQA.C:59
 DrawQA.C:60
 DrawQA.C:61
 DrawQA.C:62