AliPhysics  abafffd (abafffd)

Pi0CalibInvMassAnalysis3. More...

#include <Riostream.h>
#include <TChain.h>
#include <TNtuple.h>
#include <TObjArray.h>
#include <TSystem.h>
#include <TString.h>
#include <TH1F.h>
#include <TVector.h>
#include <TRefArray.h>
#include <TArrayS.h>
#include "TError.h"
#include "TTree.h"
#include "TClonesArray.h"
#include "TGraphErrors.h"
#include "TPostScript.h"
#include "TLegend.h"
#include "TH2I.h"
#include "TF1.h"
#include "TStyle.h"
#include "TPaveStats.h"
#include "TCanvas.h"
#include "TPolyLine.h"
#include "TLine.h"
#include "TFile.h"
#include "TMath.h"
#include "TLeaf.h"
#include "TBranch.h"
Include dependency graph for Pi0CalibInvMassAnalysis3.C:

Go to the source code of this file.

Enumerations

enum  detType {
  kEMCAL, kEMCALthird, kDCAL, kDCALthird,
  kEMCAL, kEMCALthird, kDCAL, kDCALthird,
  kEMCAL, kEMCALthird, kDCAL, kDCALthird,
  kEMCAL, kEMCALthird, kDCAL, kDCALthird,
  kEMCAL, kEMCALthird, kDCAL, kDCALthird,
  kEMCAL, kEMCALthird, kDCAL, kDCALthird,
  kEMCAL, kEMCALthird, kDCAL, kDCALthird,
  kEMCAL, kEMCALthird, kDCAL, kDCALthird,
  kEMCAL, kEMCALthird, kDCAL, kDCALthird
}
 

Functions

void Pi0CalibInvMassAnalysis3 (int choice=0b0110)
 
Double_t pi0massP3 (Double_t *x, Double_t *par)
 
Double_t pi0massP2 (Double_t *x, Double_t *par)
 
Double_t pi0massP1 (Double_t *x, Double_t *par)
 

Variables

char SMP2Name [][100] ={"SMA0","SMC0","SMA1","SMC1","SMA2","SMC2","SMA3","SMC3","SMA4","SMC4","SMA5","SMC5","SMA9","SMC9","SMA10","SMC10","SMA11","SMC11","SMA12","SMC12"}
 
char SMnumber [][100] ={"0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"}
 
int detTypeType [] ={kEMCAL,kEMCALthird,kDCAL,kDCALthird}
 
char detTypeString [][100] ={"EMCAL","EMCALthird","DCAL","DCALthird"}
 
int SMdetType [] ={kEMCAL,kEMCAL,kEMCAL,kEMCAL,kEMCAL,kEMCAL,kEMCAL,kEMCAL,kEMCAL,kEMCAL,kEMCALthird,kEMCALthird,kDCAL,kDCAL,kDCAL,kDCAL,kDCAL,kDCAL,kDCALthird,kDCALthird}
 
const int kNbColEMCAL =48
 
const int kNbRowEMCAL =24
 
const int kNbSMEMCAL =10
 
const int kNbColEMCALthird =kNbColEMCAL
 
const int kNbRowEMCALthird =(int)(kNbRowEMCAL/3)
 
const int kNbSMEMCALthird =2
 
const int kNbColDCAL =32
 
const int kNbRowDCAL =kNbRowEMCAL
 
const int kNbSMDCAL =6
 
const int kNbColDCALthird =kNbColEMCALthird
 
const int kNbRowDCALthird =kNbRowEMCALthird
 
const int kNbSMDCALthird =2
 
const int kNbSMtot =kNbSMEMCAL+kNbSMEMCALthird+kNbSMDCAL+kNbSMDCALthird
 
const int kTabNbCol [4] ={kNbColEMCAL,kNbColEMCALthird,kNbColDCAL,kNbColDCALthird}
 
const int kTabNbRow [4] ={kNbRowEMCAL,kNbRowEMCALthird,kNbRowDCAL,kNbRowDCALthird}
 
