AliPhysics  8417398 (8417398)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
QAplots.C File Reference

Do EMCal QA plots. More...

#include <TFile.h>
#include <TH1F.h>
#include <TH2F.h>
#include <TH3D.h>
#include <Riostream.h>
#include <TCanvas.h>
#include <TGraphErrors.h>
#include <TGrid.h>
#include <TFileMerger.h>
#include <TMultiGraph.h>
#include <TROOT.h>
#include <TString.h>
#include <TStyle.h>
#include <TLegend.h>
#include <TGridCollection.h>
#include <TGridResult.h>
#include <TClonesArray.h>
#include <TObjString.h>
#include <stdio.h>
#include <fstream>
#include <iostream>
#include "AliEMCALGeometry.h"
Include dependency graph for QAplots.C:

Go to the source code of this file.

Functions

void QAplots (TString fCalorimeter="EMCAL", TString period="LHC11h", TString pass="pass1_HLT", TString trigger="default")
 
void QAplots (Int_t run, TString period="LHC11h", TString pass="pass1_HLT", TString trigger="default")
 
void DrawOccupancy (Int_t run, TString period="LHC11h", TString pass="pass1_HLT", TString trigger="default", TFile *f=0x0)
 
void DrawRun (const Int_t run=167713, TString period="LHC11h", TString pass="pass1_HLT", TString trigger="default", TFile *f=0x0)
 

Detailed Description

Do EMCal QA plots.

Macro to do some EMCAL QA plots (from QA outputs (QAresults.root) of the QA train (AliAnaCalorimeterQA task) )

  • 1. macro needs AliEMCALGeometry to compute maps
  • 2. this macro makes the QA plots for
    • period or single runs
  • 3. to use it you should have the
    • QAresults.root files in period/pass/runnumber.root
    • and if you are running in period mode a runlist.txt file in the same directory: period/pass/runlist.txt were runlist is the list of the runs you want to check
  • 4. To save the plots you must create prior tu usig the macro in the period/pass/ directory as many subdirectories as number of runs with the name runnumber all gif files will be saved in those subdirectories
  • 5. The trigger corresponds to the name of the output directory in the root file so "EMC7" for EMC triggers and "default" for AnyInt (Minbias)
Author
Alexis Mas, SUBATECH
Marie Germain, SUBATECH

Definition in file QAplots.C.

Function Documentation

void DrawOccupancy ( Int_t  run,
TString  period = "LHC11h",
TString  pass = "pass1_HLT",
TString  trigger = "default",
TFile *  f = 0x0 
)

Definition at line 117 of file QAplots.C.

Referenced by QAplots().

void DrawRun ( const Int_t  run = 167713,
TString  period = "LHC11h",
TString  pass = "pass1_HLT",
TString  trigger = "default",
TFile *  f = 0x0 
)

Definition at line 307 of file QAplots.C.

Referenced by QAplots().

void QAplots ( TString  fCalorimeter = "EMCAL",
TString  period = "LHC11h",
TString  pass = "pass1_HLT",
TString  trigger = "default" 
)

Definition at line 52 of file QAplots.C.

void QAplots ( Int_t  run,
TString  period = "LHC11h",
TString  pass = "pass1_HLT",
TString  trigger = "default" 
)

Definition at line 100 of file QAplots.C.