the calibration component has to generate the list explicitely.
only ddls for one detector can be set
// ** if event Type is not SOR or EOR -> fill DDLNumber list and process data
if ( ! blkEOR && !blkSOR ) {
-
+
+#if 0
// ** Set DDLNumber List
if ( trigData.fData != NULL) {
AliHLTEventTriggerData* trg = ( AliHLTEventTriggerData* ) trigData.fData;
} // if ( wordNdx > 0 ) {
} // if ( trg != NULL) {
} // if ( trigData.fData != NULL) {
+#endif
// ** ProcessData
iResult = ProcessCalibration( evtData, blocks, trigData, outputPtr, size, outputBlocks );
* Will be filled automatically if not supplied by the component.
* @return neg. error code if failed
*/
- Int_t PushToFXS(TObject* pObject, const char* pDetector, const char* pFileID, AliHLTEventDDL* pDDLList = NULL);
+ Int_t PushToFXS(TObject* pObject, const char* pDetector, const char* pFileID, AliHLTEventDDL* pDDLList);
/**
* Insert an object into the output. FXS header will be inserted before the root object.
* Will be filled automatically if not supplied by the component.
* @return neg. error code if failed
*/
- Int_t PushToFXS(void* pBuffer, int iSize, const char* pDetector, const char* pFileID, AliHLTEventDDL* pDDLList = NULL);
+ Int_t PushToFXS(void* pBuffer, int iSize, const char* pDetector, const char* pFileID, AliHLTEventDDL* pDDLList);
/** Constants */
static const AliHLTUInt32_t fgkFXSProtocolHeaderSize;
//#include "AliHLTPHOSRcuCellEnergyDataStruct.h"
#include "TObjArray.h"
#include "AliHLTPHOSUtilities.h"
+#include "AliHLTReadoutList.h"
//#include <iostream>
TFile *outFile = new TFile(filename, "recreate");
calibPtr->Write();
outFile->Close();
- PushToFXS( (TObject*)fPHOSDAPtr->GetHistoContainer(), "PHOS", filename);
+ static AliHLTReadoutList rdList(AliHLTReadoutList::kPHOS);
+ PushToFXS( (TObject*)fPHOSDAPtr->GetHistoContainer(), "PHOS", filename, rdList.Buffer());
cout << "Finnished pushing data to HLT FXS" << endl;
return 0;
}
#include "AliHLTTPCCalibTimeComponent.h"
#include "AliHLTTPCDefinitions.h"
+#include "AliHLTReadoutList.h"
#include "AliESDEvent.h"
#include "AliESDtrack.h"
// see header file for class documentation
if(fEnableAnalysis) fCalibTime->Analyze();
- PushToFXS( (TObject*)fCalibTime, "TPC", "Time" ) ;
+ static AliHLTReadoutList rdList(AliHLTReadoutList::kTPC);
+ PushToFXS( (TObject*)fCalibTime, "TPC", "Time", rdList.Buffer() ) ;
return 0;
}
#include "AliHLTTPCCalibTimeGainComponent.h"
#include "AliHLTTPCDefinitions.h"
+#include "AliHLTReadoutList.h"
#include "AliESDEvent.h"
#include "AliESDtrack.h"
// see header file for class documentation
if(fEnableAnalysis) fCalibTimeGain->Analyze();
- PushToFXS( (TObject*) fCalibTimeGain, "TPC", "TimeGain" ) ;
+ static AliHLTReadoutList rdList(AliHLTReadoutList::kTPC);
+ PushToFXS( (TObject*) fCalibTimeGain, "TPC", "TimeGain", rdList.Buffer() ) ;
return 0;
}
#include "AliHLTTPCCalibrationComponent.h"
#include "AliHLTTPCDefinitions.h"
#include "AliHLTTPCAnalysisTaskcalib.h"
+#include "AliHLTReadoutList.h"
#include "AliAnalysisManager.h"
#include "AliESDEvent.h"
// see header file for class documentation
if(fEnableAnalysis) fCalibTask->Analyze();
- PushToFXS( (TObject*) fCalibTask, "TPC", "CALIB" ) ;
+ static AliHLTReadoutList rdList(AliHLTReadoutList::kTPC);
+ PushToFXS( (TObject*) fCalibTask, "TPC", "CALIB", rdList.Buffer() ) ;
return 0;
}
#include "AliTPCcalibTracksCuts.h"
#include "AliTPCClusterParam.h"
#include "AliHLTTPCDefinitions.h"
+#include "AliHLTReadoutList.h"
/** ROOT macro for the implementation of ROOT specific class methods */
ClassImp(AliHLTTPCOfflineCalibrationComponent)
fTPCcalibTracksGain->Analyze();
fTPCcalibTracks->Analyze();
}
- PushToFXS((TObject*)fTPCcalibAlign, "TPC", "TPCcalibAlign") ;
- PushToFXS((TObject*)fTPCcalibTracksGain, "TPC", "TPCcalibTracksGain") ;
- PushToFXS((TObject*)fTPCcalibTracks, "TPC", "TPCcalibTracks") ;
+ static AliHLTReadoutList rdList(AliHLTReadoutList::kTPC);
+ PushToFXS((TObject*)fTPCcalibAlign, "TPC", "TPCcalibAlign", rdList.Buffer()) ;
+ PushToFXS((TObject*)fTPCcalibTracksGain, "TPC", "TPCcalibTracksGain", rdList.Buffer()) ;
+ PushToFXS((TObject*)fTPCcalibTracks, "TPC", "TPCcalibTracks", rdList.Buffer()) ;
return 0;
}
#include "AliHLTCOMPHuffmanAltro.h"
#include "AliHLTCompDefinitions.h"
#include "AliHLTStdIncludes.h"
+#include "AliHLTReadoutList.h"
#include "TFile.h" // necessary for HuffmanData writing
ClassImp(AliHLTCOMPHuffmanAltroCalibComponent)
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.Buffer() ) ;
return 0;
} // Int_t AliHLTCOMPHuffmanAltroCalibComponent::ShipDataToFXS( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData ) {