+ /////////////////////////////////////////////////////////////////////////////////////
+ // D0 trigger
+ configurationId = "TRIGGER-D0";
+ if(runloader && !rawReader){
+ // simulation without simulated raw data
+ // use ESD as input
+ triggerInputs="GLOBAL-esd-converter ";
+ }
+ else{
+ // simulation with simulated raw data, or raw data reconstruction
+ // use input from ITS tracker and vertexer directly
+ triggerInputs="ITS-tracker GLOBAL-vertexer";
+ }
+
+ // check for the availibility of inputs
+ pTokens=triggerInputs.Tokenize(" ");
+ triggerInputs="";
+ if (pTokens) {
+ for (int n=0; n<pTokens->GetEntriesFast(); n++) {
+ TString module=((TObjString*)pTokens->At(n))->GetString();
+ if (pHandler->FindConfiguration(module.Data())) {
+ triggerInputs+=module;
+ triggerInputs+=" ";
+ }
+ }
+ delete pTokens;
+ }
+
+ TString argD0 = "";
+ if (triggerInputs.Length()>0) {
+ HLTInfo("Configuring inputs for %s: %s", configurationId.Data(), triggerInputs.Data());
+ pHandler->CreateConfiguration(configurationId.Data(), "D0Trigger", triggerInputs.Data(), argD0.Data());
+ // FIXME: due to a rare segfault for reconstruction of PbPb data the
+ // component is temporarily excluded
+ // https://savannah.cern.ch/bugs/?72590
+ //if (triggerOutputs.Length()>0) triggerOutputs+=" ";
+ //triggerOutputs+=configurationId;
+ } else {
+ HLTWarning("No inputs for %s found, skipping component", configurationId.Data());
+ }
+