AliPhysics  e59a9ba (e59a9ba)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 <TH2F.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)
 
TH2F * FormatRunHisto (TH2F *aHisto, const char *title, const char *YTitle="")
 
TH2F * HistoPerMod (TH2F *name, const char *title)
 
TH2 * AutoZoom (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

Definition in file CreateEMCALRunQA.C.

Function Documentation

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

Definition at line 1228 of file CreateEMCALRunQA.C.

Referenced by DrawOccupancy(), and 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 102 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 172 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 
)

modification rajouter plot occupancy

Definition at line 321 of file CreateEMCALRunQA.C.

Referenced by CreateEMCALRunQA().

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

Definition at line 1301 of file CreateEMCALRunQA.C.

Referenced by CreateEMCALRunQA().

Double_t fitE ( Double_t *  x,
Double_t *  par 
)

Definition at line 91 of file CreateEMCALRunQA.C.

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

Definition at line 1191 of file CreateEMCALRunQA.C.

Referenced by DrawRun().

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

Definition at line 1208 of file CreateEMCALRunQA.C.

Referenced by DrawRun().

Double_t pi0massP1 ( Double_t *  x,
Double_t *  par 
)

Definition at line 80 of file CreateEMCALRunQA.C.

Double_t pi0massP2 ( Double_t *  x,
Double_t *  par 
)

Definition at line 65 of file CreateEMCALRunQA.C.

Referenced by TrendingEMCALTree().

void set_plot_style ( )

Definition at line 50 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 628 of file CreateEMCALRunQA.C.

Referenced by CreateEMCALRunQA().

Variable Documentation

TString QAPATH

Definition at line 47 of file CreateEMCALRunQA.C.

Referenced by CreateEMCALRunQA(), DrawOccupancy(), DrawRun(), and TrendingEMCALTree().

TString QAPATHF = "./"

Definition at line 48 of file CreateEMCALRunQA.C.

Referenced by CreateEMCALRunQA().