AliPhysics  eb0e5d9 (eb0e5d9)
CreateEMCALRunQA.C File Reference

QA at run level. More...

#include <Riostream.h>
#include "AliEMCALGeometry.h"
#include <TColor.h>
#include <TStyle.h>
#include <TSystem.h>
#include <TDirectory.h>
#include <TF1.h>
#include <TFile.h>
#include <TH2.h>
#include <TH2D.h>
#include <TCanvas.h>
#include <TGraphErrors.h>
#include <TLegend.h>
#include <TTree.h>
#include <TPRegexp.h>
#include <TList.h>
#include <TObjString.h>
#include <TDatime.h>
#include <TError.h>
#include <AliLog.h>
Include dependency graph for CreateEMCALRunQA.C:

Go to the source code of this file.

Functions

Int_t DrawOccupancy (Long_t run, TString period, TString pass, TString fTrigger, TString system, TFile *f, TFile *fout, AliEMCALGeometry *geom, Int_t SavePlots)
 
Int_t DrawRun (Long_t run, TString period, TString pass, TString fTrigger, TFile *f, TFile *fout, Int_t SavePlots, Int_t nSM, Bool_t kFilter)
 
Int_t TrendingEMCALTree (Long_t RunId, TString fCalorimeter, TString system, TString period, TString pass, const int n, TList *TriggersList, TFile *f, TFile *fout, Int_t SavePlots)
 
TH2FFormatRunHisto (TH2F *aHisto, const char *title, const char *YTitle="")
 
TH2DFormatRunHisto2D (TH2D *aHisto, const char *title, const char *YTitle="")
 
TH2FHistoPerMod (TH2F *name, const char *title)
 
TH2AutoZoom (TH2 *H, Option_t *aType="all", Int_t EntryMin=0)
 
int FindNumberOfSM (TFile *f, TString fTrigger, TString period)
 
void set_plot_style ()
 
Double_t pi0massP2 (Double_t *x, Double_t *par)
 
Double_t pi0massP1 (Double_t *x, Double_t *par)
 
Double_t fitE (Double_t *x, Double_t *par)
 
int CreateEMCALRunQA (const char *filename, TString RunId, TString period, TString pass, Int_t SavePlots=0, Bool_t filter=0, TString fTrigger="", TString system="", TString fCalorimeter="EMCAL")
 

Variables

TString QAPATH
 
TString QAPATHF = "./"
 

Detailed Description

QA at run level.

This macro produces runLevelQA for EMCal from a QAresults.root file. Re-factored for automatic QA processing A. Shabetai.

Author
Yaxian Mao, Yaxia.nosp@m.n.Ma.nosp@m.o@cer.nosp@m.n.ch, CCNU
Alexis Mas, Alexi.nosp@m.s.Ma.nosp@m.s@sub.nosp@m.atec.nosp@m.h.in2.nosp@m.p3.f.nosp@m.r, SUBATECH
Alexandre Shabetai, Alexa.nosp@m.ndre.nosp@m..Shab.nosp@m.etai.nosp@m.@suba.nosp@m.tech.nosp@m..in2p.nosp@m.3.fr SUBATECH
Marie Germain, Marie.nosp@m..Ger.nosp@m.main@.nosp@m.suba.nosp@m.tech..nosp@m.in2p.nosp@m.3.fr, SUBATECH
Erwann Masson, Erwan.nosp@m.n.Ma.nosp@m.sson@.nosp@m.suba.nosp@m.tech..nosp@m.in2p.nosp@m.3.fr, SUBATECH

Definition in file CreateEMCALRunQA.C.

Function Documentation

TH2 * AutoZoom ( TH2 H,
Option_t aType = "all",
Int_t  EntryMin = 0 
)

Definition at line 2123 of file CreateEMCALRunQA.C.

Referenced by DrawRun().

int CreateEMCALRunQA ( const char *  filename,
TString  RunId,
TString  period,
TString  pass,
Int_t  SavePlots = 0,
Bool_t  filter = 0,
TString  fTrigger = "",
TString  system = "",
TString  fCalorimeter = "EMCAL" 
)

Definition at line 106 of file CreateEMCALRunQA.C.

Int_t DrawOccupancy ( Long_t  run,
TString  period,
TString  pass,
TString  fTrigger,
TString  system,
TFile *  f,
TFile *  fout,
AliEMCALGeometry *  geom,
Int_t  SavePlots 
)

Definition at line 189 of file CreateEMCALRunQA.C.

Referenced by CreateEMCALRunQA().

Int_t DrawRun ( Long_t  run,
TString  period,
TString  pass,
TString  fTrigger,
TFile *  f,
TFile *  fout,
Int_t  SavePlots,
Int_t  nSM,
Bool_t  kFilter 
)

Definition at line 376 of file CreateEMCALRunQA.C.

Referenced by CreateEMCALRunQA().

int FindNumberOfSM ( TFile *  f,
TString  fTrigger,
TString  period 
)

Definition at line 2205 of file CreateEMCALRunQA.C.

Referenced by CreateEMCALRunQA().

Double_t fitE ( Double_t x,
Double_t par 
)

Definition at line 95 of file CreateEMCALRunQA.C.

TH2F * FormatRunHisto ( TH2F aHisto,
const char *  title,
const char *  YTitle = "" 
)

Definition at line 2061 of file CreateEMCALRunQA.C.

Referenced by DrawRun().

TH2D * FormatRunHisto2D ( TH2D aHisto,
const char *  title,
const char *  YTitle = "" 
)

Definition at line 2080 of file CreateEMCALRunQA.C.

Referenced by TrendingEMCALTree().

TH2F * HistoPerMod ( TH2F name,
const char *  title 
)

Definition at line 2100 of file CreateEMCALRunQA.C.

Referenced by DrawRun().

Double_t pi0massP1 ( Double_t x,
Double_t par 
)

Definition at line 85 of file CreateEMCALRunQA.C.

Double_t pi0massP2 ( Double_t x,
Double_t par 
)

Definition at line 69 of file CreateEMCALRunQA.C.

Referenced by TrendingEMCALTree().

void set_plot_style ( )

Definition at line 54 of file CreateEMCALRunQA.C.

Referenced by DrawOccupancy(), and DrawRun().

Int_t TrendingEMCALTree ( Long_t  RunId,
TString  fCalorimeter,
TString  system,
TString  period,
TString  pass,
const int  n,
TList TriggersList,
TFile *  f,
TFile *  fout,
Int_t  SavePlots 
)

Definition at line 741 of file CreateEMCALRunQA.C.

Referenced by CreateEMCALRunQA().

Variable Documentation

TString QAPATH

Definition at line 50 of file CreateEMCALRunQA.C.

TString QAPATHF = "./"

Definition at line 51 of file CreateEMCALRunQA.C.