Use VMC id's rather than TGeo id's
[u/mrichter/AliRoot.git] / FMD / scripts / PrintCalibration.C
1 //____________________________________________________________________
2 //
3 // $Id$
4 //
5 // Print calibration constants
6 //
7 /** @file    PrintCalibration.C
8     @author  Christian Holm Christensen <cholm@nbi.dk>
9     @date    Sun Mar 26 17:58:27 2006
10     @brief   Make fake calibration data.
11 */
12 /** Make fake calibration data 
13     @ingroup simple_script
14  */
15 void
16 PrintCalibration(Int_t r=0, const char* what="gain")
17 {
18   AliCDBManager* cdb   = AliCDBManager::Instance();
19   cdb->SetDefaultStorage("local://$ALICE_ROOT");
20   cdb->SetRun(r);
21   AliFMDParameters* p = AliFMDParameters::Instance();
22   p->Init(kTRUE);
23   p->Print("fmd3*[8,0]");
24   // p->Draw(what);
25 }
26 //____________________________________________________________________
27 //
28 // EOF
29 //