#include "AliHLTCOMPHuffmanAltro.h"
#include "AliHLTCompDefinitions.h"
#include "AliHLTStdIncludes.h"
+#include "AliHLTReadoutList.h"
#include "TFile.h" // necessary for HuffmanData writing
ClassImp(AliHLTCOMPHuffmanAltroCalibComponent)
AliHLTCOMPHuffmanAltroCalibComponent::AliHLTCOMPHuffmanAltroCalibComponent()
:
fHuffmanCompressor(NULL),
- fOrigin(kAliHLTVoidDataOrigin),
fHuffmanData(NULL),
+ fOrigin(kAliHLTVoidDataOrigin),
fRunNumber(0),
fSpecification(0),
fTablePath(),
}
/** function to do the calibration */
-Int_t AliHLTCOMPHuffmanAltroCalibComponent::ProcessCalibration( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData ) {
+Int_t AliHLTCOMPHuffmanAltroCalibComponent::ProcessCalibration( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& /*trigData*/ ) {
// see header file for class documentation
+ if (evtData.fEventID==0) {
+ // this is only to avoid missing parameter warning when compiling for non
+ // debug. The parameter is used in the HLTDebug message only.
+ }
+
const AliHLTComponentBlockData* iter = NULL;
//AliHLTUInt8_t slice, patch;
} // Int_t AliHLTCOMPHuffmanAltroCalibComponent::ProcessCalibration( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData ) {
-Int_t AliHLTCOMPHuffmanAltroCalibComponent::ShipDataToFXS( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData ) {
+Int_t AliHLTCOMPHuffmanAltroCalibComponent::ShipDataToFXS( const AliHLTComponentEventData& /*evtData*/, AliHLTComponentTriggerData& /*trigData*/ ) {
// see header file for class documentation
// create code from training table
if(fTablePath.IsNull() )
{
// if there is no explicit table path, take current path
- rootfilename.Form("huffmanData_%s_%08X_%08X.root", fOrigin.Data(), fRunNumber, fSpecification);
+ rootfilename.Form("huffmanData_%s_%08X_%08X.root", fOrigin.Data(), (unsigned)fRunNumber, (unsigned)fSpecification);
}
else
{
- rootfilename.Form("%shuffmanData_%s_%08X_%08X.root", fTablePath.Data(), fOrigin.Data(), fRunNumber, fSpecification);
+ rootfilename.Form("%shuffmanData_%s_%08X_%08X.root", fTablePath.Data(), fOrigin.Data(), (unsigned)fRunNumber, (unsigned)fSpecification);
}
TFile* huffmanrootfile = new TFile(rootfilename, "RECREATE");
Int_t dataspec = (Int_t) fSpecification;
fHuffmanData->SetOCDBSpecifications(fOrigin, dataspec);
- PushToFXS( (TObject*) fHuffmanData, "TPC", "HuffmanData" ) ;
+ static AliHLTReadoutList rdList(AliHLTReadoutList::kTPC);
+ PushToFXS( (TObject*) fHuffmanData, "TPC", "HuffmanData", &rdList ) ;
return 0;
} // Int_t AliHLTCOMPHuffmanAltroCalibComponent::ShipDataToFXS( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData ) {