+ if (argc && (iResult = ConfigureFromArgumentString(argc, argv)) < 0)
+ return iResult;
+
+ if (!fDetector.IsNull()) {
+ int ddloffset=-1;
+ int ddlcount=-1;
+ if ((ddloffset=AliDAQ::DdlIDOffset(fDetector))<0 ||
+ (ddlcount=AliDAQ::NumberOfDdls(fDetector))<0) {
+ return -EINVAL;
+ }
+ if (fMinEquId<0) fMinEquId=ddloffset;
+ else fMinEquId+=ddloffset;
+
+ if (fMaxEquId<0 || fMaxEquId>ddlcount) fMaxEquId=ddloffset+ddlcount;
+ else fMaxEquId+=ddloffset;
+ }
+
+ if (fMinEquId>fMaxEquId) fMaxEquId=fMinEquId;
+
+ if (fMinEquId<0) {
+ AliErrorStream() << "equipment id required, use \'-equipmentid\' or \'-detector\' option" << endl;
+ return -EINVAL;
+ }
+
+ AliHLTUInt32_t dummy;
+ if (fMinEquId!=fMaxEquId && GetSpecificationFromEquipmentId(0, dummy)==-ENOSYS) {
+ AliWarningStream() << "publication of multiple equipment ids needs implementation of a child and function GetSpecificationFromEquipmentId to set correct specifications" << endl;
+ //return -EINVAL;
+ }
+
+ if (GetRawReader()!=NULL) {
+ } else {
+ AliErrorStream() << "RawReader instance needed" << endl;
+ return -EINVAL;
+ }
+
+ return iResult;
+}
+
+int AliHLTRawReaderPublisherComponent::DoDeinit()
+{
+ /// inherited from AliHLTComponent: component cleanup
+ int iResult=0;
+ return iResult;
+}
+
+int AliHLTRawReaderPublisherComponent::ScanConfigurationArgument(int argc, const char** argv)
+{
+ /// inherited from AliHLTComponent: argument scan
+ if (argc<1) return 0;