You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Integrate non-uniform InteractionSampler into CollisionContextTool
Possibility to inject non-uniform MU(BC) distributions into the
collision context creation.
Distributions can come from ROOT file or CCDB and follow a format
from EventSelectionQA (histogram hBcTVX).
Example:
```
--nontrivial-mu-distribution ccdb://http://ccdb-test.cern.ch:8080/GLO/CALIB/EVSELQA/HBCTVX'
```
"Take collision contexts (per timeframe) from external files for instance for data-anchoring use-case. Needs timeframeID and number of orbits to be given as well.");
246
+
"import-external", bpo::value<std::string>(&optvalues.external_path)->default_value(""),"Take collision contexts (per timeframe) from external files for instance for data-anchoring use-case. Needs timeframeID and number of orbits to be given as well.")(
247
+
"nontrivial-mu-distribution", bpo::value<std::string>(&optvalues.nontrivial_mu_distribution)->default_value(""), "Distribution for MU(BC)");
221
248
222
249
options.add_options()("help,h", "Produce help message.");
223
250
@@ -397,6 +424,46 @@ int main(int argc, char* argv[])
397
424
auto mode = ispecs[id].syncmode;
398
425
if (mode == InteractionLockMode::NOLOCK) {
399
426
auto sampler = std::make_unique<o2::steer::InteractionSampler>();
427
+
TH1F* mu_hist = nullptr;
428
+
429
+
// we check if there is a realistic bunch crossing distribution available
0 commit comments