|
R3BROOT
R3B analysis software
|
#include <R3BNeulandCalToHitTask.h>
Public Member Functions | |
| Cal2HitTask (std::string_view input_cal_data_name="NeulandCalData", std::string_view input_cal_2_hit_par_name="NeulandHitPar", std::string_view output_hit_data_name="NeulandHits") | |
| void | SetGlobalTimeOffset (double offset) |
| Set the global time offset relating to the reference bar. | |
| void | SetDistanceToTarget (double distance) |
| Public Member Functions inherited from R3B::Neuland::CalibrationTask | |
| CalibrationTask () | |
| CalibrationTask (std::string_view name, int iVerbose=1) | |
| auto | GetEventHeader () const -> auto * |
| auto | GetHistMonitor () -> DataMonitor & |
| auto | IsHistDisabled () const -> bool |
| auto | GetTrigger () const -> CalTrigger |
| void | SetTrigger (CalTrigger trigger) |
| void | SetDisableHist (bool is_hist_disabled=true) |
| void | SetDisableHistWrite (bool is_write_hist_disabled=true) |
| auto | GetBasePar () const -> auto * |
| template<typename ParType> | |
| auto | AddInputPar (std::string_view par_name, FairRuntimeDb *rtdb=FairRuntimeDb::instance()) -> ParType * |
| template<typename ParType> | |
| auto | AddOutputPar (std::string_view par_name, FairRuntimeDb *rtdb=FairRuntimeDb::instance()) -> ParType * |
Private Member Functions | |
| void | HistogramInit (DataMonitor &histograms) override |
| void | ExtraInit (FairRootManager *rootMan) override |
| void | SetExtraPar (FairRuntimeDb *rtdb) override |
| void | BeginOfEvent () override |
| void | TriggeredExec () override |
| void | EndOfTask () override |
| auto | CheckConditions () const -> bool override |
| void | calibrate () |
| void | calculate_calibrated_signals (const BarCalData &calBar, std::vector< CalibratedSignal > &signals, Side side) |
| void | construct_hits (const std::vector< CalibratedSignal > &left_signals, const std::vector< CalibratedSignal > &right_signals, const HitModulePar &par, std::vector< R3BNeulandHit > &hits) |
| auto | construct_hit (const LRPair< CalibratedSignal > &signalPair, const HitModulePar &par) const -> R3BNeulandHit |
| auto | signal_match_checking (const CalibratedSignal &first_signal, const CalibratedSignal &second_signal, const HitModulePar &par) -> bool |
| auto | get_hit_time (double first_t, double second_t) const -> double |
Static Private Member Functions | |
| static auto | get_calibrated_energy (const CalDataSignal &calSignal, const HitModulePar &par, R3B::Side side) -> ValueErrorD |
| static auto | get_calibrated_time (const CalDataSignal &calSignal, const HitModulePar &par, R3B::Side side) -> ValueErrorD |
| static auto | to_calibrated_signal (const CalDataSignal &calSignal, const HitModulePar &par, R3B::Side side) -> CalibratedSignal |
Private Attributes | |
| double | global_time_offset_ = 0. |
| double | distance_to_target_ = 0. |
| InputVectorConnector< BarCalData > | cal_data_ |
| OutputVectorConnector< R3BNeulandHit > | hit_data_ |
| InputParView< Cal2HitPar > | cal_to_hit_par_ |
| std::vector< CalibratedSignal > | temp_left_signals_ |
| std::vector< CalibratedSignal > | temp_right_signals_ |
Definition at line 39 of file R3BNeulandCalToHitTask.h.
|
explicit |
Definition at line 83 of file R3BNeulandCalToHitTask.cxx.
|
inlineoverrideprivatevirtual |
Reimplemented from R3B::Neuland::CalibrationTask.
Definition at line 73 of file R3BNeulandCalToHitTask.h.
|
private |
Definition at line 130 of file R3BNeulandCalToHitTask.cxx.
|
private |
Definition at line 109 of file R3BNeulandCalToHitTask.cxx.
|
nodiscardoverrideprivatevirtual |
Reimplemented from R3B::Neuland::CalibrationTask.
Definition at line 202 of file R3BNeulandCalToHitTask.cxx.
|
nodiscardprivate |
Definition at line 144 of file R3BNeulandCalToHitTask.cxx.
|
private |
Definition at line 167 of file R3BNeulandCalToHitTask.cxx.
|
overrideprivatevirtual |
Reimplemented from R3B::Neuland::CalibrationTask.
Definition at line 200 of file R3BNeulandCalToHitTask.cxx.
|
overrideprivatevirtual |
Reimplemented from R3B::Neuland::CalibrationTask.
Definition at line 95 of file R3BNeulandCalToHitTask.cxx.
|
staticprivate |
Definition at line 230 of file R3BNeulandCalToHitTask.cxx.
|
staticprivate |
Definition at line 247 of file R3BNeulandCalToHitTask.cxx.
|
inlinenodiscardprivate |
Definition at line 213 of file R3BNeulandCalToHitTask.cxx.
|
overrideprivatevirtual |
Reimplemented from R3B::Neuland::CalibrationTask.
Definition at line 93 of file R3BNeulandCalToHitTask.cxx.
|
inline |
Definition at line 56 of file R3BNeulandCalToHitTask.h.
|
overrideprivatevirtual |
Reimplemented from R3B::Neuland::CalibrationTask.
Definition at line 105 of file R3BNeulandCalToHitTask.cxx.
|
inline |
The time offset value should be determined by fitting the gamma ray peak from the reference bar with the module number equal to Calibration::DEFAULT_TSYNC_REFERENCE_BAR_NUM.
| offset | Time offset from the LOS |
Definition at line 55 of file R3BNeulandCalToHitTask.h.
|
nodiscardprivate |
Definition at line 182 of file R3BNeulandCalToHitTask.cxx.
|
staticprivate |
Definition at line 257 of file R3BNeulandCalToHitTask.cxx.
|
overrideprivatevirtual |
Implements R3B::Neuland::CalibrationTask.
Definition at line 107 of file R3BNeulandCalToHitTask.cxx.
|
private |
Definition at line 61 of file R3BNeulandCalToHitTask.h.
|
private |
Definition at line 63 of file R3BNeulandCalToHitTask.h.
|
private |
Definition at line 60 of file R3BNeulandCalToHitTask.h.
|
private |
Definition at line 59 of file R3BNeulandCalToHitTask.h.
|
private |
Definition at line 62 of file R3BNeulandCalToHitTask.h.
|
private |
Definition at line 66 of file R3BNeulandCalToHitTask.h.
|
private |
Definition at line 67 of file R3BNeulandCalToHitTask.h.