4 - the OCDB (run number required as input argument)
5 - the geometry (expected to be in the current directory)
6 to run the Calibration train.
9 .L $ALICE_ROOT/ANALYSIS/CalibMacros/MergeCalibration/ConfigCalibTrain.C
10 ConfigCalibTrain(129160,"raw://");
14 void ConfigCalibTrain(Int_t run, const char *ocdb="raw://"){
17 printf("setting run to %d\n",run);
18 AliCDBManager::Instance()->SetDefaultStorage(ocdb);
19 AliCDBManager::Instance()->SetRun(run);
20 AliCDBManager::Instance()->InitFromSnapshot("OCDB.root");
23 if ( !TGeoGlobalMagField::Instance()->GetField() ) {
24 printf("Loading field map...\n");
26 if( !grpMan.ReadGRPEntry() ) {
27 printf("Cannot get GRP entry\n");
29 if( !grpMan.SetMagField() ) {
30 printf("Problem with magnetic field setup\n");
35 printf("Loading geometry...\n");
36 AliGeomManager::LoadGeometry();
37 if( !AliGeomManager::ApplyAlignObjsFromCDB("GRP ITS TPC") ) {
38 printf("Problem with align objects\n");