Fixes for reading zero-suppressed data. These should be propagated to
[u/mrichter/AliRoot.git] / FMD / scripts / PrintCalibration.C
CommitLineData
15b17c89 1//____________________________________________________________________
2//
3// $Id$
4//
a9579262 5// Print calibration constants
15b17c89 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 */
15void
a9579262 16PrintCalibration(Int_t r=0, const char* what="gain")
15b17c89 17{
18 AliCDBManager* cdb = AliCDBManager::Instance();
19 cdb->SetDefaultStorage("local://$ALICE_ROOT");
a9579262 20 cdb->SetRun(r);
15b17c89 21 AliFMDParameters* p = AliFMDParameters::Instance();
a9579262 22 p->Init(kTRUE);
7868d9e2 23 // p->Print("fmd3*[8,0]");
24 p->Print("fmd3*[*,*]");
a9579262 25 // p->Draw(what);
15b17c89 26}
27//____________________________________________________________________
28//
29// EOF
30//