rl->LoadDigits("MUON");
dt = rl->GetTreeD("MUON", false);
if (dt == 0) {
- cout << "No digits produced!" << endl;
+ AliInfo("No digits produced!");
} else {
- cout << "With aliroot digits!" << endl;
+ AliInfo("With aliroot digits!");
g_muon_data->LoadDigits(dt);
}
} else {
if (gSystem->AccessPathName(dataPath.Data(),kFileExists)) {
- cout << "No raw data produced!" << endl;
+ AliInfo("No raw data produced!");
} else {
- cout << "With raw digits!" << endl;
+ AliInfo("With raw digits!");
g_muon_data->LoadRaw(dataPath.Data());
}
}
rl->LoadDigits("MUON");
dt = rl->GetTreeD("MUON", false);
if (dt == 0) {
- cout << "No digits produced!" << endl;
+ AliInfo("No digits produced!");
} else {
- cout << "With aliroot digits!" << endl;
+ AliInfo("With aliroot digits!");
g_muon_data->LoadDigits(dt);
}
} else {
if (gSystem->AccessPathName(dataPath.Data(),kFileExists)) {
- cout << "No raw data produced!" << endl;
+ AliInfo("No raw data produced!");
} else {
- cout << "With raw digits!" << endl;
+ AliInfo("With raw digits!");
g_muon_data->LoadRaw(dataPath.Data());
}
}
{
index = g_muon_data->GetTrack(i);
if (index >= nTracks) {
- cout << "TEveHit track index larger than number in stack!" << endl;
+ AliInfo("TEveHit track index larger than number in stack!");
continue;
}
AliMpSegmentation::Instance()->GetMpSegmentation(detElemId, AliMp::GetCathodType(digit->Cathode()));
if (!vseg)
{
- cout << Form("Could not get segmentation for DE %4d MANU %4d",detElemId,manuId) << endl;
+ AliInfo(Form("Could not get segmentation for DE %4d MANU %4d",detElemId,manuId));
continue; // should not happen, unless we got a readout error and thus a bad de,manu pair
}
// load raw data
AliRawReader* reader = AliEveEventManager::AssertRawReader();
if ( reader->GetEventHeader() )
- cout << "RUN " << reader->GetRunNumber() << " EVENT " << reader->GetEventIndex() << endl;
+ AliInfo(Form("RUN %d EVENT %d", reader->GetRunNumber(),reader->GetEventIndex()) );
else
- cout << "NO EVENT HEADER ?" << endl;
+ AliInfo("NO EVENT HEADER ?");
// convert raw to digits
AliMUONDigitMaker digitMaker;