AliRoot Core  edcc906 (edcc906)
AliEMCALSetCDB.C File Reference

Set the energy calibration parameters in OCDB. More...

#include <TControlBar.h>
#include <TString.h>
#include <TRandom.h>
#include <TStyle.h>
#include <TH2.h>
#include <TF1.h>
#include <TCanvas.h>
#include "AliRun.h"
#include "AliEMCALCalibData.h"
#include "AliEMCALGeoParams.h"
#include "AliCDBMetaData.h"
#include "AliCDBId.h"
#include "AliCDBEntry.h"
#include "AliCDBManager.h"
#include "AliCDBStorage.h"
Include dependency graph for AliEMCALSetCDB.C:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void AliEMCALSetCDB ()
 
void Help ()
 
void SetCC (Int_t flag=0)
 
void GetCC (Int_t flag=0)
 

Detailed Description

Set the energy calibration parameters in OCDB.

Script to create energy calibration parameters and store them into CDB Thre sets of calibration parameters can be created: 1) equal parameters 2) randomly distributed parameters for decalibrated detector silumations 3) gausian distributed parameters for decalibrated detector silumations

Execute like this: .x $ALICE_ROOT/EMCAL/macros/CalibrationDB/AliEMCALSetCDB.C

Author
Gustavo Conesa Balbastre Gusta.nosp@m.vo.C.nosp@m.onesa.nosp@m..Bal.nosp@m.bastr.nosp@m.e@ce.nosp@m.rn.ch, (LPSC-CNRS)

Definition in file AliEMCALSetCDB.C.

Function Documentation

void AliEMCALSetCDB ( )

Main method When execution, menu appears

Definition at line 41 of file AliEMCALSetCDB.C.

void GetCC ( Int_t  flag = 0)

Read calibration coefficients into the Calibration DB Arguments: flag=0: all calibration coefficients are equal flag=1: all calibration coefficients random (decalibration)

Definition at line 181 of file AliEMCALSetCDB.C.

void Help ( )

Definition at line 62 of file AliEMCALSetCDB.C.

void SetCC ( Int_t  flag = 0)

Writing calibration coefficients into the Calibration DB Arguments: flag=0: all calibration coefficients are equal flag=1: all calibration coefficients random (decalibration) flag=2: all calibration coefficients have Gaussian random distribution (decalibration)

Definition at line 78 of file AliEMCALSetCDB.C.