Extacting the OCDB in a separate module. The detectors have write permission in the...
[u/mrichter/AliRoot.git] / FMD / scripts / PatternESD.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 PatternESD()
12 {
13   AliCDBManager* cdb = AliCDBManager::Instance();
14   cdb->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
15   gSystem->Load("libFMDutil.so");
16   AliFMDPattern* d = new AliFMDPattern;
17   // d->SetMultiplicityCut(0);
18   d->AddLoad(AliFMDInput::kESD);
19   d->Run();
20 }
21
22 //____________________________________________________________________
23 //
24 // EOF
25 //