]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FMD/scripts/PatternRaw.C
Added the specialised FMD display for raws (cholm)
[u/mrichter/AliRoot.git] / FMD / scripts / PatternRaw.C
1 //____________________________________________________________________
2 //
3 // $Id: PatternDigits.C 28055 2008-08-18 00:33:20Z cholm $
4 //
5 // Draw hits in the specialised FMD event display 
6 //
7 /** Display hits 
8     @ingroup FMD_script
9  */
10 void
11 PatternRaw(const char* file="raw.root")
12 {
13   AliLog::SetModuleDebugLevel("FMD", 3);
14   AliCDBManager* cdb = AliCDBManager::Instance();
15   cdb->SetDefaultStorage("local://$ALICE_ROOT");
16   cdb->SetRun(0);
17   AliFMDParameters::Instance()->Init();
18   gSystem->Load("libFMDutil.so");
19   AliFMDPattern* d = new AliFMDPattern;
20   d->AddLoad(AliFMDInput::kRaw);
21   d->SetRawFile(file);
22   d->SetName("raw");
23   d->SetTitle("Raw");
24   // d->AddLoad(AliFMDInput::kKinematics);
25   d->Run();
26 }
27
28 //____________________________________________________________________
29 //
30 // EOF
31 //