diff --git a/Trigger/TrigSteer/DecisionHandling/src/InputMakerForRoI.cxx b/Trigger/TrigSteer/DecisionHandling/src/InputMakerForRoI.cxx index de90bd14a5b322a639071f5bd893ea6d1e211919..eb2eb57885554b10ad439398a6de2f8d209e2dbb 100644 --- a/Trigger/TrigSteer/DecisionHandling/src/InputMakerForRoI.cxx +++ b/Trigger/TrigSteer/DecisionHandling/src/InputMakerForRoI.cxx @@ -57,13 +57,6 @@ StatusCode InputMakerForRoI::execute( const EventContext& context ) const { std::vector <ElementLink<TrigRoiDescriptorCollection> > RoIsFromDecision; // used to check for duplicate RoIs - if (m_mergeIntoSuperRoI) { - TrigRoiDescriptor* superRoI = new TrigRoiDescriptor(); - superRoI->setComposite(true); - superRoI->manageConstituents(false); - outputRoIColl->push_back(superRoI); - } - // loop over output decisions in container of outputHandle, collect RoIs to process for (const Decision* outputDecision : *outputHandle) { @@ -78,15 +71,10 @@ StatusCode InputMakerForRoI::execute( const EventContext& context ) const { if ( find(RoIsFromDecision.begin(), RoIsFromDecision.end(), roiEL) == RoIsFromDecision.end() ) { RoIsFromDecision.push_back(roiEL); // just to keep track of which we have used const TrigRoiDescriptor* roi = *roiEL; - ATH_MSG_DEBUG("Found RoI:" <<*roi<<" FS="<<roi->isFullscan()); - - if (m_mergeIntoSuperRoI) { // Append to the single superRoI - outputRoIColl->back()->push_back( roi ); - } else { // Add individually - TrigRoiDescriptor* newroi = new TrigRoiDescriptor(*roi); //use copy constructor - outputRoIColl->push_back(newroi); - ATH_MSG_DEBUG("Added RoI:" <<*newroi<<" FS="<<newroi->isFullscan()); - } + ATH_MSG_DEBUG("Adding RoI to be processed:" <<*roi<<" FS="<<roi->isFullscan()); + + TrigRoiDescriptor* newroi = new TrigRoiDescriptor(*roi); //use copy constructor + outputRoIColl->push_back(newroi); } } // loop over decisions diff --git a/Trigger/TrigSteer/DecisionHandling/src/InputMakerForRoI.h b/Trigger/TrigSteer/DecisionHandling/src/InputMakerForRoI.h index 3e54665b0f37d16c433bcf82a0cc8d7d6406cf2f..8312eecc1bc41d2dd52c8eb859a7dd84df903686 100644 --- a/Trigger/TrigSteer/DecisionHandling/src/InputMakerForRoI.h +++ b/Trigger/TrigSteer/DecisionHandling/src/InputMakerForRoI.h @@ -36,9 +36,6 @@ ToolHandle<IViewCreatorROITool> m_roiTool{this, "RoITool", "", "Tool used to supply per-Decision Object the RoI which should be processed. If left empty and no RoIs will be attached."}; - Gaudi::Property<bool> m_mergeIntoSuperRoI{this, "MergeIntoSuperRoI", false, - "If true, the output RoIs collection will contain only one ROI, this will be a SuperRoI encompassing all individual ROIs - one from each of the input Decision Objects."}; - };