message: configuration for TRD tracker & trackletreader aded to TRDAgent
diff: @@ -74,19 +74,26 @@ UInt_t AliHLTTRDAgent::GetDetectorMask() const
  return AliDAQ::kTRD;
  }
  -int AliHLTTRDAgent::CreateConfigurations(AliHLTConfigurationHandler* /*handler*/,
  +int AliHLTTRDAgent::CreateConfigurations(AliHLTConfigurationHandler* handler,
  AliRawReader* /*rawReader*/,
  AliRunLoader* /*runloader*/) const
  {
  // see header file for class documentation
  +
  + TString rawInput="";
  +
  for (int module = 0;module < 18;module++)
  {
  TString arg, publisher;
  // raw data publisher components
  publisher.Form("TRD-RP_%02d", module);
  arg.Form("-minid %d -datatype 'DDL_RAW ' 'TRD ' -dataspec %i", 1024 + module, (int) TMath::Power(2, module));
  - AliHLTConfiguration pubConf(publisher.Data(), "AliRawReaderPublisher", NULL , arg.Data());
  + handler->CreateConfiguration(publisher.Data(), "AliRawReaderPublisher", NULL , arg.Data());
  + if( module>0 ) rawInput+=" ";
  + rawInput+=publisher;
  }
  + handler->CreateConfiguration("TRD-tracklet-reader", "TRDTrackletReader", rawInput.Data(),"");
  + handler->CreateConfiguration("TRD-tracker", "TRDTracker", "TRD-tracklet-reader","");
  return 0;
  }
  