Commit fa507042 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

EventLoaderEUDAQ2: preced tag histograms with "tag"

parent d72e7855
Pipeline #1055073 passed with stages
in 29 minutes and 25 seconds
......@@ -180,7 +180,7 @@ void EventLoaderEUDAQ2::retrieve_event_tags(const eudaq::EventSPC evt) {
// Check if histogram exists already, if not: create it
if(hTagValues.find(tag_pair.first) == hTagValues.end()) {
std::string histName = "hTagValues_" + tag_pair.first;
std::string histTitle = tag_pair.first + ";event / 1000;tag value";
std::string histTitle = "tag_" + tag_pair.first + ";event / 1000;tag value";
hTagValues[tag_pair.first] = new TProfile(histName.c_str(), histTitle.c_str(), 2e5, 0, 100);
}
hTagValues[tag_pair.first]->Fill(evt->GetEventN() / 1000, value, 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment