MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
Loading...
Searching...
No Matches
RunEpoch.hpp
Go to the documentation of this file.
1#ifndef RUNEPOCH_HPP
2#define RUNEPOCH_HPP
3
4#include "DedupStrategy.hpp"
6#include <Rtypes.h>
7#include <RtypesCore.h>
8#include <TString.h>
9#include <map>
10#include <utility>
11#include <vector>
12
18
33
34struct RunEpoch {
35 TString name;
37 Bool_t enabled;
38
46 TString file_tag;
47
48 std::vector<Int_t> runs;
50 Int_t max_files;
51
54 Int_t n_boards;
55 Int_t n_channels;
57 std::map<std::pair<Int_t, Int_t>, TString> channel_map;
59
64 std::vector<UShort_t> timing_ref_board_channels;
66 Bool_t do_sort;
73 Double_t
75 Double_t
79
80 Bool_t has_cathode;
81
104
112 Double_t grid_max_adc;
113 Double_t strip0_max_adc;
120
135};
136
137#endif
DedupStrategy
How to resolve more than one hit on the same channel within an event.
@ kLARGEST_ENERGY
Keep the highest-energy hit.
The per-group settings of the pulse-history correction.
RunSource
Which acquisition system produced an epoch's data.
Definition RunEpoch.hpp:14
@ kSOLARIS
SOLARIS DAQ.
Definition RunEpoch.hpp:16
@ kCOMPASS
CAEN CoMPASS.
Definition RunEpoch.hpp:15
Which channel groups the pulse-history correction fits and applies to, one setting per kernel group o...
Double_t cathode_max_adc
Cathode full scale.
Definition RunEpoch.hpp:111
std::vector< Int_t > runs
Run numbers belonging to this epoch.
Definition RunEpoch.hpp:48
Bool_t has_cathode
Whether this era instrumented the cathode.
Definition RunEpoch.hpp:80
Double_t seed_holdoff_max_ratio
Definition RunEpoch.hpp:71
UShort_t timing_ref_board
Definition RunEpoch.hpp:62
RunEpoch()
Construct with SOLARIS-era defaults; override per epoch.
Definition RunEpoch.hpp:122
Double_t right_odd_max_adc
Definition RunEpoch.hpp:118
Bool_t do_sort
Time-sort hits before event building.
Definition RunEpoch.hpp:66
Double_t left_even_max_adc
Left-side ceiling, even strips.
Definition RunEpoch.hpp:115
TString name
Epoch name, used in logs and plot paths.
Definition RunEpoch.hpp:35
Double_t right_even_max_adc
Right-side ceiling, even strips.
Definition RunEpoch.hpp:117
std::vector< UShort_t > timing_ref_board_channels
Channels on the reference board used to align the others against it.
Definition RunEpoch.hpp:64
Double_t grid_max_adc
Grid full scale.
Definition RunEpoch.hpp:112
Double_t strip0_max_adc
Strip 0 full scale.
Definition RunEpoch.hpp:113
Double_t event_time_window_us
Coincidence window, in microseconds, for grouping hits into one event.
Definition RunEpoch.hpp:68
Double_t strip_e_max_adc
Upper bound of the per-strip energy range.
Definition RunEpoch.hpp:110
Bool_t ignore_short_strips
Decode the long end only (L on odd strips, R on even), dropping the short end from every strip total.
Definition RunEpoch.hpp:102
TString file_tag
Prefix for this epoch's output files and plot directories.
Definition RunEpoch.hpp:46
Bool_t enabled
Whether this epoch participates in the analysis.
Definition RunEpoch.hpp:37
Int_t max_files
Cap on subfiles processed per run; -1 for all of them.
Definition RunEpoch.hpp:50
Double_t strip17_max_adc
Strip 17 full scale.
Definition RunEpoch.hpp:114
Double_t split_chunk_seconds
Definition RunEpoch.hpp:91
DedupStrategy dedup_strategy
How repeated hits on a slot resolve.
Definition RunEpoch.hpp:77
Double_t left_odd_max_adc
Left-side ceiling, odd strips.
Definition RunEpoch.hpp:116
Double_t reference_channel_min_adc
Lower energy gate on the seed channel.
Definition RunEpoch.hpp:74
Bool_t do_board_sync
Run the multi-board timing alignment.
Definition RunEpoch.hpp:65
Double_t strip_e_min_adc
Lower bound of the per-strip energy range.
Definition RunEpoch.hpp:109
std::map< std::pair< Int_t, Int_t >, TString > channel_map
Board and channel to detector-element name, e.g. "Grid", "de_l_03".
Definition RunEpoch.hpp:57
Double_t seed_holdoff_us
Seed holdoff and the pre-trigger size ratio; see SEED_HOLDOFF_US.
Definition RunEpoch.hpp:70
Int_t n_boards
Boards in this era's setup.
Definition RunEpoch.hpp:54
TString reference_channel
Channel whose hits seed events, e.g. "Grid".
Definition RunEpoch.hpp:72
PulseHistoryGroups pulse_history
The pulse-history groups in force for this epoch's hits: which chains are corrected,...
Definition RunEpoch.hpp:96
RunSource source
Acquisition system for this era.
Definition RunEpoch.hpp:36
Double_t reference_channel_max_adc
Upper energy gate on the seed channel.
Definition RunEpoch.hpp:76
Int_t n_channels
Channels per board.
Definition RunEpoch.hpp:55