Extacting the OCDB in a separate module. The detectors have write permission in the...
[u/mrichter/AliRoot.git] / FMD / scripts / DisplayDigits.C
1 //____________________________________________________________________
2 //
3 // $Id$
4 //
5 // Draw hits in the specialised FMD event display 
6 //
7 /** Display hits 
8     @ingroup FMD_script
9  */
10 void
11 DisplayDigits()
12 {
13   AliCDBManager* cdb = AliCDBManager::Instance();
14   cdb->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
15   cdb->SetRun(0);
16   gSystem->Load("libFMDutil.so");
17   AliFMDDisplay* d = new AliFMDDisplay;
18   d->AddLoad(AliFMDInput::kDigits);
19   // d->AddLoad(AliFMDInput::kKinematics);
20   d->Run();
21 }
22
23 //____________________________________________________________________
24 //
25 // EOF
26 //