const int kTabNbSM [4] ={kNbSMEMCAL,kNbSMEMCALthird,kNbSMDCAL,kNbSMDCALthird}
 
const int kNbColMax =kNbColEMCAL
 
const int kNbRowMax =kNbRowEMCAL
 
const int kNbColOffsetDCAL =kNbColEMCAL-kNbColDCAL
 
const int kNbFitParams =6
 
const int kNbExtraParams =7
 
const int kNbExtraParamsToBeRead =7
 
const int kNbTotParams =kNbFitParams+kNbExtraParams+1
 

Detailed Description

Pi0CalibInvMassAnalysis3.

Compiled execution : int a=0b0101; aliroot -b -q 'macros/pi0CalibInvMassAnalysis3.C++(a)' >& output_calibPi0.txt & or else : aliroot -b -q 'macros/pi0CalibInvMassAnalysis3.C++()' >& output_calibPi0.txt &

Author
Julien Faivre, Julie.nosp@m.n.Fa.nosp@m.ivre@.nosp@m.cern.nosp@m..ch, (LPSC-CNRS)

How to compile : .L plotLEDruns.C++

How to run (uncompiled) :

1st and 3rd run = same old settings ; 2nd run = new settings to be tested.

.x macros/plotLEDruns.C(run1,run2,run3,"toto")

CAUTION : some things at the beginning are "To be checked / changed by user" (search "customize").

Mapping conventions : Read OCDB files (in Alice-offline mapping) and keep them in Alice-offline mapping. Read amplitude histograms (in Grenoble/electronic mapping) and flip them to Alice-offline mapping. Row/col TH2F plots are in Alice-offline mapping. "Calculations" (i.e. things inside the code) are all done in Alice-offline mapping.

Author
Julien Faivre, Julie.nosp@m.n.Fa.nosp@m.ivre@.nosp@m.cern.nosp@m..ch, (LPSC-CNRS)

Definition in file Pi0CalibInvMassAnalysis3.C.

Enumeration Type Documentation

enum detType
Enumerator
kEMCAL 
kEMCALthird 
kDCAL 
kDCALthird 
kEMCAL 
kEMCALthird 
kDCAL 
kDCALthird 
kEMCAL 
kEMCALthird 
kDCAL 
kDCALthird 
kEMCAL 
kEMCALthird 
kDCAL 
kDCALthird 
kEMCAL 
kEMCALthird 
kDCAL 
kDCALthird 
kEMCAL 
kEMCALthird 
kDCAL 
kDCALthird 
kEMCAL 
kEMCALthird 
kDCAL 
kDCALthird 
kEMCAL 
kEMCALthird 
kDCAL 
kDCALthird 
kEMCAL 
kEMCALthird 
kDCAL 
kDCALthird 

Definition at line 34 of file Pi0CalibInvMassAnalysis3.C.

Function Documentation

void Pi0CalibInvMassAnalysis3 ( int  choice = 0b0110)

Main

Definition at line 89 of file Pi0CalibInvMassAnalysis3.C.

Double_t pi0massP1 ( Double_t x,
Double_t par 
)

Definition at line 4109 of file Pi0CalibInvMassAnalysis3.C.

Referenced by Pi0CalibInvMassAnalysis3().

Double_t pi0massP2 ( Double_t x,
Double_t par 
)

Definition at line 4088 of file Pi0CalibInvMassAnalysis3.C.

Referenced by Pi0CalibInvMassAnalysis3().

Double_t pi0massP3 ( Double_t x,
Double_t par 
)

Definition at line 4067 of file Pi0CalibInvMassAnalysis3.C.

Referenced by Pi0CalibInvMassAnalysis3().

Variable Documentation

char detTypeString[][100] ={"EMCAL","EMCALthird","DCAL","DCALthird"}

Definition at line 36 of file Pi0CalibInvMassAnalysis3.C.

Referenced by Pi0CalibInvMassAnalysis3().

int detTypeType[] ={kEMCAL,kEMCALthird,kDCAL,kDCALthird}

Definition at line 35 of file Pi0CalibInvMassAnalysis3.C.

