AliPhysics  eb0e5d9 (eb0e5d9)

Put parameters in OCDB file. More...

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 SetCDB (void)
 

Variables

char SMP2Name [][100]
 
char SMnumber [][100]
 
int detTypeType [] ={kEMCAL,kEMCALthird,kDCAL,kDCALthird}
 
char detTypeString [][100] ={"EMCAL","EMCALthird","DCAL","DCALthird"}
 
int SMdetType []
 
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

Put parameters in OCDB file.

Put parameters in OCDB file.

How to run :

(CAUTION : customize what needs to be)

aliroot -b .x macros/SetCDB.C

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

Definition in file SetCDB.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 12 of file SetCDB.C.

Function Documentation

void SetCDB ( void  )

Main method

Take OCDB used to calibrate existing data, that needs to be updated in alien:/alice/data/2011/OCDB/EMCAL/Calib/Data/Run144484_999999999_v5_s0.root, take the latest version

Definition at line 71 of file SetCDB.C.

Variable Documentation

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

Definition at line 14 of file SetCDB.C.

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

Definition at line 13 of file SetCDB.C.

const int kNbColDCAL =32

Definition at line 25 of file SetCDB.C.

const int kNbColDCALthird =kNbColEMCALthird

Definition at line 28 of file SetCDB.C.

const int kNbColEMCAL =48

Definition at line 19 of file SetCDB.C.

const int kNbColEMCALthird =kNbColEMCAL

Definition at line 22 of file SetCDB.C.

const int kNbColMax =kNbColEMCAL

Definition at line 35 of file SetCDB.C.

const int kNbColOffsetDCAL =kNbColEMCAL-kNbColDCAL

Definition at line 37 of file SetCDB.C.

const int kNbRowDCAL =kNbRowEMCAL

Definition at line 26 of file SetCDB.C.

const int kNbRowDCALthird =kNbRowEMCALthird

Definition at line 29 of file SetCDB.C.

const int kNbRowEMCAL =24

Definition at line 20 of file SetCDB.C.

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

Definition at line 23 of file SetCDB.C.

const int kNbRowMax =kNbRowEMCAL

Definition at line 36 of file SetCDB.C.

const int kNbSMDCAL =6

Definition at line 27 of file SetCDB.C.

const int kNbSMDCALthird =2

Definition at line 30 of file SetCDB.C.

const int kNbSMEMCAL =10

Definition at line 21 of file SetCDB.C.

const int kNbSMEMCALthird =2

Definition at line 24 of file SetCDB.C.

Definition at line 31 of file SetCDB.C.

Referenced by SetCDB().

Definition at line 32 of file SetCDB.C.

Definition at line 33 of file SetCDB.C.

Definition at line 34 of file SetCDB.C.

int SMdetType[]
Initial value:

Definition at line 15 of file SetCDB.C.

Referenced by SetCDB().

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

Definition at line 7 of file SetCDB.C.

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

Definition at line 3 of file SetCDB.C.