39 ConversionMode gRhomode = ConversionMode::Undefined;
40 ConversionMode gSJmode = ConversionMode::Undefined;
41 ConversionMode gLJmode = ConversionMode::Undefined;
45 ATH_CHECK(gRhomode!=ConversionMode::Undefined);
48 ATH_MSG_DEBUG((gRhomode==ConversionMode::Encoding ?
"Encoding" :
"Decoding") <<
" gRho ");
51 ATH_CHECK(gSJmode!=ConversionMode::Undefined);
54 ATH_MSG_DEBUG((gSJmode==ConversionMode::Encoding ?
"Encoding" :
"Decoding") <<
" gSJ ");
57 ATH_CHECK(gLJmode!=ConversionMode::Undefined);
60 ATH_MSG_DEBUG((gLJmode==ConversionMode::Encoding ?
"Encoding" :
"Decoding") <<
" gLJ ");
63 ATH_CHECK(gScalarEJwojmode!=ConversionMode::Undefined);
66 ATH_MSG_DEBUG((gScalarEJwojmode==ConversionMode::Encoding ?
"Encoding" :
"Decoding") <<
" gScalarEJwoj ");
69 ATH_CHECK(gMETComponentsJwojmode!=ConversionMode::Undefined);
72 ATH_MSG_DEBUG((gMETComponentsJwojmode==ConversionMode::Encoding ?
"Encoding" :
"Decoding") <<
" gMETComponentsJwoj ");
75 ATH_CHECK(gMHTComponentsJwojmode!=ConversionMode::Undefined);
78 ATH_MSG_DEBUG((gMHTComponentsJwojmode==ConversionMode::Encoding ?
"Encoding" :
"Decoding") <<
" gMHTComponentsJwoj ");
81 ATH_CHECK(gMSTComponentsJwojmode!=ConversionMode::Undefined);
84 ATH_MSG_DEBUG((gMSTComponentsJwojmode==ConversionMode::Encoding ?
"Encoding" :
"Decoding") <<
" gMSTComponentsJwoj ");
87 ATH_CHECK(gMETComponentsNoiseCutmode!=ConversionMode::Undefined);
90 ATH_MSG_DEBUG((gMETComponentsNoiseCutmode==ConversionMode::Encoding ?
"Encoding" :
"Decoding") <<
" gMETComponentsNoiseCut ");
93 ATH_CHECK(gMETComponentsRmsmode!=ConversionMode::Undefined);
96 ATH_MSG_DEBUG((gMETComponentsRmsmode==ConversionMode::Encoding ?
"Encoding" :
"Decoding") <<
" gMETComponentsRms ");
99 ATH_CHECK(gScalarENoiseCutmode!=ConversionMode::Undefined);
102 ATH_MSG_DEBUG((gScalarENoiseCutmode==ConversionMode::Encoding ?
"Encoding" :
"Decoding") <<
" gScalarENoiseCut ");
105 ATH_CHECK(gScalarERmsmode!=ConversionMode::Undefined);
108 ATH_MSG_DEBUG((gScalarERmsmode==ConversionMode::Encoding ?
"Encoding" :
"Decoding") <<
" gScalarERms ");
111 const std::array<ConversionMode,2> modes{gSJmode,gLJmode};
112 if (std::any_of(modes.begin(),modes.end(),[&gRhomode](ConversionMode m) { return m!=gRhomode; } )) {
114 return StatusCode::FAILURE;
118 ATH_MSG_INFO(
"Standard L1A gFex TOB containers disabled (decoded from HLT result)");
145 ATH_CHECK(gEspressomode!=ConversionMode::Undefined);
148 ATH_MSG_DEBUG((gEspressomode==ConversionMode::Encoding ?
"Encoding" :
"Decoding") <<
" gEspresso ");
151 ATH_CHECK(gRistrettomode!=ConversionMode::Undefined);
154 ATH_MSG_DEBUG((gRistrettomode==ConversionMode::Encoding ?
"Encoding" :
"Decoding") <<
" gRistretto ");
198 return StatusCode::SUCCESS;
265 ATH_CHECK(gRhoContainer.
record(std::make_unique<xAOD::gFexJetRoIContainer>(), std::make_unique<xAOD::gFexJetRoIAuxContainer>()));
266 ATH_MSG_DEBUG(
"Recorded gFexJetRoIContainer with key " << gRhoContainer.
key());
267 ATH_CHECK(gSJContainer.
record(std::make_unique<xAOD::gFexJetRoIContainer>(), std::make_unique<xAOD::gFexJetRoIAuxContainer>()));
268 ATH_MSG_DEBUG(
"Recorded gFexJetRoIContainer with key " << gSJContainer.
key());
269 ATH_CHECK(gLJContainer.
record(std::make_unique<xAOD::gFexJetRoIContainer>(), std::make_unique<xAOD::gFexJetRoIAuxContainer>()));
270 ATH_MSG_DEBUG(
"Recorded gFexJetRoIContainer with key " << gLJContainer.
key());
271 ATH_CHECK(gScalarEJwojContainer.
record(std::make_unique<xAOD::gFexGlobalRoIContainer>(), std::make_unique<xAOD::gFexGlobalRoIAuxContainer>()));
272 ATH_MSG_DEBUG(
"Recorded gFexJetGlobalContainer with key " << gScalarEJwojContainer.
key());
273 ATH_CHECK(gMETComponentsJwojContainer.
record(std::make_unique<xAOD::gFexGlobalRoIContainer>(), std::make_unique<xAOD::gFexGlobalRoIAuxContainer>()));
274 ATH_MSG_DEBUG(
"Recorded gFexJetGlobalContainer with key " << gMETComponentsJwojContainer.
key());
275 ATH_CHECK(gMHTComponentsJwojContainer.
record(std::make_unique<xAOD::gFexGlobalRoIContainer>(), std::make_unique<xAOD::gFexGlobalRoIAuxContainer>()));
276 ATH_MSG_DEBUG(
"Recorded gFexJetGlobalContainer with key " << gMHTComponentsJwojContainer.
key());
277 ATH_CHECK(gMSTComponentsJwojContainer.
record(std::make_unique<xAOD::gFexGlobalRoIContainer>(), std::make_unique<xAOD::gFexGlobalRoIAuxContainer>()));
278 ATH_MSG_DEBUG(
"Recorded gFexJetGlobalContainer with key " << gMSTComponentsJwojContainer.
key());
279 ATH_CHECK(gMETComponentsNoiseCutContainer.
record(std::make_unique<xAOD::gFexGlobalRoIContainer>(), std::make_unique<xAOD::gFexGlobalRoIAuxContainer>()));
280 ATH_MSG_DEBUG(
"Recorded gFexJetGlobalContainer with key " << gMETComponentsNoiseCutContainer.
key());
281 ATH_CHECK(gMETComponentsRmsContainer.
record(std::make_unique<xAOD::gFexGlobalRoIContainer>(), std::make_unique<xAOD::gFexGlobalRoIAuxContainer>()));
282 ATH_MSG_DEBUG(
"Recorded gFexJetGlobalContainer with key " << gMETComponentsRmsContainer.
key());
283 ATH_CHECK(gScalarENoiseCutContainer.
record(std::make_unique<xAOD::gFexGlobalRoIContainer>(), std::make_unique<xAOD::gFexGlobalRoIAuxContainer>()));
284 ATH_MSG_DEBUG(
"Recorded gFexJetGlobalContainer with key " << gScalarENoiseCutContainer.
key());
285 ATH_CHECK(gScalarERmsContainer.
record(std::make_unique<xAOD::gFexGlobalRoIContainer>(), std::make_unique<xAOD::gFexGlobalRoIAuxContainer>()));
286 ATH_MSG_DEBUG(
"Recorded gFexJetGlobalContainer with key " << gScalarERmsContainer.
key());
291 ATH_CHECK(gEspressoContainer.
record(std::make_unique<xAOD::gFexGlobalRoIContainer>(), std::make_unique<xAOD::gFexGlobalRoIAuxContainer>()));
292 ATH_MSG_DEBUG(
"Recorded gFexJetGlobalContainer with key " << gEspressoContainer.
key());
296 ATH_CHECK(gRistrettoContainer.
record(std::make_unique<xAOD::gFexGlobalRoIContainer>(), std::make_unique<xAOD::gFexGlobalRoIAuxContainer>()));
297 ATH_MSG_DEBUG(
"Recorded gFexJetGlobalContainer with key " << gRistrettoContainer.
key());
320 ATH_CHECK(gRhoSliceContainer.
record(std::make_unique<xAOD::gFexJetRoIContainer>(), std::make_unique<xAOD::gFexJetRoIAuxContainer>()));
321 ATH_MSG_DEBUG(
"Recorded gFexJetRoIContainer (out-of-time) with key " << gRhoSliceContainer.
key());
324 ATH_CHECK(gSJSliceContainer.
record(std::make_unique<xAOD::gFexJetRoIContainer>(), std::make_unique<xAOD::gFexJetRoIAuxContainer>()));
325 ATH_MSG_DEBUG(
"Recorded gFexJetRoIContainer (out-of-time) with key " << gSJSliceContainer.
key());
328 ATH_CHECK(gLJSliceContainer.
record(std::make_unique<xAOD::gFexJetRoIContainer>(), std::make_unique<xAOD::gFexJetRoIAuxContainer>()));
329 ATH_MSG_DEBUG(
"Recorded gFexJetRoIContainer (out-of-time) with key " << gLJSliceContainer.
key());
332 ATH_CHECK(gScalarEJwojSliceContainer.
record(std::make_unique<xAOD::gFexGlobalRoIContainer>(), std::make_unique<xAOD::gFexGlobalRoIAuxContainer>()));
333 ATH_MSG_DEBUG(
"Recorded gFexGlobalRoIContainer (out-of-time) with key " << gScalarEJwojSliceContainer.
key());
336 ATH_CHECK(gMETComponentsJwojSliceContainer.
record(std::make_unique<xAOD::gFexGlobalRoIContainer>(), std::make_unique<xAOD::gFexGlobalRoIAuxContainer>()));
337 ATH_MSG_DEBUG(
"Recorded gFexGlobalRoIContainer (out-of-time) with key " << gMETComponentsJwojSliceContainer.
key());
340 ATH_CHECK(gMHTComponentsJwojSliceContainer.
record(std::make_unique<xAOD::gFexGlobalRoIContainer>(), std::make_unique<xAOD::gFexGlobalRoIAuxContainer>()));
341 ATH_MSG_DEBUG(
"Recorded gFexGlobalRoIContainer (out-of-time) with key " << gMHTComponentsJwojSliceContainer.
key());
344 ATH_CHECK(gMSTComponentsJwojSliceContainer.
record(std::make_unique<xAOD::gFexGlobalRoIContainer>(), std::make_unique<xAOD::gFexGlobalRoIAuxContainer>()));
345 ATH_MSG_DEBUG(
"Recorded gFexGlobalRoIContainer (out-of-time) with key " << gMSTComponentsJwojSliceContainer.
key());
348 ATH_CHECK(gEspressoSliceContainer.
record(std::make_unique<xAOD::gFexGlobalRoIContainer>(), std::make_unique<xAOD::gFexGlobalRoIAuxContainer>()));
349 ATH_MSG_DEBUG(
"Recorded gFexGlobalRoIContainer (out-of-time) with key " << gEspressoSliceContainer.
key());
352 ATH_CHECK(gRistrettoSliceContainer.
record(std::make_unique<xAOD::gFexGlobalRoIContainer>(), std::make_unique<xAOD::gFexGlobalRoIAuxContainer>()));
353 ATH_MSG_DEBUG(
"Recorded gFexGlobalRoIContainer (out-of-time) with key " << gRistrettoSliceContainer.
key());
356 ATH_CHECK(gMETComponentsNoiseCutSliceContainer.
record(std::make_unique<xAOD::gFexGlobalRoIContainer>(), std::make_unique<xAOD::gFexGlobalRoIAuxContainer>()));
357 ATH_MSG_DEBUG(
"Recorded gFexGlobalRoIContainer (out-of-time) with key " << gMETComponentsNoiseCutSliceContainer.
key());
360 ATH_CHECK(gScalarENoiseCutSliceContainer.
record(std::make_unique<xAOD::gFexGlobalRoIContainer>(), std::make_unique<xAOD::gFexGlobalRoIAuxContainer>()));
361 ATH_MSG_DEBUG(
"Recorded gFexGlobalRoIContainer (out-of-time) with key " << gScalarENoiseCutSliceContainer.
key());
364 ATH_CHECK(gMETComponentsRmsSliceContainer.
record(std::make_unique<xAOD::gFexGlobalRoIContainer>(), std::make_unique<xAOD::gFexGlobalRoIAuxContainer>()));
365 ATH_MSG_DEBUG(
"Recorded gFexGlobalRoIContainer (out-of-time) with key " << gMETComponentsRmsSliceContainer.
key());
368 ATH_CHECK(gScalarERmsSliceContainer.
record(std::make_unique<xAOD::gFexGlobalRoIContainer>(), std::make_unique<xAOD::gFexGlobalRoIAuxContainer>()));
369 ATH_MSG_DEBUG(
"Recorded gFexGlobalRoIContainer (out-of-time) with key " << gScalarERmsSliceContainer.
key());
374 for (
const ROBF* rob : vrobf) {
378 ATH_MSG_DEBUG(
"Starting to decode " << rob->rod_ndata() <<
" ROD words from ROB 0x" << std::hex << rob->rob_source_id());
381 if(rob->rod_ndata() <= 0){
385 const auto dataArray = std::span{rob->rod_data(), rob->rod_ndata()};
390 unsigned int n_words = rob->rod_ndata();
393 for(
unsigned int iWord=0; iWord<n_words; iWord++) {
394 ATH_MSG_DEBUG(
"Raw word 0x" << std::hex << dataArray[iWord] <<
" " << std::bitset<32> (dataArray[iWord]));
401 std::vector<int> global_counter;
402 std::vector<std::array<uint32_t, 3>> JWOJ_MHT;
403 std::vector<std::array<uint32_t, 3>> JWOJ_MST;
404 std::vector<std::array<uint32_t, 3>> JWOJ_MET;
405 std::vector<std::array<uint32_t, 3>> JWOJ_SCALAR;
406 std::vector<std::array<uint32_t, 3>> GESPRESSO;
407 std::vector<std::array<uint32_t, 3>> GRISTRETTO;
408 std::vector<std::array<uint32_t, 3>> NC_MET;
409 std::vector<std::array<uint32_t, 3>> NC_SCALAR;
410 std::vector<std::array<uint32_t, 3>> RMS_MET;
411 std::vector<std::array<uint32_t, 3>> RMS_SCALAR;
413 std::vector<uint32_t> globalSliceNumbers;
416 auto ensureSliceCapacity = [&](
size_t sliceNum) {
417 if (sliceNum >= global_counter.size()) {
418 size_t newSize = sliceNum + 1;
419 global_counter.resize(newSize, 0);
420 JWOJ_MHT.resize(newSize, {0, 0, 0});
421 JWOJ_MST.resize(newSize, {0, 0, 0});
422 JWOJ_MET.resize(newSize, {0, 0, 0});
423 JWOJ_SCALAR.resize(newSize, {0, 0, 0});
424 GESPRESSO.resize(newSize, {0, 0, 0});
425 GRISTRETTO.resize(newSize, {0, 0, 0});
426 NC_MET.resize(newSize, {0, 0, 0});
427 NC_SCALAR.resize(newSize, {0, 0, 0});
428 RMS_MET.resize(newSize, {0, 0, 0});
429 RMS_SCALAR.resize(newSize, {0, 0, 0});
434 while (
index < n_words ) {
435 const uint32_t headerWord = dataArray[
index];
443 ATH_MSG_DEBUG(
"headerWord "<< std::bitset<32> (headerWord) );
445 ATH_MSG_DEBUG(
"headerSize "<< std::bitset<2> (headerSize) );
446 ATH_MSG_DEBUG(
"errorFlags "<< std::bitset<1> (errorFlags) );
449 const uint32_t blockSize = headerSize + dataSize;
450 if ( (
index + blockSize) > n_words ) {
452 std::stringstream sdetail;
453 sdetail <<
"Remaining block size " << (n_words -
index) <<
" is too small for subblock of type " << blockType <<
" with headerSize " << headerSize <<
" and dataSize " << dataSize ;
454 std::stringstream slocation;
455 slocation <<
"0x"<< std::hex << rob->rob_source_id() << std::dec <<
" type:"<<blockType;
456 std::stringstream stitle;
457 stitle <<
"Small subblock size " ;
458 printError(slocation.str(),stitle.str(),MSG::DEBUG,sdetail.str());
469 std::stringstream sdetail;
470 sdetail <<
"L1CaloBsDecoderRun3::decodeGfexTobs: subblock type " << blockType <<
" with dataSize " << dataSize <<
" is not a multiple of " <<
gPos::WORDS_PER_SLICE <<
" words" ;
471 std::stringstream slocation;
472 slocation <<
"0x"<< std::hex << rob->rob_source_id()<< std::dec <<
" type:"<<blockType;
473 std::stringstream stitle;
474 stitle <<
"Wrong dataSize" ;
475 printError(slocation.str(),stitle.str(),MSG::DEBUG,sdetail.str());
485 bool isMet = (blockType >= 0x1 && blockType <= 0x3);
486 bool isJet = (blockType >= 0xA && blockType <= 0xC);
488 for (uint32_t sliceNumber = 0; sliceNumber < numSlices; sliceNumber++) {
491 if (sliceNumber != 0 && !multiSlice) {
496 if ( !isJet && !isMet ) {
497 std::stringstream sdetail;
498 sdetail <<
"gFexByteStreamTool::decodeGfexTobSlice: Invalid block type " << blockType ;
499 std::stringstream slocation;
500 slocation <<
"0x"<< std::hex << rob->rob_source_id();
501 std::stringstream stitle;
502 stitle <<
"Invalid block type" ;
503 printError(slocation.str(),stitle.str(),MSG::DEBUG,sdetail.str());
507 auto& targetRhoContainer = (sliceNumber == 0) ? gRhoContainer : gRhoSliceContainer;
508 auto& targetSJContainer = (sliceNumber == 0) ? gSJContainer : gSJSliceContainer;
509 auto& targetLJContainer = (sliceNumber == 0) ? gLJContainer : gLJSliceContainer;
514 if (isJet && (sliceNumber != 0 || decodeStdTOBs)) {
525 static const SG::AuxElement::Decorator<uint32_t> sliceNumberDec(
"sliceNumber");
530 targetRhoContainer->push_back(std::move(myEDM));
531 targetRhoContainer->back()->initialize(dataArray[
index+iWord],
m_gJ_scale);
532 if (sliceNumber != 0) sliceNumberDec(*targetRhoContainer->back()) = sliceNumber;
537 targetSJContainer->push_back(std::move(myEDM));
538 targetSJContainer->back()->initialize(dataArray[
index+iWord],
m_gJ_scale);
539 if (sliceNumber != 0) sliceNumberDec(*targetSJContainer->back()) = sliceNumber;
544 targetLJContainer->push_back(std::move(myEDM));
546 if (sliceNumber != 0) sliceNumberDec(*targetLJContainer->back()) = sliceNumber;
555 ensureSliceCapacity(sliceNumber);
567 global_counter[sliceNumber]++;
568 if (blockType == 0x1) {JWOJ_MHT[sliceNumber][0] = dataArray[
index+iWord];}
569 if (blockType == 0x2) {JWOJ_MHT[sliceNumber][1] = dataArray[
index+iWord];}
570 if (blockType == 0x3) {JWOJ_MHT[sliceNumber][2] = dataArray[
index+iWord];}
574 if (blockType == 0x1) {JWOJ_MST[sliceNumber][0] = dataArray[
index+iWord];}
575 if (blockType == 0x2) {JWOJ_MST[sliceNumber][1] = dataArray[
index+iWord];}
576 if (blockType == 0x3) {JWOJ_MST[sliceNumber][2] = dataArray[
index+iWord];}
580 if (blockType == 0x1) {JWOJ_MET[sliceNumber][0] = dataArray[
index+iWord];}
581 if (blockType == 0x2) {JWOJ_MET[sliceNumber][1] = dataArray[
index+iWord];}
582 if (blockType == 0x3) {JWOJ_MET[sliceNumber][2] = dataArray[
index+iWord];}
586 if (blockType == 0x1) {JWOJ_SCALAR[sliceNumber][0] = dataArray[
index+iWord];}
587 if (blockType == 0x2) {JWOJ_SCALAR[sliceNumber][1] = dataArray[
index+iWord];}
588 if (blockType == 0x3) {JWOJ_SCALAR[sliceNumber][2] = dataArray[
index+iWord];}
592 if (blockType == 0x1) {GESPRESSO[sliceNumber][0] = dataArray[
index+iWord];}
593 if (blockType == 0x2) {GESPRESSO[sliceNumber][1] = dataArray[
index+iWord];}
594 if (blockType == 0x3) {GESPRESSO[sliceNumber][2] = dataArray[
index+iWord];}
598 if (blockType == 0x1) {GRISTRETTO[sliceNumber][0] = dataArray[
index+iWord];}
599 if (blockType == 0x2) {GRISTRETTO[sliceNumber][1] = dataArray[
index+iWord];}
600 if (blockType == 0x3) {GRISTRETTO[sliceNumber][2] = dataArray[
index+iWord];}
604 if (blockType == 0x1) {NC_MET[sliceNumber][0] = dataArray[
index+iWord];}
605 if (blockType == 0x2) {NC_MET[sliceNumber][1] = dataArray[
index+iWord];}
606 if (blockType == 0x3) {NC_MET[sliceNumber][2] = dataArray[
index+iWord];}
610 if (blockType == 0x1) {NC_SCALAR[sliceNumber][0] = dataArray[
index+iWord];}
611 if (blockType == 0x2) {NC_SCALAR[sliceNumber][1] = dataArray[
index+iWord];}
612 if (blockType == 0x3) {NC_SCALAR[sliceNumber][2] = dataArray[
index+iWord];}
616 if (blockType == 0x1) {RMS_MET[sliceNumber][0] = dataArray[
index+iWord];}
617 if (blockType == 0x2) {RMS_MET[sliceNumber][1] = dataArray[
index+iWord];}
618 if (blockType == 0x3) {RMS_MET[sliceNumber][2] = dataArray[
index+iWord];}
622 if (blockType == 0x1) {RMS_SCALAR[sliceNumber][0] = dataArray[
index+iWord];}
623 if (blockType == 0x2) {RMS_SCALAR[sliceNumber][1] = dataArray[
index+iWord];}
624 if (blockType == 0x3) {RMS_SCALAR[sliceNumber][2] = dataArray[
index+iWord];}
635 for (
size_t slice = 0; slice < global_counter.size(); slice++) {
636 ATH_MSG_DEBUG(
"global_counter[" << slice <<
"] is " << global_counter[slice]);
637 if (global_counter[slice] == 3) {
639 if (slice != 0 && !multiSlice) {
640 global_counter[slice] = 0;
645 if (slice == 0 && !decodeStdTOBs) {
647 fillGlobal(GESPRESSO[slice], 1, gEspressoContainer, slice, 0);
648 fillGlobal(GRISTRETTO[slice], 1, gRistrettoContainer, slice, 0);
650 auto& targetMHTContainer = (slice == 0) ? gMHTComponentsJwojContainer : gMHTComponentsJwojSliceContainer;
651 auto& targetMSTContainer = (slice == 0) ? gMSTComponentsJwojContainer : gMSTComponentsJwojSliceContainer;
652 auto& targetMETContainer = (slice == 0) ? gMETComponentsJwojContainer : gMETComponentsJwojSliceContainer;
653 auto& targetScalarContainer = (slice == 0) ? gScalarEJwojContainer : gScalarEJwojSliceContainer;
654 auto& targetEspressoContainer = (slice == 0) ? gEspressoContainer : gEspressoSliceContainer;
655 auto& targetRistrettoContainer = (slice == 0) ? gRistrettoContainer : gRistrettoSliceContainer;
656 auto& targetNCMETContainer = (slice == 0) ? gMETComponentsNoiseCutContainer : gMETComponentsNoiseCutSliceContainer;
657 auto& targetNCScalarContainer = (slice == 0) ? gScalarENoiseCutContainer : gScalarENoiseCutSliceContainer;
658 auto& targetRMSMETContainer = (slice == 0) ? gMETComponentsRmsContainer : gMETComponentsRmsSliceContainer;
659 auto& targetRMSScalarContainer = (slice == 0) ? gScalarERmsContainer : gScalarERmsSliceContainer;
661 fillGlobal(JWOJ_MHT[slice], 3, targetMHTContainer, slice);
662 fillGlobal(JWOJ_MST[slice], 4, targetMSTContainer, slice);
663 int16_t scalar =
fillGlobal(JWOJ_MET[slice], 2, targetMETContainer, slice);
664 fillGlobal(JWOJ_SCALAR[slice], 1, targetScalarContainer, slice, scalar);
666 fillGlobal(GESPRESSO[slice], 1, targetEspressoContainer, slice, 0);
668 fillGlobal(GRISTRETTO[slice], 1, targetRistrettoContainer, slice, 0);
670 scalar =
fillGlobal(NC_MET[slice], 2, targetNCMETContainer, slice);
671 fillGlobal(NC_SCALAR[slice], 1, targetNCScalarContainer, slice, scalar);
673 scalar =
fillGlobal(RMS_MET[slice], 2, targetRMSMETContainer, slice);
674 fillGlobal(RMS_SCALAR[slice], 1, targetRMSScalarContainer, slice, scalar);
677 global_counter[slice] = 0;
683 return StatusCode::SUCCESS;