diff --git a/Trigger/TrigConfiguration/TrigConfxAOD/Root/prepareTriggerMenu.cxx b/Trigger/TrigConfiguration/TrigConfxAOD/Root/prepareTriggerMenu.cxx index ad75980a9ca3d4401cb2679a2251a3f2a0d28cbe..ae18e089e8fa63bbcf38ddeb111943b9a35e7faf 100644 --- a/Trigger/TrigConfiguration/TrigConfxAOD/Root/prepareTriggerMenu.cxx +++ b/Trigger/TrigConfiguration/TrigConfxAOD/Root/prepareTriggerMenu.cxx @@ -276,7 +276,7 @@ namespace TrigConf { CTPConfig& ctpConfig, HLTChainList& chainList, HLTSequenceList& sequenceList, - BunchGroupSet& /*bgSet unused so far*/, + BunchGroupSet& bgSet, MsgStream& msg ) { // Clear the current LVL1 configuration: @@ -354,9 +354,16 @@ namespace TrigConf { // Do not add sequence info to legacy structures (format is different) // Bunchgroup data is TODO - // // Create a new BunchGroupSet object, since an existing one can't be - // // modified... :-/ - // BunchGroupSet bgSetNew; + // Create a new BunchGroupSet object, since an existing one can't be + // modified... :-/ + BunchGroupSet bgSetNew; + + // Temporary empty structure + for( size_t i = 0; i < 16; ++i ) { + BunchGroup bg; + bg.setInternalNumber( i ); + bgSetNew.addBunchGroup( bg ); + } // // Fill it with info: // for( size_t i = 0; i < loadedBgSet.size(); ++i ) { @@ -373,8 +380,8 @@ namespace TrigConf { // bgSetNew.addBunchGroup( bg ); // } - // // Replace the current bunch-group set with the new one: - // bgSet = bgSetNew; + // Replace the current bunch-group set with the new one: + bgSet = bgSetNew; // Return gracefully: return StatusCode::SUCCESS;