Extacting the OCDB in a separate module. The detectors have write permission in the...
[u/mrichter/AliRoot.git] / FMD / scripts / PatternDigits.C
CommitLineData
a9579262 1//____________________________________________________________________
2//
3// $Id$
4//
5// Draw hits in the specialised FMD event display
6//
7/** Display hits
8 @ingroup FMD_script
9 */
10void
11PatternDigits()
12{
97b4001e 13 AliLog::SetModuleDebugLevel("FMD", 1);
14 AliCDBManager* cdb = AliCDBManager::Instance();
162637e4 15 cdb->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
97b4001e 16 cdb->SetRun(0);
17 AliFMDParameters::Instance()->Init();
a9579262 18 gSystem->Load("libFMDutil.so");
19 AliFMDPattern* d = new AliFMDPattern;
20 d->AddLoad(AliFMDInput::kDigits);
42f1b2f5 21 d->SetName("digit");
22 d->SetTitle("Digits");
a9579262 23 // d->AddLoad(AliFMDInput::kKinematics);
24 d->Run();
25}
26
27//____________________________________________________________________
28//
29// EOF
30//