![]() |
AliPhysics
648edd6 (648edd6)
|
Macro to test the files on OADB and provide a run range to be committed to OADB. More...
#include <Riostream.h>
#include <TH2D.h>
#include <TFile.h>
#include <TCanvas.h>
#include <TLatex.h>
#include <TStyle.h>
#include "AliEMCALGeometry.h"
#include "AliCalorimeterUtils.h"
#include "AliAODEvent.h"
#include "AliOADBContainer.h"
Go to the source code of this file.
Functions | |
void | Sort_RunNumbers (TString period="LHC15n", Int_t trainNo=603, TString runList="") |
void | Test_OADB (TString period="LHC15n", Int_t trainNo=603, Int_t version=5, TString runList="") |
Macro to test the files on OADB and provide a run range to be committed to OADB.
See https://twiki.cern.ch/twiki/bin/view/ALICE/BadChannelAnalysis for general documentation
use root -b to speed up (no canvas drawn)
root [0] .L helperMacrosOADBBC.C++
root [1] Sort_RunNumbers("LHC16o",663,"runList.txt")
root [2] Test_OADB("LHC16k",804,0,"runList16k.txt")
Definition in file helperMacrosOADBBC.C.
get all runnumbers from different groups and sort them to give a min and max range for the bad map. Run numbers are in your runList file.
Definition at line 40 of file helperMacrosOADBBC.C.
void Test_OADB | ( | TString | period = "LHC15n" , |
Int_t | trainNo = 603 , |
||
Int_t | version = 5 , |
||
TString | runList = "" |
||
) |
Test if the file committed to OADB is correct look at your local .root file with the bad maps inside and see what the bad map looks at a certain runNumber. If everything is committed correctly they should show the same
Definition at line 80 of file helperMacrosOADBBC.C.