AliRoot Core  3dc7879 (3dc7879)
AliEMCALPedestalCDB.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 "Riostream.h"
#include "AliRun.h"
#include "AliCaloCalibPedestal.h"
#include "AliEMCALGeoParams.h"
#include "AliCDBMetaData.h"
#include "AliCDBId.h"
#include "AliCDBEntry.h"
#include "AliCDBManager.h"
#include "AliCDBStorage.h"
Include dependency graph for AliEMCALPedestalCDB.C:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void AliEMCALPedestalCDB ()
 
void Help ()
 
void SetTowerStatusMap (Int_t percent=0)
 
void SetTowerStatusMap (char *file="map.txt")
 Get the list of dead/hot channels from file and set them in OCDB. More...
 
void GetTowerStatusMap ()
 Read status map. More...
 

Detailed Description

Set the energy calibration parameters in OCDB.

Script to create dead channel map and store them into CDB

  • 4 sets of maps parameters can be created, with now dead channels and 5%, 10%, 20% and 30% of dead channels
  • it reads the stored map in a given file.

Execute like this: .x $ALICE_ROOT/EMCAL/macros/PedestalDB/AliEMCALSetTowerStatusCDB.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) based on PHOS macro by Boris Polishchuk (Boris.Polichtchouk at cern.ch)

Definition in file AliEMCALPedestalCDB.C.

Function Documentation

void AliEMCALPedestalCDB ( )

Main method When execution, menu appears

Definition at line 43 of file AliEMCALPedestalCDB.C.

Referenced by MakeEMCALCDBObjects().

void GetTowerStatusMap ( )

Read status map.

Definition at line 192 of file AliEMCALPedestalCDB.C.

void Help ( )

Definition at line 66 of file AliEMCALPedestalCDB.C.

void SetTowerStatusMap ( Int_t  percent = 0)

Writing status of all the channels in the OCDB with equal value except a percent to be not alive. Right now only "alive" or "dead", we need to implement the other cases like "hot"

Definition at line 80 of file AliEMCALPedestalCDB.C.

void SetTowerStatusMap ( char *  file = "map.txt")

Get the list of dead/hot channels from file and set them in OCDB.

Definition at line 143 of file AliEMCALPedestalCDB.C.