AliPhysics  b555aef (b555aef)
ConvertOCDBtoText.C File Reference

Text to OCDB conversion. 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 ConvertOCDBtoText (void)
 

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

Text to OCDB conversion.

Parameters stored to a txt file, transfered to an OCDB file

How to run :

(CAUTION : customize first what has to be)

aliroot -b .x ConvertOCDBtoText.C

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

Definition in file ConvertOCDBtoText.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 6 of file ConvertOCDBtoText.C.

Function Documentation

void ConvertOCDBtoText ( void  )

Main

Definition at line 51 of file ConvertOCDBtoText.C.

Variable Documentation

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

Definition at line 8 of file ConvertOCDBtoText.C.

char SMnumber[][100] ={"0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"}
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 3 of file ConvertOCDBtoText.C.