void AliTOFChannelOnlineArray::SetDelay(Int_t pos, Float_t parr)
{
// setting status for channel at position = pos
- AliDebug(2,Form("status = %d",(Float_t)parr));
+ AliDebug(2,Form("status = %f",(Float_t)parr));
if (pos>-1 && pos < fSize)fArray[pos] = parr;
- AliDebug(2,Form("fArray[%d] = %d",pos,(Float_t)fArray[pos]));
+ AliDebug(2,Form("fArray[%d] = %f",pos,(Float_t)fArray[pos]));
}
//________________________________________________________________
Float_t AliTOFChannelOnlineArray::GetDelay(Int_t pos) const
dummy4 = fNumberOfTofClusters;
FindClustersPerStrip(iSector, iPlate, iStrip, 4); // 4 pads clusters
if (fNumberOfTofClusters!=dummy4)
- AliDebug(2, Form(" (4): n1= %5d, n2 = %5", dummy4, fNumberOfTofClusters));
+ AliDebug(2, Form(" (4): n1= %5d, n2 = %5d", dummy4, fNumberOfTofClusters));
if (!(fTOFdigitMap->StripDigitCheck(iSector,iPlate,iStrip))) continue;
dummy3 = fNumberOfTofClusters;
FindClustersPerStrip(iSector, iPlate, iStrip, 3); // 3 pads clusters
if (fNumberOfTofClusters!=dummy3)
- AliDebug(2, Form(" (3): n1= %5d, n2 = %5", dummy3, fNumberOfTofClusters));
+ AliDebug(2, Form(" (3): n1= %5d, n2 = %5d", dummy3, fNumberOfTofClusters));
if (!(fTOFdigitMap->StripDigitCheck(iSector,iPlate,iStrip))) continue;
dummy2 = fNumberOfTofClusters;
FindClustersPerStrip(iSector, iPlate, iStrip, 2); // 2 pads clusters
if (fNumberOfTofClusters!=dummy2)
- AliDebug(2, Form(" (2): n1= %5d, n2 =%5", dummy2, fNumberOfTofClusters));
+ AliDebug(2, Form(" (2): n1= %5d, n2 =%5d", dummy2, fNumberOfTofClusters));
if (!(fTOFdigitMap->StripDigitCheck(iSector,iPlate,iStrip))) continue;
if (digitInteresting->GetToT()<=0) continue; // AdC
digitIndexLocal++; // AdC
- AliDebug(1,Form(" %2d %1d %2d %1d %2d %f %f %f %f %5d %5d %5d %5d",
+ AliDebug(1,Form(" %2d %1d %2d %1d %2d %d %d %d %d %5d %5d %5d %5d",
vol[0], vol[1], vol[2] ,vol[4], vol[3],
digitInteresting->GetTdc(), digitInteresting->GetAdc(),
digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
if (digitInteresting->GetToT()<=0) continue; // AdC
digitIndexLocal++; // AdC
- AliDebug(1,Form(" %2d %1d %2d %1d %2d %f %f %f %f %5d %5d %5d %5d",
+ AliDebug(1,Form(" %2d %1d %2d %1d %2d %d %d %d %d %5d %5d %5d %5d",
vol[0], vol[1], vol[2] ,vol[4], vol[3],
digitInteresting->GetTdc(), digitInteresting->GetAdc(),
digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
if (digitInteresting->GetToT()<=0) continue; // AdC
digitIndexLocal++; // AdC
- AliDebug(1,Form(" %2d %1d %2d %1d %2d %f %f %f %f %5d %5d %5d %5d",
+ AliDebug(1,Form(" %2d %1d %2d %1d %2d %d %d %d %d %5d %5d %5d %5d",
vol[0], vol[1], vol[2] ,vol[4], vol[3],
digitInteresting->GetTdc(), digitInteresting->GetAdc(),
digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
if (digitInteresting->GetToT()<=0) continue; // AdC
digitIndexLocal++; // AdC
- AliDebug(1,Form(" %2d %1d %2d %1d %2d %f %f %f %f %5d %5d %5d %5d",
+ AliDebug(1,Form(" %2d %1d %2d %1d %2d %d %d %d %d %5d %5d %5d %5d",
vol[0], vol[1], vol[2] ,vol[4], vol[3],
digitInteresting->GetTdc(), digitInteresting->GetAdc(),
digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
if (digitInteresting->GetToT()<=0) continue; // AdC
digitIndexLocal++; // AdC
- AliDebug(1,Form(" %2d %1d %2d %1d %2d %f %f %f %f %5d %5d %5d %5d",
+ AliDebug(1,Form(" %2d %1d %2d %1d %2d %d %d %d %d %5d %5d %5d %5d",
vol[0], vol[1], vol[2] ,vol[4], vol[3],
digitInteresting->GetTdc(), digitInteresting->GetAdc(),
digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
if (digitInteresting->GetToT()<=0) continue; // AdC
digitIndexLocal++; // AdC
- AliDebug(1,Form(" %2d %1d %2d %1d %2d %f %f %f %f %5d %5d %5d %5d",
+ AliDebug(1,Form(" %2d %1d %2d %1d %2d %d %d %d %d %5d %5d %5d %5d",
vol[0], vol[1], vol[2] ,vol[4], vol[3],
digitInteresting->GetTdc(), digitInteresting->GetAdc(),
digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
if (digitInteresting->GetToT()<=0) continue; // AdC
digitIndexLocal++; // AdC
- AliDebug(1,Form(" %2d %1d %2d %1d %2d %f %f %f %f %5d %5d %5d %5d",
+ AliDebug(1,Form(" %2d %1d %2d %1d %2d %d %d %d %d %5d %5d %5d %5d",
vol[0], vol[1], vol[2] ,vol[4], vol[3],
digitInteresting->GetTdc(), digitInteresting->GetAdc(),
digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
if (digitInteresting->GetToT()<=0) continue; // AdC
digitIndexLocal++; // AdC
- AliDebug(1,Form(" %2d %1d %2d %1d %2d %f %f %f %f %5d %5d %5d %5d",
+ AliDebug(1,Form(" %2d %1d %2d %1d %2d %d %d %d %d %5d %5d %5d %5d",
vol[0], vol[1], vol[2] ,vol[4], vol[3],
digitInteresting->GetTdc(), digitInteresting->GetAdc(),
digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
if (digitInteresting->GetToT()<=0) continue; // AdC
digitIndexLocal++; // AdC
- AliDebug(1,Form(" %2d %1d %2d %1d %2d %f %f %f %f %5d %5d %5d %5d",
+ AliDebug(1,Form(" %2d %1d %2d %1d %2d %d %d %d %d %5d %5d %5d %5d",
vol[0], vol[1], vol[2] ,vol[4], vol[3],
digitInteresting->GetTdc(), digitInteresting->GetAdc(),
digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
if (digitInteresting->GetToT()<=0) continue; // AdC
digitIndexLocal++; // AdC
- AliDebug(1,Form(" %2d %1d %2d %1d %2d %f %f %f %f %5d %5d %5d %5d",
+ AliDebug(1,Form(" %2d %1d %2d %1d %2d %d %d %d %d %5d %5d %5d %5d",
vol[0], vol[1], vol[2] ,vol[4], vol[3],
digitInteresting->GetTdc(), digitInteresting->GetAdc(),
digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
if (digitInteresting->GetToT()<=0) continue; // AdC
digitIndexLocal++; // AdC
- AliDebug(1,Form(" %2d %1d %2d %1d %2d %f %f %f %f %5d %5d %5d %5d",
+ AliDebug(1,Form(" %2d %1d %2d %1d %2d %d %d %d %d %5d %5d %5d %5d",
vol[0], vol[1], vol[2] ,vol[4], vol[3],
digitInteresting->GetTdc(), digitInteresting->GetAdc(),
digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
if (digitInteresting->GetToT()<=0) continue; // AdC
digitIndexLocal++; // AdC
- AliDebug(1,Form(" %2d %1d %2d %1d %2d %f %f %f %f %5d %5d %5d %5d",
+ AliDebug(1,Form(" %2d %1d %2d %1d %2d %d %d %d %d %5d %5d %5d %5d",
vol[0], vol[1], vol[2] ,vol[4], vol[3],
digitInteresting->GetTdc(), digitInteresting->GetAdc(),
digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
continue;
}
- AliDebug(1, Form(" %1d %1d (0x%x) %1d %1d (0x%x)", adesso1, firstIndex,selectedDigit[adesso1][firstIndex],
+ AliDebug(1, Form(" %1d %1d (0x%p) %1d %1d (0x%p)", adesso1, firstIndex,selectedDigit[adesso1][firstIndex],
adesso2, secondIndex,selectedDigit[adesso2][secondIndex]));
interestingTOF[0] = selectedDigit[adesso1][firstIndex]->GetTDC();
AliInfo("dumping TOF FEE config");
AliInfo("-------------------------------------");
AliInfo(Form("version: %d", feeConfig->GetVersion()));
- AliInfo(Form("dump time: %d", feeConfig->GetDumpTime()));
+ AliInfo(Form("dump time: %d", (Int_t)feeConfig->GetDumpTime()));
AliInfo(Form("run number: %d", feeConfig->GetRunNumber()));
AliInfo(Form("run type: %d", feeConfig->GetRunType()));
AliInfo("-------------------------------------");
integralThr = tmpstr.Atof();
}
else {
- Log(Form("No IntegralThr value found in Map from Config entry in CDB, using default value: IntegralThr = %i",integralThr));
+ Log(Form("No IntegralThr value found in Map from Config entry in CDB, using default value: IntegralThr = %f",integralThr));
}
TObjString *strThrPar = (TObjString*)configMap->GetValue("ThrPar");
if (strThrPar) {
thrPar = tmpstr.Atof();
}
else {
- Log(Form("No ThrPar value found in Map from Config entry in CDB, using default value: ThrPar = %i",thrPar));
+ Log(Form("No ThrPar value found in Map from Config entry in CDB, using default value: ThrPar = %f",thrPar));
}
}
}
Float_t noiseThr = 1000.; // setting default threshold for noise to 1000 Hz
// reading config map
AliCDBEntry *cdbEntry = GetFromOCDB("Calib","ConfigNoise");
- if (!cdbEntry) Log(Form("No Configuration entry found in CDB, using default values: NoiseThr = %d",noiseThr));
+ if (!cdbEntry) Log(Form("No Configuration entry found in CDB, using default values: NoiseThr = %f",noiseThr));
else {
TMap *configMap = (TMap*)cdbEntry->GetObject();
- if (!configMap) Log(Form("No map found in Config entry in CDB, using default values: NoiseThr = %d", noiseThr));
+ if (!configMap) Log(Form("No map found in Config entry in CDB, using default values: NoiseThr = %f", noiseThr));
else {
TObjString *strNoiseThr = (TObjString*)configMap->GetValue("NoiseThr");
if (strNoiseThr) {
TString tmpstr = strNoiseThr->GetString();
noiseThr = tmpstr.Atoi();
}
- else Log(Form("No NoiseThr value found in Map from ConfigNoise entry in CDB, using default value: NoiseThr = %i",noiseThr));
+ else Log(Form("No NoiseThr value found in Map from ConfigNoise entry in CDB, using default value: NoiseThr = %f",noiseThr));
}
}
// reading config map
AliCDBEntry *cdbEntry = GetFromOCDB("Calib","ConfigNoise");
if (!cdbEntry) {
- Log(Form("No Configuration entry found in CDB, using default values: NoiseThr = %d",noiseThr));
+ Log(Form("No Configuration entry found in CDB, using default values: NoiseThr = %f",noiseThr));
}
else {
TMap *configMap = (TMap*)cdbEntry->GetObject();
if (!configMap){
- Log(Form("No map found in Config entry in CDB, using default values: NoiseThr = %d", noiseThr));
+ Log(Form("No map found in Config entry in CDB, using default values: NoiseThr = %f", noiseThr));
}
else{
TObjString *strNoiseThr = (TObjString*)configMap->GetValue("NoiseThr");
noiseThr = tmpstr.Atoi();
}
else {
- Log(Form("No NoiseThr value found in Map from ConfigNoise entry in CDB, using default value: NoiseThr = %i",noiseThr));
+ Log(Form("No NoiseThr value found in Map from ConfigNoise entry in CDB, using default value: NoiseThr = %f",noiseThr));
}
}
}
AliInfo(Form(" Number of events: %i ", (fEvent2-fEvent1)));
AliInfo(Form(" from event %i to event %i", fEvent1, (fEvent2-1)));
- AliInfo(Form(" Time Resolution (ns) %d Pad Efficiency: %d ", fTimeResolution, fpadefficiency));
+ AliInfo(Form(" Time Resolution (ns) %f Pad Efficiency: %f ", fTimeResolution, fpadefficiency));
AliInfo(Form(" Edge Effect option: %d", fEdgeEffect));
AliInfo(" Boundary Effect Simulation Parameters ");
- AliInfo(Form(" Hparameter: %d H2parameter: %d Kparameter: %d K2parameter: %d", fHparameter, fH2parameter, fKparameter, fK2parameter));
- AliInfo(Form(" Efficiency in the central region of the pad: %d", fEffCenter));
- AliInfo(Form(" Efficiency at the boundary region of the pad: %d", fEffBoundary));
- AliInfo(Form(" Efficiency value at H2parameter %d", fEff2Boundary));
- AliInfo(Form(" Efficiency value at K2parameter %d", fEff3Boundary));
- AliInfo(Form(" Resolution (ps) in the central region of the pad: %d", fResCenter));
- AliInfo(Form(" Resolution (ps) at the boundary of the pad : %d", fResBoundary));
- AliInfo(Form(" Slope (ps/K) for neighbouring pad : %d", fResSlope));
- AliInfo(Form(" Time walk (ps) in the central region of the pad : %d", fTimeWalkCenter));
- AliInfo(Form(" Time walk (ps) at the boundary of the pad : %d", fTimeWalkBoundary));
- AliInfo(Form(" Slope (ps/K) for neighbouring pad : %d", fTimeWalkSlope));
+ AliInfo(Form(" Hparameter: %f H2parameter: %f Kparameter: %f K2parameter: %f", fHparameter, fH2parameter, fKparameter, fK2parameter));
+ AliInfo(Form(" Efficiency in the central region of the pad: %f", fEffCenter));
+ AliInfo(Form(" Efficiency at the boundary region of the pad: %f", fEffBoundary));
+ AliInfo(Form(" Efficiency value at H2parameter %f", fEff2Boundary));
+ AliInfo(Form(" Efficiency value at K2parameter %f", fEff3Boundary));
+ AliInfo(Form(" Resolution (ps) in the central region of the pad: %f", fResCenter));
+ AliInfo(Form(" Resolution (ps) at the boundary of the pad : %f", fResBoundary));
+ AliInfo(Form(" Slope (ps/K) for neighbouring pad : %f", fResSlope));
+ AliInfo(Form(" Time walk (ps) in the central region of the pad : %f", fTimeWalkCenter));
+ AliInfo(Form(" Time walk (ps) at the boundary of the pad : %f", fTimeWalkBoundary));
+ AliInfo(Form(" Slope (ps/K) for neighbouring pad : %f", fTimeWalkSlope));
AliInfo(" Pulse Heigth Simulation Parameters ");
AliInfo(Form(" Flag for delay due to the PulseHeightEffect : %d", fTimeDelayFlag));
- AliInfo(Form(" Pulse Height Slope : %d", fPulseHeightSlope));
- AliInfo(Form(" Time Delay Slope : %d", fTimeDelaySlope));
- AliInfo(Form(" Minimum charge amount which could be induced : %d", fMinimumCharge));
- AliInfo(Form(" Smearing in charge in (q1/q2) vs x plot : %d", fChargeSmearing));
- AliInfo(Form(" Smearing in log of charge ratio : %d", fLogChargeSmearing));
- AliInfo(Form(" Smearing in time in time vs log(q1/q2) plot : %d", fTimeSmearing));
+ AliInfo(Form(" Pulse Height Slope : %f", fPulseHeightSlope));
+ AliInfo(Form(" Time Delay Slope : %f", fTimeDelaySlope));
+ AliInfo(Form(" Minimum charge amount which could be induced : %f", fMinimumCharge));
+ AliInfo(Form(" Smearing in charge in (q1/q2) vs x plot : %f", fChargeSmearing));
+ AliInfo(Form(" Smearing in log of charge ratio : %f", fLogChargeSmearing));
+ AliInfo(Form(" Smearing in time in time vs log(q1/q2) plot : %f", fTimeSmearing));
AliInfo(Form(" Flag for average time : %d", fAverageTimeFlag));
AliInfo(Form(" Edge tails option : %d", fEdgeTails));
}
if(strstr(option,"all")){
- AliInfo(Form("Selecting primary tracks with momentum between %d GeV/c and %d GeV/c", fLowerMomBound, fUpperMomBound));
+ AliInfo(Form("Selecting primary tracks with momentum between %f GeV/c and %f GeV/c", fLowerMomBound, fUpperMomBound));
AliInfo("Memorandum: 0 means PION | 1 means KAON | 2 means PROTON")
}
if(strstr(option,"all")){
AliInfo(Form("True Assignment %d %d %d %d %d %d %d %d %d %d", truparticle[0], truparticle[1], truparticle[2], truparticle[3], truparticle[4], truparticle[5], truparticle[6], truparticle[7], truparticle[8], truparticle[9]));
AliInfo(Form("Best Assignment %d %d %d %d %d %d %d %d %d %d", assparticle[0], assparticle[1], assparticle[2], assparticle[3], assparticle[4], assparticle[5], assparticle[6], assparticle[7], assparticle[8], assparticle[9]));
- AliInfo(Form("Minimum ChiSquare for current set %d ", chisquare));
- AliInfo(Form("Confidence Level (Minimum ChiSquare) %d", confLevel));
+ AliInfo(Form("Minimum ChiSquare for current set %f ", chisquare));
+ AliInfo(Form("Confidence Level (Minimum ChiSquare) %f", confLevel));
}
if (strstr(option,"visual") && itimes && (itimes%kUPDATE) == 0) {
if (itimes == kUPDATE){
nmisidentified=(nmisidentified0+nmisidentified1+nmisidentified2+nmisidentified3+nmisidentified4+nmisidentified5+nmisidentified6+nmisidentified7+nmisidentified8+nmisidentified9);
AliInfo(Form("total number of tracks token into account %i", 10*5*fNevents));
Float_t badPercentage=100.*(Float_t)nmisidentified/(10*5*fNevents);
- AliInfo(Form("total misidentified %i (%d %) ", nmisidentified, badPercentage));
+ AliInfo(Form("total misidentified %i (%d %%) ", nmisidentified, badPercentage));
AliInfo(Form("Total Number of set token into account %i", 5*fNevents));
Float_t goodSetPercentage=100.*(Float_t)ngood/(5*fNevents);
- AliInfo(Form("Number of set with no misidentified tracks %i (%d %)", ngood, goodSetPercentage));
+ AliInfo(Form("Number of set with no misidentified tracks %i (%d %%)", ngood, goodSetPercentage));
}
// free used memory for canvas
ntracksTotal+=nentries/3;
}
if (ntracksTotal < MEANENTRIES) {
- AliInfo(Form(" Too small mean number of entires in channel %i (number of tracks = %f), not calibrating channel and continuing.....",i,ntracksTotal));
+ AliInfo(Form(" Too small mean number of entires in channel %i (number of tracks = %d), not calibrating channel and continuing.....",i,ntracksTotal));
continue;
}
}
if (ntracksTotal < MEANENTRIES) {
- AliInfo(Form(" Too small mean number of entires per channel (mean number = %f) not calibrating and exiting.....",ntracksTotal));
+ AliInfo(Form(" Too small mean number of entires per channel (mean number = %d) not calibrating and exiting.....",ntracksTotal));
return 2;
}
ntracksTotal+=nentries/3;
}
if (ntracksTotal < MEANENTRIES) {
- AliInfo(Form(" Too small mean number of entires in channel %i (number of tracks = %f), not calibrating channel and continuing.....",ii,ntracksTotal));
+ AliInfo(Form(" Too small mean number of entires in channel %i (number of tracks = %d), not calibrating channel and continuing.....",ii,ntracksTotal));
continue;
}
Float_t meantime=0;
// to evaluate the time-of-flight and time-over-threshold measurements
//
- AliDebug(2,Form(" %10.0f %10.0f %10.0f %1i %1i %1i",tof, tot, leading, psBit, acq, errorFlag));
+ AliDebug(2,Form(" %d %d %d %d %d %d",tof, tot, leading, psBit, acq, errorFlag));
if (fLeading!=-1 /*&& fTime==-1*/ && fToT==-1 && trailing!=-1) { // adc
covB[13],covA[13],
covB[14],covA[14]
));
- AliDebug(3,Form(" %6d %f %f %f %f % %6d %3d %f %f %f %f %f %f",
+ AliDebug(3,Form(" %6d %f %f %f %f %f %6d %3d %f %f %f %f %f %f",
i,
t->GetTOFsignalRaw(),
t->GetTOFsignal(),
//
AliDebug(1, "************************* TOF geometry **************************");
- AliDebug(1,Form(" xtof %d", xtof));
- AliDebug(1,Form(" ytof %d", ytof));
- AliDebug(1,Form(" zlenA %d", zlenA));
- AliDebug(2,Form(" zlenA*0.5 = %d", zlenA*0.5));
+ AliDebug(1,Form(" xtof %f", xtof));
+ AliDebug(1,Form(" ytof %f", ytof));
+ AliDebug(1,Form(" zlenA %f", zlenA));
+ AliDebug(2,Form(" zlenA*0.5 = %f", zlenA*0.5));
Float_t xFLT, yFLT, zFLTA;
xFLT = xtof - 2.*fgkModuleWallThickness;