Skip to content

Commit f596f7d

Browse files
committed
Invert logic for HGLGmerge option
1 parent 6eef71a commit f596f7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Detectors/EMCAL/workflow/src/RawToCellConverterSpec.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ void RawToCellConverterSpec::init(framework::InitContext& ctx)
8484
mMaxErrorMessages = ctx.options().get<int>("maxmessage");
8585
LOG(INFO) << "Suppressing error messages after " << mMaxErrorMessages << " messages";
8686

87-
mMergeLGHG = ctx.options().get<bool>("mergeHGLG");
87+
mMergeLGHG = !ctx.options().get<bool>("no-mergeHGLG");
8888

8989
mRawFitter->setAmpCut(mNoiseThreshold);
9090
mRawFitter->setL1Phase(0.);
@@ -511,5 +511,5 @@ o2 ::framework::DataProcessorSpec o2::emcal::reco_workflow::getRawToCellConverte
511511
{"fitmethod", o2::framework::VariantType::String, "gamma2", {"Fit method (standard or gamma2)"}},
512512
{"maxmessage", o2::framework::VariantType::Int, 100, {"Max. amout of error messages to be displayed"}},
513513
{"printtrailer", o2::framework::VariantType::Bool, false, {"Print RCU trailer (for debugging)"}},
514-
{"mergeHGLG", o2::framework::VariantType::Bool, true, {"Merge HG and LG channels for same tower"}}}};
514+
{"no-mergeHGLG", o2::framework::VariantType::Bool, false, {"Do not merge HG and LG channels for same tower"}}}};
515515
}

0 commit comments

Comments
 (0)