Commit df735b76 authored by Lennart Huth's avatar Lennart Huth
Browse files

removed unused parameter and updated readme

parent a32bcda2
......@@ -29,7 +29,6 @@ EventLoaderMuPixTelescope::EventLoaderMuPixTelescope(Configuration& config, std:
buffer_depth_ = config.get<unsigned>("buffer_depth");
isSorted_ = config_.get<bool>("is_sorted");
timeOffset_ = config_.get<double>("time_offset");
ts2IsGray_ = config_.get<bool>("ts2_is_gray");
if(config_.has("input_file"))
input_file_ = config_.get<string>("input_file");
}
......
......@@ -72,7 +72,6 @@ namespace corryvreckan {
PixelVector pixels_{};
std::string inputDirectory_;
bool isSorted_;
bool ts2IsGray_;
int runNumber_;
BlockFile* blockFile_;
TelescopeFrame tf_;
......
......@@ -19,7 +19,7 @@ The detector name in the geometry file is used to determine the tag:
Everything behin the first `_` is used as tag, if none found the tag is assumed to be the detector name.
The correct type is given by the `type` in the geometry.
It is assumed that the timestamp has 10bit and runs at a frequency of 125 MHz (8ns bins)
Eventdefinition for the `EventLoaderMuPixTelescope`:
* Sorted telescope data: The loader can define its own events as the full
......@@ -29,14 +29,15 @@ be a `Metronome` (8192ns are recommended
to match the internal time structure) for standalone telescope data. Otherwise
any other event definition (`EventLoaderEUDAQ2` `EventDefinitionM26`) can be used.
### Dependencies
This module requires a installation of the mupix8_daq package that is used by the Mu3e pixel group to read out the sensors. This library is non-public. Authorized users can download it via https://bitbucket.org/mu3e/mupix8_daq.git
### Parameters
* `input_directory`: Defines the input file. No default
* `Run`: 6 digit Run number, with leading zeros being automatically added, to open the data file with the standard format `telescope_run_RUN.blck`
* `input_file`: Overwrite the default file created based on the `Run`. No default.
* `is_sorted`: Defines if data recorded is on FPGA timestamp sorted. Defaults to `false`
* `ts2_is_gray`: Defines if the timestamp is gray encoded or not. Defaults to
`false`, currently not supported.
* `time_offset`: Set an offset to correct for the expected delay between
* `time_offset`: Substract an offset to correct for the expected delay between
issuing the synchronoues reset and receiving it. Only used if
`is_sorted==false`. Defaults to `0`
* `input_file`: Overwrite the input filename if the filename has a non-default
......@@ -47,8 +48,11 @@ structure. Inactive if not given.
For all detectors, the following plots are produced:
* 2D histogram of pixel hit positions
* 2D histogram of pixel read in but not added to an event
* 1D histogram of the pixel timestamps
* 1D histogram of the pixel ToT - currently not filled
* 1D histogram of number of pixels per event
* 1D histogram with the number of pixels aeveraged over 1k events as function of event number
### Usage
```toml
......
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