Skip to content

Commit ca74488

Browse files
nicolovalleshahor02
authored andcommitted
Increasing default value of TF sampling
1 parent 01cb9e9 commit ca74488

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

DataFormats/Detectors/ITSMFT/common/include/DataFormatsITSMFT/TimeDeadMap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class TimeDeadMap
132132
LOG(warning) << "Requested orbit " << orbit << "from an empty time-dependent map. Doing nothing";
133133
return (long)orbit;
134134
}
135-
auto closest = mEvolvingDeadMap.lower_bound(orbit);
135+
auto closest = mEvolvingDeadMap.upper_bound(orbit);
136136
if (closest != mEvolvingDeadMap.begin()) {
137137
--closest;
138138
mmap = closest->second;

Detectors/ITSMFT/common/workflow/include/ITSMFTWorkflow/DeadMapBuilderSpec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class ITSMFTDeadMapBuilder : public Task
107107

108108
std::string mDataSource = "chipsstatus";
109109

110-
int mTFSampling = 1000;
110+
int mTFSampling = 350;
111111
std::string mSamplingMode = "first-orbit-run"; // Use this default to ensure process of first TF. At the moment, use any other option to sample on absolute orbit value.
112112

113113
o2::itsmft::TimeDeadMap mMapObject;

Detectors/ITSMFT/common/workflow/src/DeadMapBuilderSpec.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ void ITSMFTDeadMapBuilder::PrepareOutputCcdb(EndOfStreamContext* ec, std::string
284284

285285
else if (!ccdburl.empty()) { // send from this workflow
286286

287-
LOG(important) << mSelfName << "sending object " << ccdburl << "/browse/" << info.getPath() << "/" << info.getFileName()
287+
LOG(important) << mSelfName << " sending object " << ccdburl << "/browse/" << info.getPath() << "/" << info.getFileName()
288288
<< " of size " << image->size() << " bytes, valid for "
289289
<< info.getStartValidityTimestamp() << " : " << info.getEndValidityTimestamp();
290290

@@ -378,7 +378,7 @@ DataProcessorSpec getITSMFTDeadMapBuilderSpec(std::string datasource, bool doMFT
378378
inputs,
379379
outputs,
380380
AlgorithmSpec{adaptFromTask<ITSMFTDeadMapBuilder>(datasource, doMFT)},
381-
Options{{"tf-sampling", VariantType::Int, 1000, {"Process every Nth TF. Selection according to first TF orbit."}},
381+
Options{{"tf-sampling", VariantType::Int, 350, {"Process every Nth TF. Selection according to first TF orbit."}},
382382
{"sampling-mode", VariantType::String, "first-orbit-run", {"Use absolute orbit value or offset from first processed orbit."}},
383383
{"tf-length", VariantType::Int, 32, {"Orbits per TF."}},
384384
{"skip-static-map", VariantType::Bool, false, {"Do not fill static part of the map."}},

prodtests/full-system-test/dpl-workflow.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -633,8 +633,8 @@ workflow_has_parameter AOD && [[ ! -z "$AOD_SOURCES" ]] && add_W o2-aod-producer
633633
# extra workflows in case we want to extra ITS/MFT info for dead channel maps to then go to CCDB for MC
634634
: ${ALIEN_JDL_PROCESSITSDEADMAP:=}
635635
: ${ALIEN_JDL_PROCESSMFTDEADMAP:=}
636-
[[ $ALIEN_JDL_PROCESSITSDEADMAP == 1 ]] && has_detector ITS && add_W o2-itsmft-deadmap-builder-workflow " --local-output --output-dir . --source clusters --tf-sampling 1000"
637-
[[ $ALIEN_JDL_PROCESSMFTDEADMAP == 1 ]] && has_detector MFT && add_W o2-itsmft-deadmap-builder-workflow " --runmft --local-output --output-dir . --source clusters --tf-sampling 1000"
636+
[[ $ALIEN_JDL_PROCESSITSDEADMAP == 1 ]] && has_detector ITS && add_W o2-itsmft-deadmap-builder-workflow " --local-output --output-dir . --source clusters --tf-sampling 350"
637+
[[ $ALIEN_JDL_PROCESSMFTDEADMAP == 1 ]] && has_detector MFT && add_W o2-itsmft-deadmap-builder-workflow " --runmft --local-output --output-dir . --source clusters --tf-sampling 350"
638638

639639

640640
# ---------------------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)