}
int AliHLTOUT::SelectFirstDataBlock(AliHLTComponentDataType dt, AliHLTUInt32_t spec,
- AliHLTModuleAgent::AliHLTOUTHandlerType handlerType)
+ AliHLTModuleAgent::AliHLTOUTHandlerType /*handlerType*/)
{
// see header file for class documentation
if (CheckStatusFlag(kLocked)) return -EPERM;
{
// see header file for class documentation
return new AliHLTTPCCompDumpComponent;
- };
+ }
void AliHLTTPCCompDumpComponent::InitBitDataInput( AliHLTUInt8_t* input, UInt_t inputSize )
{
fBitDataCurrentInput = fBitDataCurrentInputStart = input;
fBitDataCurrentInputEnd = input+inputSize;
fBitDataCurrentWord = *fBitDataCurrentInput;
- };
+ }
bool AliHLTTPCCompDumpComponent::InputBit( AliHLTUInt8_t & value )
{
}
}
return true;
- };
+ }
bool AliHLTTPCCompDumpComponent::InputBits( AliHLTUInt8_t & value, UInt_t const & bitCount )
{
return false;
value = (AliHLTUInt8_t)( temp & (AliHLTUInt64_t)0xFFFFFFFFULL );
return true;
- };
+ }
bool AliHLTTPCCompDumpComponent::InputBits( AliHLTUInt16_t & value, UInt_t const & bitCount )
{
return false;
value = (AliHLTUInt16_t)( temp & (AliHLTUInt64_t)0xFFFFFFFFULL );
return true;
- };
+ }
+
+bool AliHLTTPCCompDumpComponent::InputBits( AliHLTUInt32_t & value, UInt_t const & bitCount )
+ {
+ // see header file for class documentation
+ if ( bitCount>32 )
+ {
+ HLTFatal( "Internal error: Attempt to write more than 32 bits (%u)", (unsigned)bitCount );
+ return false;
+ }
+ AliHLTUInt64_t temp;
+ if ( !InputBits( temp, bitCount ) )
+ return false;
+ value = (AliHLTUInt32_t)( temp & (AliHLTUInt64_t)0xFFFFFFFFULL );
+ return true;
+ }
bool AliHLTTPCCompDumpComponent::InputBits( Int_t & value, UInt_t const & bitCount )
{
return false;
value = (Int_t)( temp & (AliHLTUInt64_t)0xFFFFFFFFULL );
return true;
- };
+ }
bool AliHLTTPCCompDumpComponent::InputBits( AliHLTUInt64_t & value, UInt_t const & bitCount )
{
bitsToRead -= curBitCount;
}
return true;
- };
+ }
void AliHLTTPCCompDumpComponent::Pad8Bits()
{
fBitDataCurrentWord = *fBitDataCurrentInput;
fBitDataCurrentPosInWord = 7;
}
- };
+ }
bool AliHLTTPCCompDumpComponent::InputBytes( AliHLTUInt8_t* data, UInt_t const & byteCount )
{
fBitDataCurrentPosInWord = 7;
}
return true;
- };
+ }
int AliHLTTPCCompDumpComponent::DoInit( int argc, const char** argv )
{
Bool_t GetfTrackAnalysis() {return fTrackAnalysis;};
/** fill track arrays with track data from original and secondary tracking
- * @param firsttracklets pointer to track array to be filled
+ * @param tracklets pointer to track array to be filled
* @param fillingfirsttracks boolean to decide which track array is to be filled (1 for first, 0 for second)
* @return 0 upon success
*/
Bool_t GetTrashTrackPythiaInfo(AliHLTTPCTrack* discardedtrack);
/** compare information of a cluster not assigned to any track with its Pythia information
- * @param discarded cluster pointer to discarded cluster
+ * @param discardedcluster pointer to discarded cluster
* @return 0 upon correct decision (cluster not assigned to any track is true in Pythia, i.e. cluster = noise cluster)
* @return 1 upon wrong decision (cluster wrongly discarded, i.e. it belongs to a valuable track according to Pythia)
*/
AliHLTTPCCompModelConverter::AliHLTTPCCompModelConverter(AliHLTTPCCompModelAnalysis* modelanalysis):
fInputTrackArray(),
fOutputTrackArray("AliHLTTPCModelTrack"),
- fMinHits(0),
- fModelAnalysisInstance(modelanalysis)
+ fModelAnalysisInstance(modelanalysis),
+ fMinHits(0)
{
// see header file for class documentation
for ( UInt_t slice=0; slice<36; slice++ )
ClassImp(AliHLTTPCCompModelDeconverterComponent)
AliHLTTPCCompModelDeconverterComponent::AliHLTTPCCompModelDeconverterComponent():
- fOutputTracks(kTRUE)
+ fDeconverter(),
+ fOutputTracks(kTRUE)
{
// see header file for class documentation
}
ClassImp(AliHLTTPCCompModelDeflaterComponent);
AliHLTTPCCompModelDeflaterComponent::AliHLTTPCCompModelDeflaterComponent():
- fForwardIfUncompressed(true),
fModelDeflater(),
- fConverter()
+ fConverter(),
+ fForwardIfUncompressed(true)
{
// see header file for class documentation
}
// }
// findout maximal and minimal codelength and print them out
- Int_t maxcodelength = fTranslationTable[0].fvalidcodelength;
- Int_t mincodelength = TIMEBINS;
+ UInt_t maxcodelength = fTranslationTable[0].fvalidcodelength;
+ UInt_t mincodelength = TIMEBINS;
for (Int_t kk = 0; kk < TIMEBINS; kk++)
{
fHuffmanCompressor(NULL),
fCompressionSwitch(compression),
fTrainingMode(kFALSE),
- fHuffmanData(NULL),
fOrigin(kAliHLTVoidDataOrigin),
fRunNumber(0),
fDataSpec(0),
fTablePath(),
- fNrcuTrailerwords(0)
-
+ fNrcuTrailerwords(0),
+ fHuffmanData(NULL)
{
// see header file for class documentation
// or