if (bCFSort) arg+=" -sorted ";
if (bPropagateMC) arg+=" -do-mc ";
cf.Form("CF_%02d_%d", slice, part);
- AliHLTConfiguration cfconf(cf.Data(), "TPCClusterFinderUnpacked", publisher.Data(), arg.Data());
+ AliHLTConfiguration cfconf(cf.Data(), "TPCClusterFinderUnpacked", publisher.Data(), "");
if (trackerInput.Length()>0) trackerInput+=" ";
trackerInput+=cf;
if (sinkClusterInput.Length()>0) sinkClusterInput+=" ";
AliHLTConfiguration mergerconf("globalmerger","TPCGlobalMerger",mergerInput.Data(),"");
}
+ TString converterInput="globalmerger";
+
// collector for the MC information to be propagated from CFs to ESDConverter
- AliHLTConfiguration mcinfo("mcinfo", "BlockFilter" , sinkClusterInput.Data(), "-datatype 'CLMCINFO' 'TPC '");
+ if (bPropagateMC){
+ AliHLTConfiguration mcinfo("mcinfo", "BlockFilter" , sinkClusterInput.Data(), "-datatype 'CLMCINFO' 'TPC '");
+ AliHLTConfiguration mcTrackMarker("mcTrackMarker","TPCTrackMCMarker","globalmerger mcinfo","" );
+ converterInput+=" mcTrackMarker";
+ }
if (writerInput.Length()>0) writerInput+=" ";
writerInput+="globalmerger";
- TString converterInput="globalmerger";
- if (bPropagateMC) converterInput+=" mcinfo";
//////////////////////////////////////////////////////////////////////////////////////////
//
sim.SetMakeDigits("");
sim.SetMakeSDigits("");
sim.SetMakeDigitsFromHits("");
- sim.SetMakeTrigger("");
+ //sim.SetMakeTrigger("");
sim.SetRunQA(":");
+
+ // the normal simulation sets the specific storage for the GRP entry
+ if (gSystem->AccessPathName("GRP/GRP/Data")) {
+ cerr << "*********************************************************" << endl;
+ cerr << "error: no GRP entry found in the currect directory, simulation might be incomplete. Skip setting specific storage for GRP entry" << endl;
+ cerr << "*********************************************************" << endl << endl;
+ } else {
+ sim.SetSpecificStorage("GRP/GRP/Data",
+ Form("local://%s",gSystem->pwd()));
+ }
+
TString rawDataSelection="HLT";
if (bRawData) rawDataSelection="ALL";
if (bRawHLTData || bRawData) sim.SetWriteRawData(rawDataSelection, "raw.root", kTRUE);