AliPhysics  41af4b0 (41af4b0)
PrepareHV_SM1819.C File Reference

PrepareHV_SM1819. More...

#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 "TCanvas.h"
#include "TPolyLine.h"
#include "TLine.h"
#include "TFile.h"
#include "TMath.h"
#include "TLeaf.h"
#include "TBranch.h"
Include dependency graph for PrepareHV_SM1819.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 PrepareHV_SM1819 (int nbSM)
 

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
 

Detailed Description

PrepareHV_SM1819.

How to run :

root -b -q 'PrepareHV_SM1819.C(<smNb>)' >& output_prepareHV_SM1819_SMxxx.out &

Mapping convention for printf's : electronic.

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

Definition in file PrepareHV_SM1819.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 37 of file PrepareHV_SM1819.C.

Function Documentation

void PrepareHV_SM1819 ( int  nbSM)

Main

Definition at line 79 of file PrepareHV_SM1819.C.

Variable Documentation

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

Definition at line 39 of file PrepareHV_SM1819.C.

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

Definition at line 38 of file PrepareHV_SM1819.C.

const int kNbColDCAL =32

Definition at line 47 of file PrepareHV_SM1819.C.

const int kNbColDCALthird =kNbColEMCALthird

Definition at line 50 of file PrepareHV_SM1819.C.

const int kNbColEMCAL =48

Definition at line 41 of file PrepareHV_SM1819.C.

const int kNbColEMCALthird =kNbColEMCAL

Definition at line 44 of file PrepareHV_SM1819.C.

const int kNbColMax =kNbColEMCAL

Definition at line 57 of file PrepareHV_SM1819.C.

Referenced by PrepareHV_SM1819().

const int kNbColOffsetDCAL =kNbColEMCAL-kNbColDCAL

Definition at line 59 of file PrepareHV_SM1819.C.

const int kNbRowDCAL =kNbRowEMCAL

Definition at line 48 of file PrepareHV_SM1819.C.

const int kNbRowDCALthird =kNbRowEMCALthird

Definition at line 51 of file PrepareHV_SM1819.C.

Referenced by PrepareHV_SM1819().

const int kNbRowEMCAL =24

Definition at line 42 of file PrepareHV_SM1819.C.

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

Definition at line 45 of file PrepareHV_SM1819.C.

const int kNbRowMax =kNbRowEMCAL

Definition at line 58 of file PrepareHV_SM1819.C.

Referenced by PrepareHV_SM1819().

const int kNbSMDCAL =6

Definition at line 49 of file PrepareHV_SM1819.C.

const int kNbSMDCALthird =2

Definition at line 52 of file PrepareHV_SM1819.C.

const int kNbSMEMCAL =10

Definition at line 43 of file PrepareHV_SM1819.C.

const int kNbSMEMCALthird =2

Definition at line 46 of file PrepareHV_SM1819.C.

Definition at line 53 of file PrepareHV_SM1819.C.

Referenced by PrepareHV_SM1819().

Definition at line 54 of file PrepareHV_SM1819.C.

Definition at line 55 of file PrepareHV_SM1819.C.

Definition at line 56 of file PrepareHV_SM1819.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 34 of file PrepareHV_SM1819.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 33 of file PrepareHV_SM1819.C.