@@ -162,10 +162,13 @@ int AliHLTTPCAgent::CreateConfigurations(AliHLTConfigurationHandler* handler,
162162
163163 handler->CreateConfiguration (" TPC-DP" , " TPCDataPublisher" , NULL , arg.Data ());
164164
165+ if (bPublishRaw) {
166+ hwcfemuInput = " TPC-DP" ;
167+ }
168+
165169 for (int slice=iMinSlice; slice<=iMaxSlice; slice++) {
166170 for (int part=iMinPart; part<=iMaxPart; part++) {
167171 TString publisher;
168-
169172 // digit publisher components
170173 publisher.Form (" TPC-DP_%02d_%d" , slice, part);
171174 if (bPublishRaw) {
@@ -184,21 +187,20 @@ int AliHLTTPCAgent::CreateConfigurations(AliHLTConfigurationHandler* handler,
184187 } else {
185188 arg.Form (" -slice %d -partition %d" , slice, part);
186189 handler->CreateConfiguration (publisher.Data (), " TPCDigitPublisher" , NULL , arg.Data ());
190+ if (hwcfemuInput.Length ()>0 ) hwcfemuInput+=" " ;
191+ hwcfemuInput+=publisher;
187192 }
188-
189- if (hwcfemuInput.Length ()>0 ) hwcfemuInput+=" " ;
190- hwcfemuInput+=publisher;
191193 }
192194 }
193195
194- // Hardware CF emulator
195- TString hwcfemu;
196- hwcfemu.Form (" TPC-HWCFEmu" );
197- arg=" " ;
198- if (!bPublishRaw) arg+=" -do-mc 1" ;
199- handler->CreateConfiguration (hwcfemu.Data (), " TPCHWClusterFinderEmulator" , hwcfemuInput.Data (), arg.Data ());
200- if (hwclustOutput.Length ()>0 ) hwclustOutput+=" " ;
201- hwclustOutput+=hwcfemu;
196+ // Hardware CF emulator
197+ TString hwcfemu;
198+ hwcfemu.Form (" TPC-HWCFEmu" );
199+ arg=" " ;
200+ if (!bPublishRaw) arg+=" -do-mc 1" ;
201+ handler->CreateConfiguration (hwcfemu.Data (), " TPCHWClusterFinderEmulator" , hwcfemuInput.Data (), arg.Data ());
202+ if (hwclustOutput.Length ()>0 ) hwclustOutput+=" " ;
203+ hwclustOutput+=hwcfemu;
202204
203205 TString hwcfDecoder = " TPC-HWCFDecoder" ;
204206 handler->CreateConfiguration (hwcfDecoder.Data (), " TPCHWClusterDecoder" ,hwclustOutput.Data (), " " );
0 commit comments