In muon-related macros in EVE:
[u/mrichter/AliRoot.git] / EVE / alice-macros / vzero_dump.C
CommitLineData
9b5db6d1 1void vzero_dump()
2{
3 AliESDEvent* esd = AliEveEventManager::AssertESD();
4
5 AliESDVZERO *vz = esd->GetVZEROData();
6 if (vz)
7 {
8 printf("====================================================================\n");
9 printf("================ VZERO DUMP ===================================\n");
10 printf("====================================================================\n");
11 printf("| id multip time BB BG || id multip time BB BG |\n");
12 printf("+------------------------------++----------------------------------+\n");
13 for (Int_t i=0; i<32; ++i)
14 {
15 Int_t j = i + 32;
16 printf("| %2d %8.1f %8.1f %2d %2d || %2d %8.1f %8.1f %2d %2d |\n",
17 i, vz->GetMultiplicity(i), vz->GetTime(i), vz->GetBBFlag(i), vz->GetBGFlag(i),
18 j, vz->GetMultiplicity(j), vz->GetTime(j), vz->GetBBFlag(j), vz->GetBGFlag(j));
19 }
20 printf("====================================================================\n");
21 }
22
23}