]>
Commit | Line | Data |
---|---|---|
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 | ||
8 | void ConfigCalibTrain(Int_t run, const char *ocdb="raw://"){ | |
9 | ||
10 | // OCDB | |
11 | ||
12 | printf("setting run to %d\n",run); | |
13 | AliCDBManager::Instance()->SetDefaultStorage(ocdb); | |
14 | AliCDBManager::Instance()->SetRun(run); | |
15 | ||
16 | // geometry | |
17 | AliGeomManager::LoadGeometry(); | |
18 | AliGeomManager::ApplyAlignObjsFromCDB("GRP ITS TPC"); | |
19 | } |