HLTError("Expected a positive number after -firstevent.");
return -EINVAL;
}
- char* end = "";
+ char* end = NULL;
long num = strtol(argv[i], &end, 0);
- if (*end != '\0' or num < 0) // Check if the conversion is OK.
+ if ((end != NULL and *end != '\0') or num < 0) // Check if the conversion is OK.
{
HLTError("Expected a positive number after -firstevent"
" but got: %s", argv[i]
HLTWarning("Received a data block of a type we cannot handle: '%s', spec: 0x%X",
DataType2Text(block->fDataType).c_str(), block->fSpecification
);
+#ifdef __DEBUG
else
HLTDebug("Received a data block of a type we cannot handle: '%s', spec: 0x%X",
DataType2Text(block->fDataType).c_str(), block->fSpecification
);
+#endif
}
}
}
HLTError("Expected a positive number after -firstevent.");
return -EINVAL;
}
- char* end = "";
+ char* end = NULL;
long num = strtol(argv[i], &end, 0);
- if (*end != '\0' or num < 0) // Check if the conversion is OK.
+ if ((end != NULL and *end != '\0') or num < 0) // Check if the conversion is OK.
{
HLTError(
"Expected a positive number after -firstevent"
HLTWarning("Received a data block of a type we cannot handle: '%s', spec: 0x%X",
DataType2Text(block->fDataType).c_str(), block->fSpecification
);
+#ifdef __DEBUG
else
HLTDebug("Received a data block of a type we cannot handle: '%s', spec: 0x%X",
DataType2Text(block->fDataType).c_str(), block->fSpecification
);
+#endif
}
}
}
HLTError("Expected a positive number after -firstevent.");
return -EINVAL;
}
- char* end = "";
+ char* end = NULL;
long num = strtol(argv[i], &end, 0);
- if (*end != '\0' or num < 0) // Check if the conversion is OK.
+ if ((end != NULL and *end != '\0') or num < 0) // Check if the conversion is OK.
{
HLTError(Form(
"Expected a positive number after -firstevent"
if (not DelaySetup())
{
- int result = ReadConfigFromCDB();
+ result = ReadConfigFromCDB();
if (result != 0)
{
// Error messages already generated in ReadConfigFromCDB.
AliHLTMUONRecHitsBlockWriter outBlock(buffer, bufferSize);
outBlock.InitCommonHeader();
AliHLTUInt32_t i = 0;
- TIter next(clusterStore->CreateIterator());
+ TIter next2(clusterStore->CreateIterator());
AliMUONVCluster* cluster = NULL;
- while ( (cluster = static_cast<AliMUONVCluster*>(next())) != NULL )
+ while ( (cluster = static_cast<AliMUONVCluster*>(next2())) != NULL )
{
AliHLTMUONRecHitStruct& hit = outBlock[i++];
hit.fFlags = AliHLTMUONUtils::PackRecHitFlags(
if (not fLowPtCutSet or not fHighPtCutSet or not fLowMassCutSet or not fHighMassCutSet)
{
HLTInfo("Loading cut parameters from CDB.");
- int result = ReadConfigFromCDB(
+ result = ReadConfigFromCDB(
not fLowPtCutSet, not fHighPtCutSet,
not fLowMassCutSet, not fHighMassCutSet
);
HLTWarning("Received a data block of a type we cannot handle: '%s', spec: 0x%X",
DataType2Text(blocks[n].fDataType).c_str(), blocks[n].fSpecification
);
+#ifdef __DEBUG
else
HLTDebug("Received a data block of a type we cannot handle: '%s', spec: 0x%X",
DataType2Text(blocks[n].fDataType).c_str(), blocks[n].fSpecification
);
+#endif
}
}
HLTInfo("Loading lookup table information from CDB for DDL %d (ID = %d).",
fDDL+1, AliHLTMUONUtils::DDLNumberToEquipId(fDDL)
);
- int result = ReadLutFromCDB();
+ result = ReadLutFromCDB();
if (result != 0)
{
// Error messages already generated in ReadLutFromCDB.
else
{
HLTInfo("Loading lookup table information from file %s.", lutFileName);
- int result = ReadLookUpTable(lutFileName);
+ result = ReadLookUpTable(lutFileName);
if (result != 0)
{
// Error messages already generated in ReadLookUpTable.
HLTInfo("Loading DC cut parameters from CDB for DDL %d (ID = %d).",
fDDL+1, AliHLTMUONUtils::DDLNumberToEquipId(fDDL)
);
- int result = ReadDCCutFromCDB();
+ result = ReadDCCutFromCDB();
if (result != 0)
{
// Error messages already generated in ReadDCCutFromCDB.
HLTWarning("Received a data block of a type we cannot handle: '%s', spec: 0x%X",
DataType2Text(blocks[n].fDataType).c_str(), blocks[n].fSpecification
);
+#ifdef __DEBUG
else
HLTDebug("Received a data block of a type we cannot handle: '%s', spec: 0x%X",
DataType2Text(blocks[n].fDataType).c_str(), blocks[n].fSpecification
);
+#endif
continue;
}
else
t = 0;
AliHLTMUONRecHitStruct p;
+ p.fFlags = 0;
p.fX = fMx*t + fCx;
p.fY = fMy*t + fCy;
p.fZ = z;
/// @file AliHLTMUONMansoTrackerFSMComponent.cxx
/// @author Artur Szostak <artursz@iafrica.com>,
/// Indranil Das <indra.das@saha.ac.in>
-/// @date
+/// @date 18 Sep 2007
/// @brief Implementation of AliHLTMUONMansoTrackerFSMComponent class.
///
{
HLTInfo("Loading configuration parameters from CDB.");
- int result = ReadConfigFromCDB();
+ result = ReadConfigFromCDB();
if (result != 0)
{
// Error messages already generated in ReadConfigFromCDB.
HLTWarning("Received a data block of a type we cannot handle: '%s', spec: 0x%X",
DataType2Text(blocks[n].fDataType).c_str(), blocks[n].fSpecification
);
+#ifdef __DEBUG
else
HLTDebug("Received a data block of a type we cannot handle: '%s', spec: 0x%X",
DataType2Text(blocks[n].fDataType).c_str(), blocks[n].fSpecification
);
+#endif
}
}
/// @file AliHLTMUONMansoTrackerFSMComponent.h
/// @author Artur Szostak <artursz@iafrica.com>,
/// Indranil Das <indra.das@saha.ac.in>
-/// @date
+/// @date 18 Sep 2007
/// @brief Tracker component for the dimuon HLT using the Manso algorithm
/// implemented as a finite state machine.
///
HLTInfo("Loading lookup table information from CDB for DDL %d (ID = %d).",
fDDL+1, AliHLTMUONUtils::DDLNumberToEquipId(fDDL)
);
- int result = ReadLutFromCDB();
+ result = ReadLutFromCDB();
if (result != 0)
{
// Error messages already generated in ReadLutFromCDB.
else
{
HLTInfo("Loading lookup table information from file %s.", lutFileName);
- int result = ReadLookUpTable(lutFileName);
+ result = ReadLookUpTable(lutFileName);
if (result != 0)
{
// Error messages already generated in ReadLookUpTable.
fDDL+1, AliHLTMUONUtils::DDLNumberToEquipId(fDDL)
);
- int result = ReadConfigFromCDB(not fZmiddleSpecified, not fBLSpecified);
+ result = ReadConfigFromCDB(not fZmiddleSpecified, not fBLSpecified);
if (result != 0)
{
// Error messages already generated in ReadConfigFromCDB.
HLTWarning("Received a data block of a type we cannot handle: '%s', spec: 0x%X",
DataType2Text(blocks[n].fDataType).c_str(), blocks[n].fSpecification
);
+#ifdef __DEBUG
else
HLTDebug("Received a data block of a type we cannot handle: '%s', spec: 0x%X",
DataType2Text(blocks[n].fDataType).c_str(), blocks[n].fSpecification
);
+#endif
continue;
}
DataType2Text(blocks[n].fDataType).c_str(),
blocks[n].fSpecification
);
+#ifdef __DEBUG
else
HLTDebug("Received a data block of a type we cannot"
" handle: '%s', spec: 0x%8.8X",
DataType2Text(blocks[n].fDataType).c_str(),
blocks[n].fSpecification
);
+#endif
}
}