Commit 11da1221 authored by Lennart Huth's avatar Lennart Huth
Browse files

codespell fixes

parent 98df1f01
......@@ -305,7 +305,7 @@ void AnalysisEfficiency::initialize() {
auto _efficiencyVsTime =
new TEfficiency(pivstring.c_str(), "Efficiency vs. time; time [s]; #epsilon", 3000, 0, 3000);
pivstring = std::to_string(piv) + "_timepix3time";
auto delta_t = new TH1D(pivstring.c_str(), "TPX3 time relativ to event start; delta t / #mus;", 350, 0, 350);
auto delta_t = new TH1D(pivstring.c_str(), "TPX3 time relative to event start; delta t / #mus;", 350, 0, 350);
pivot_eTotalEfficiency[int(piv)] = _eTotalEfficiency;
pivot_efficiencyColumns[int(piv)] = _efficiencyColumns;
pivot_efficiencyRows[int(piv)] = _efficiencyRows;
......
......@@ -45,7 +45,7 @@ EventDefinitionM26::EventDefinitionM26(Configuration& config, std::vector<std::s
pivot_max_ = config_.get<int>("pivot_max");
use_all_mimosa_hits_ = config_.get<bool>("use_all_mimosa_hits");
pixelated_timing_layer_ = config_.get<bool>("pixelated_timing_layer");
LOG(WARNING) << " seting shift to " << Units::get(timeshift_, "us") << ": accepting pivots from " << pivot_min_
LOG(WARNING) << " setting shift to " << Units::get(timeshift_, "us") << ": accepting pivots from " << pivot_min_
<< " to " << pivot_max_;
add_trigger_ = config_.get<bool>("add_trigger");
// Set EUDAQ log level to desired value:
......@@ -92,7 +92,7 @@ void EventDefinitionM26::initialize() {
title = "Corryvreckan event start times (placed on clipboard); Corryvreckan event start time [s];# entries";
hClipboardEventStart_long = new TH1D("clipboardEventStart_long", title.c_str(), 3e6, 0, 3e3);
pivotPixel_ = new TH1F("pivot_pixel", "pivot pixel; pivot; entires", 580, -.5, 579.5);
pivotPixel_ = new TH1F("pivot_pixel", "pivot pixel; pivot; entries", 580, -.5, 579.5);
// open the input file with the eudaq reader
try {
readerDuration_ = eudaq::Factory<eudaq::FileReader>::MakeUnique(eudaq::str2hash("native"), duration_);
......@@ -112,7 +112,7 @@ void EventDefinitionM26::initialize() {
// pivot pixel etc plots
title = "pivot vs next time; pivot; start(i+1) - end(i) / #mus";
_pivot_vs_next_event = new TH2F("pivotVsdistToNextEVENT", title.c_str(), 576, 0, 576, 1010, -10, 1000);
title = "pivot vs privious time; pivot; start(i) - end(i-1) / #mus";
title = "pivot vs previous time; pivot; start(i) - end(i-1) / #mus";
_pivot_vs_priv_event = new TH2F("pivotVsdistToPreviousEVENT", title.c_str(), 576, 0, 576, 1010, -10, 1000);
title = "pivot vs next time; pivot; trig(i+1) - trig (i) #mus";
_pivot_vs_next_dtrigger = new TH2F("pivotVsdistToNextTRIGGER", title.c_str(), 576, 0, 576, 1000, -10, 1000);
......@@ -244,7 +244,7 @@ StatusCode EventDefinitionM26::run(const std::shared_ptr<Clipboard>& clipboard)
time_before_ += add_begin_;
time_after_ -= add_begin_;
time_after_ += add_end_;
// If no timing layer is configured, we need to strech over all 3 frames
// If no timing layer is configured, we need to stretch over all 3 frames
} else if(use_all_mimosa_hits_) {
time_before_ += framelength_;
} else {
......
......@@ -24,7 +24,7 @@ end = begin + 230 \mu s
```
With an unknown probability the MIMOSA DAQ is not transmitting the correct two frames. Assuming frames t and t+1 are expected it can happen that frames t-1 and t are copied to disk.
This causes an artificial inefficiency if the above method is used and no additional timing layer is available. To overcome this issue, the option `pixelated_timing_layer` is added. If set to false, this enlarges the frames to cover the full possible timestamp range. This redduces the available statistics by a rate depenend fraction (Typically 30-40%).
This causes an artificial inefficiency if the above method is used and no additional timing layer is available. To overcome this issue, the option `pixelated_timing_layer` is added. If set to false, this enlarges the frames to cover the full possible timestamp range. This redduces the available statistics by a rate dependent fraction (Typically 30-40%).
......@@ -46,7 +46,7 @@ pivot pixel is close to its roll-over.
* `skip_time`: Time that can be skipped at the start of a run. All events with earlier timestamps are discarded. Default is `0ms`.
* `eudaq_loglevel`: Verbosity level of the EUDAQ logger instance of the converter module. Possible options are, in decreasing severity, `USER`, `ERROR`, `WARN`, `INFO`, `EXTRA` and `DEBUG`. The default level is `ERROR`. Please note that the EUDAQ verbosity can only be changed globally, i.e. when using instances of `EventLoaderEUDAQ2` below this module, the last occurrence will determine the (global) value of this parameter.
* `add_trigger`: Option to directly add the trigger of the TLU to the event. Note that no `EventLoaderEUDAQ2` for the TLU is required if this option is activated. Defaults to `false`
* `pixelated_timing_layer`: Define if an additional timing layer is beeing used. If so, the event length is defined as described in the text above. Defaults to `true`.
* `pixelated_timing_layer`: Define if an additional timing layer is being used. If so, the event length is defined as described in the text above. Defaults to `true`.
* `use_all_mimosa_hits`: Select if all hits in the two MIMOSA frames are used for analysis, or if pivot based selection is used in the converters. If set to `true`, a full frame of `math 115 \mu s` is added at to the `begin` defined above, for `false` it sets `math begin= 115\mu s`. If`pixelated_timing_layer=true` this has no effect. Should always be identical to `EventLoaderEUDAQ2` and defaults to `false`.
......
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