2 void AliTRDanalyzeBlackEventsLHC(const char *filename) {
5 AliRawReaderRoot *reader = new AliRawReaderRoot(filename, 0);
6 reader->SelectEquipment(0, 1024, 1041);
8 reader->SelectEvents(7);
10 //AliTRDRawStreamTB::SupressWarnings(kTRUE);
11 //AliTRDrawStreamTB::SetForceCleanDataOnly();
12 AliTRDrawStreamTB::AllowCorruptedData();
13 AliTRDrawStreamTB::DisableStackNumberChecker();
14 AliTRDrawStreamTB::DisableStackLinkNumberChecker();
15 AliTRDrawStreamTB::DisableSkipData();
18 AliTRDrawStreamTB *raw = new AliTRDrawStreamTB(reader);
20 //raw->SetRawVersion(3);
22 AliTRDqaBlackEvents *qa = new AliTRDqaBlackEvents();
26 while (reader->NextEvent()) {
27 cout << "next event " << counter++ << endl;
28 cout << qa->AddEvent(raw) << endl;
31 cout << "Processing" << endl;
32 qa->Process("qaTRD_black.root");
37 // AliTRDqaBlackEvents qa;
38 // qa.DrawSm("qaTRD_black.root", 0);
40 // qa.DrawChamber("qaTRD_black.root", 2);