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
std::vector<InputSpec>{{"sacone", ConcreteDataTypeMatcher{o2::header::gDataOriginTPC, TPCFactorizeSACSpec::getDataDescriptionSAC1()}, Lifetime::Sporadic}}}; ///< filter for looping over input data
@@ -438,7 +442,8 @@ DataProcessorSpec getTPCFourierTransformAggregatorSpec(const unsigned int rangeI
438
442
Options{{"intervalsSACs", VariantType::Int, 11, {"Number of integration intervals which will be sampled for the fourier coefficients"}},
439
443
{"dump-coefficients-agg", VariantType::Bool, false, {"Dump fourier coefficients to file"}},
440
444
{"tpcScalerLengthS", VariantType::Float, 300.f, {"Length of the TPC scalers in seconds"}},
441
-
{"disable-scaler", VariantType::Bool, false, {"Disable creation of IDC scaler"}}}};
445
+
{"disable-scaler", VariantType::Bool, false, {"Disable creation of IDC scaler"}},
446
+
{"enable-fft-CCDB", VariantType::Bool, false, {"Enable writing of FFT coefficients to CCDB"}}}};
// FIXME: we should distinguish between an actually missing object and one which has a non compatible
421
421
// format.
422
422
if (!format) {
423
+
LOGP(debug, "Could not find tree {}. Trying in parent file.", fullpath.path());
424
+
auto parentFile = getParentFile(counter, numTF, treename);
425
+
if (parentFile != nullptr) {
426
+
int parentNumTF = parentFile->findDFNumber(0, folder.path());
427
+
if (parentNumTF == -1) {
428
+
auto parentRootFS = std::dynamic_pointer_cast<TFileFileSystem>(parentFile->mCurrentFilesystem);
429
+
throwstd::runtime_error(fmt::format(R"(DF {} listed in parent file map but not found in the corresponding file "{}")", folder.path(), parentRootFS->GetFile()->GetName()));
430
+
}
431
+
// first argument is 0 as the parent file object contains only 1 file
auto rootFS = std::dynamic_pointer_cast<TFileFileSystem>(mCurrentFilesystem);
423
435
throwstd::runtime_error(fmt::format(R"(Couldn't get TTree "{}" from "{}". Please check https://aliceo2group.github.io/analysis-framework/docs/troubleshooting/#tree-not-found for more information.)", fullpath.path(), rootFS->GetFile()->GetName()));
auto fragment = format->MakeFragment(fullpath, {}, *physicalSchema);
438
450
439
-
if (!fragment.ok()) {
440
-
LOGP(debug, "Could not find tree {}. Trying in parent file.", fullpath.path());
441
-
auto parentFile = getParentFile(counter, numTF, treename);
442
-
if (parentFile != nullptr) {
443
-
int parentNumTF = parentFile->findDFNumber(0, folder.path());
444
-
if (parentNumTF == -1) {
445
-
auto parentRootFS = std::dynamic_pointer_cast<TFileFileSystem>(parentFile->mCurrentFilesystem);
446
-
throwstd::runtime_error(fmt::format(R"(DF {} listed in parent file map but not found in the corresponding file "{}")", folder.path(), parentRootFS->GetFile()->GetName()));
447
-
}
448
-
// first argument is 0 as the parent file object contains only 1 file
auto rootFS = std::dynamic_pointer_cast<TFileFileSystem>(mCurrentFilesystem);
452
-
throwstd::runtime_error(fmt::format(R"(Couldn't get TTree "{}" from "{}". Please check https://aliceo2group.github.io/analysis-framework/docs/troubleshooting/#tree-not-found for more information.)", fullpath.path(), rootFS->GetFile()->GetName()));
0 commit comments