19#include <RtypesCore.h>
48 void Print(
const Option_t* )
const override;
52 return this->
GetPaddle() == other.GetPaddle();
59 [[nodiscard]]
auto GetT() const ->
double {
return time; }
62 [[nodiscard]]
auto GetE() const ->
double {
return energy; }
66 [[nodiscard]]
auto GetBeta() const ->
double;
72auto operator<<(std::ostream&, const
R3BNeulandHit&) -> std::ostream&;
78 static constexpr auto parse(format_parse_context& ctx) {
return ctx.end(); }
79 template <
typename FmtContent>
84 "{{module_id: {}, left_tdc: {}, right_tdc: {}, time: {} ns, left_qdc: {}, right_qdc: {}, energy: "
85 "{} MeV, position: {} cm, pixel: {}}}",
constexpr auto NEUTRON_MASS_MEV
ClassDefOverride(R3BNeulandHit, 2)
auto GetQdcR() const -> double
auto GetPaddle() const -> int
auto GetT() const -> double
auto GetBeta() const -> double
void Print(const Option_t *) const override
auto GetPixel() const -> TVector3
auto operator==(const R3BNeulandHit &other) const -> bool
auto GetPosition() const -> TVector3
auto GetTdcR() const -> double
auto GetQdcL() const -> double
auto GetEToF(double mass=NEUTRON_MASS_MEV) const -> double
auto GetE() const -> double
auto GetTdcL() const -> double