@@ -84,9 +84,6 @@ struct HfTaskLc {
8484 NonPrompt
8585 };
8686
87- constexpr static std::string_view SignalFolders[] = {" signal" , " prompt" , " nonprompt" };
88- constexpr static std::string_view SignalSuffixes[] = {" " , " Prompt" , " NonPrompt" };
89-
9087 HfHelper hfHelper;
9188 SliceCache cache;
9289
@@ -310,6 +307,8 @@ struct HfTaskLc {
310307 template <bool fillMl, typename CollType, typename CandLcMcRec, typename CandLcMcGen>
311308 void fillHistosMcRec (CollType const & collision, CandLcMcRec const & candidates, CandLcMcGen const & mcParticles)
312309 {
310+ static constexpr std::string_view SignalFolders[] = {" signal" , " prompt" , " nonprompt" };
311+ static constexpr std::string_view SignalSuffixes[] = {" " , " Prompt" , " NonPrompt" };
313312
314313 auto thisCollId = collision.globalIndex ();
315314 auto groupedLcCandidates = candidates.sliceBy (candLcPerCollision, thisCollId);
@@ -454,6 +453,8 @@ struct HfTaskLc {
454453 template <typename CandLcMcGen, typename Coll>
455454 void fillHistosMcGen (CandLcMcGen const & mcParticles, Coll const & recoCollisions)
456455 {
456+ static constexpr std::string_view SignalFolders[] = {" signal" , " prompt" , " nonprompt" };
457+ static constexpr std::string_view SignalSuffixes[] = {" " , " Prompt" , " NonPrompt" };
457458 // MC gen.
458459 for (const auto & particle : mcParticles) {
459460 if (std::abs (particle.flagMcMatchGen ()) == hf_decay::hf_cand_3prong::DecayChannelMain::LcToPKPi) {
0 commit comments