]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ANALYSIS/macros/ConfigCalibTrain.C
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / ANALYSIS / macros / ConfigCalibTrain.C
CommitLineData
3a1b47b3 1//
2// Macro to initialize:
3// - the OCDB (run number required as input argument)
4// - the geometry (expected to be in the current directory)
5// to run the Calibration train.
6//
7
8void ConfigCalibTrain(Int_t run, const char *ocdb="raw://"){
9
10 // OCDB
38a41881 11
12 printf("setting run to %d\n",run);
3a1b47b3 13 AliCDBManager::Instance()->SetDefaultStorage(ocdb);
14 AliCDBManager::Instance()->SetRun(run);
15
16 // geometry
38a41881 17 AliGeomManager::LoadGeometry();
3a1b47b3 18 AliGeomManager::ApplyAlignObjsFromCDB("GRP ITS TPC");
19}