Skip to content

Commit e195c17

Browse files
committed
Fix
1 parent 4489dca commit e195c17

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

Common/TableProducer/ft0CorrectedTableMcOverride.cxx

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,24 +58,16 @@ struct ft0CorrectedTableMcOverride {
5858
HistogramRegistry histos{"Histos", {}, OutputObjHandlingPolicy::AnalysisObject};
5959
void init(o2::framework::InitContext&)
6060
{
61-
if (doprocessStandard && doprocessWithBypassFT0timeInMC) {
62-
LOG(fatal) << "Both processStandard and processWithBypassFT0timeInMC are enabled. Pick one of the two";
63-
}
64-
if (!doprocessStandard && !doprocessWithBypassFT0timeInMC) {
65-
LOG(fatal) << "No process is enabled. Pick one";
66-
}
6761
ccdb->setURL(cfgUrl);
6862
ccdb->setTimestamp(cfgTimestamp);
6963
ccdb->setCaching(true);
7064
ccdb->setLocalObjectValidityChecking();
7165
// Not later than now objects
7266
ccdb->setCreatedNotAfter(std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count());
7367

74-
if (doprocessWithBypassFT0timeInMC) {
75-
// From ps to ns
76-
resoFT0A.value = resoFT0A.value / 1000.f;
77-
resoFT0C.value = resoFT0C.value / 1000.f;
78-
}
68+
// From ps to ns
69+
resoFT0A.value = resoFT0A.value / 1000.f;
70+
resoFT0C.value = resoFT0C.value / 1000.f;
7971
if (!addHistograms) {
8072
return;
8173
}

0 commit comments

Comments
 (0)