return;
}
TBranch *branch = trackTree->GetBranch("TRDtrackGTU");
- AliDebug(1,Form("TRD trigger: found %i tracks", trackTree->GetEntriesFast()));
+ AliDebug(1,Form("TRD trigger: found %d tracks", trackTree->GetEntriesFast()));
// trigger thresholds should go elsewhere
Float_t ptThreshold1 = 2;
fTMU->WriteTrackletsToTree(fTrackletTree);
WriteTracksToDataFile(listOfTracks, iEventPrev);
if (listOfTracks->GetEntries() > 0)
- AliDebug(2,Form(" %d GeV/c", ((AliTRDtrackGTU*) listOfTracks->At(0))->GetPt() ));
+ AliDebug(2,Form(" %4.1f GeV/c", ((AliTRDtrackGTU*) listOfTracks->At(0))->GetPt() ));
delete fTMU;
fTMU = new AliTRDgtuTMU();
delete listOfTracks;
if (!trackTree->GetBranch("TRDtrackGTU"))
trackTree->Branch("TRDtrackGTU", "AliTRDtrackGTU", &trk, 32000);
- AliDebug(1,Form("Found %i tracks", fTrackTree->GetEntries()));
+ AliDebug(1,Form("Found %d tracks", fTrackTree->GetEntries()));
for (Int_t iTrack = 0; iTrack < fTrackTree->GetEntries(); iTrack++) {
fTrackTree->SetBranchAddress("TRDgtuTrack", &trk);
addrQ0 = (((addrQ0*q0)>>16)>>16); // because addrQ0 = (q0 * corrQ0) >> 32; does not work for unknown reasons
if(addrQ0 >= nBinsQ0) { // check for overflow
- AliDebug(5,Form("Overflow in q0: %i/4 is bigger then %i", addrQ0, nBinsQ0));
+ AliDebug(5,Form("Overflow in q0: %i/4 is bigger then %u", addrQ0, nBinsQ0));
addrQ0 = nBinsQ0 -1;
}
addr = addrQ0 + nBinsQ0*addr; // because addr = addrQ0 + nBinsQ0* (((corrQ1*q1)>>32); does not work
if(addr >= pidTotalSize) {
- AliDebug(5,Form("Overflow in q1. Address %i/4 is bigger then %i", addr, pidTotalSize));
+ AliDebug(5,Form("Overflow in q1. Address %i/4 is bigger then %u", addr, pidTotalSize));
addr = pidTotalSize -1;
}
iwbuffer[0] = iwbuffer[0] | bStackMask; // add stack masks to SM index word
if (fgDataSuppressionLevel==0) iwbuffer[0] = 0x0044a03f; // no suppression : all stacks are active
of->WriteBuffer((char *) iwbuffer, nheader*4);
- AliDebug(11, Form("SM %d index word: %08x", iwbuffer[0]));
- AliDebug(11, Form("SM %d header: %08x", iwbuffer[1]));
+ AliDebug(11, Form("SM %d index word: %08x", sect, iwbuffer[0]));
+ AliDebug(11, Form("SM %d header: %08x", sect, iwbuffer[1]));
}
// end of SM & stack header ------------------------------------------------------------------------
// -------------------------------------------------------------------------------------------------
if(ignoredLines>readLines)
- AliError(Form("More then 50% of the input file could not be processed. Perhaps you should check the input file %s", filename.Data()));
+ AliError(Form("More than 50 %% of the input file could not be processed. Perhaps you should check the input file %s", filename.Data()));
return kTRUE;