Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions PWGDQ/Tasks/tableReader.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -683,14 +683,11 @@ struct AnalysisSameEventPairing {
}
}

// Usage example of ccdb
ccdb->setURL(url.value);
ccdb->setCaching(true);
ccdb->setLocalObjectValidityChecking();
ccdb->setCreatedNotAfter(nolaterthan.value);
auto histCCDB = ccdb->get<TH1F>(ccdbPath.value);
if (!histCCDB) {
LOGF(fatal, "CCDB histogram not found");
}

DefineHistograms(fHistMan, histNames.Data()); // define all histograms
VarManager::SetUseVars(fHistMan->GetUsedVars()); // provide the list of required variables so that VarManager knows what to fill
Expand Down