Referenced by Pi0CalibInvMassAnalysis3().

const int kNbColDCAL =32

Definition at line 44 of file Pi0CalibInvMassAnalysis3.C.

const int kNbColDCALthird =kNbColEMCALthird

Definition at line 47 of file Pi0CalibInvMassAnalysis3.C.

const int kNbColEMCAL =48

Definition at line 38 of file Pi0CalibInvMassAnalysis3.C.

Referenced by Pi0CalibInvMassAnalysis3().

const int kNbColEMCALthird =kNbColEMCAL

Definition at line 41 of file Pi0CalibInvMassAnalysis3.C.

const int kNbColMax =kNbColEMCAL

Definition at line 54 of file Pi0CalibInvMassAnalysis3.C.

Referenced by Pi0CalibInvMassAnalysis3().

const int kNbColOffsetDCAL =kNbColEMCAL-kNbColDCAL

Definition at line 56 of file Pi0CalibInvMassAnalysis3.C.

Referenced by Pi0CalibInvMassAnalysis3().

const int kNbExtraParams =7

Definition at line 64 of file Pi0CalibInvMassAnalysis3.C.

Referenced by Pi0CalibInvMassAnalysis3().

const int kNbExtraParamsToBeRead =7

Definition at line 66 of file Pi0CalibInvMassAnalysis3.C.

Referenced by Pi0CalibInvMassAnalysis3().

const int kNbFitParams =6

Definition at line 63 of file Pi0CalibInvMassAnalysis3.C.

Referenced by Pi0CalibInvMassAnalysis3().

const int kNbRowDCAL =kNbRowEMCAL

Definition at line 45 of file Pi0CalibInvMassAnalysis3.C.

const int kNbRowDCALthird =kNbRowEMCALthird

Definition at line 48 of file Pi0CalibInvMassAnalysis3.C.

const int kNbRowEMCAL =24

Definition at line 39 of file Pi0CalibInvMassAnalysis3.C.

Referenced by Pi0CalibInvMassAnalysis3().

const int kNbRowEMCALthird =(int)(kNbRowEMCAL/3)

Definition at line 42 of file Pi0CalibInvMassAnalysis3.C.

Referenced by Pi0CalibInvMassAnalysis3().

const int kNbRowMax =kNbRowEMCAL

Definition at line 55 of file Pi0CalibInvMassAnalysis3.C.

Referenced by Pi0CalibInvMassAnalysis3().

const int kNbSMDCAL =6

Definition at line 46 of file Pi0CalibInvMassAnalysis3.C.

const int kNbSMDCALthird =2

Definition at line 49 of file Pi0CalibInvMassAnalysis3.C.

const int kNbSMEMCAL =10

Definition at line 40 of file Pi0CalibInvMassAnalysis3.C.

Referenced by Pi0CalibInvMassAnalysis3().

const int kNbSMEMCALthird =2

Definition at line 43 of file Pi0CalibInvMassAnalysis3.C.

Referenced by Pi0CalibInvMassAnalysis3().

Definition at line 50 of file Pi0CalibInvMassAnalysis3.C.

Referenced by Pi0CalibInvMassAnalysis3().

const int kNbTotParams =kNbFitParams+kNbExtraParams+1

Definition at line 67 of file Pi0CalibInvMassAnalysis3.C.

Referenced by Pi0CalibInvMassAnalysis3().

Definition at line 51 of file Pi0CalibInvMassAnalysis3.C.

Definition at line 52 of file Pi0CalibInvMassAnalysis3.C.

Definition at line 53 of file Pi0CalibInvMassAnalysis3.C.

char SMnumber[][100] ={"0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"}

Definition at line 32 of file Pi0CalibInvMassAnalysis3.C.

char SMP2Name[][100] ={"SMA0","SMC0","SMA1","SMC1","SMA2","SMC2","SMA3","SMC3","SMA4","SMC4","SMA5","SMC5","SMA9","SMC9","SMA10","SMC10","SMA11","SMC11","SMA12","SMC12"}

Definition at line 31 of file Pi0CalibInvMassAnalysis3.C.