16#include <Math/Vector3Dfwd.h>
18#include <RtypesCore.h>
23#include <Math/Vector3D.h>
49 ROOT::Math::XYZVector pos,
50 ROOT::Math::XYZVector pix);
52 void Print(
const Option_t* )
const override;
56 return this->
GetPaddle() == other.GetPaddle();
63 [[nodiscard]]
auto GetT() const ->
double {
return time; }
66 [[nodiscard]]
auto GetE() const ->
double {
return energy; }
70 [[nodiscard]]
auto GetBeta() const ->
double;
76auto operator<<(std::ostream&, const
R3BNeulandHit&) -> std::ostream&;
82 static constexpr auto parse(format_parse_context& ctx) {
return ctx.end(); }
83 template <
typename FmtContent>
86 return fmt::format_to(
88 "{{module_id: {}, left_tdc: {}, right_tdc: {}, time: {} ns, left_qdc: {}, right_qdc: {}, energy: "
89 "{} MeV, position: {} cm, pixel: {}}}",
constexpr auto NEUTRON_MASS_MEV
auto GetQdcR() const -> double
auto GetPaddle() const -> int
auto GetT() const -> double
auto GetPosition() const -> const ROOT::Math::XYZVector &
auto GetBeta() const -> double
void Print(const Option_t *) const override
ROOT::Math::XYZVectorD pixel
auto GetPixel() const -> const ROOT::Math::XYZVector &
ROOT::Math::XYZVectorD position
auto operator==(const R3BNeulandHit &other) const -> bool
ClassDefOverride(R3BNeulandHit, 3)
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