A 3-vector with more efficient storage than TVector3. More...
#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-02-25/StandardRecord/SRVector3D.h"
Public Member Functions | |
SRVector3D () | |
SRVector3D (float x, float y, float z) | |
SRVector3D (const TVector3 &v) | |
Easy conversion from TVector3. More... | |
virtual | ~SRVector3D () |
void | SetXYZ (float x, float y, float z) |
operator TVector3 () const | |
Easy conversion back to TVector3. More... | |
void | SetX (float _x) |
void | SetY (float _y) |
void | SetZ (float _z) |
float | X () const |
float | Y () const |
float | Z () const |
float | Mag2 () const |
float | Mag () const |
float | Dot (const SRVector3D &v) const |
SRVector3D | Unit () const |
Public Attributes | |
float | x |
float | y |
float | z |
A 3-vector with more efficient storage than TVector3.
Definition at line 14 of file SRVector3D.h.
caf::SRVector3D::SRVector3D | ( | ) |
caf::SRVector3D::SRVector3D | ( | float | x, |
float | y, | ||
float | z | ||
) |
Definition at line 17 of file SRVector3D.cxx.
caf::SRVector3D::SRVector3D | ( | const TVector3 & | v | ) |
|
virtual |
Definition at line 27 of file SRVector3D.cxx.
|
inline |
Definition at line 41 of file SRVector3D.h.
|
inline |
Definition at line 40 of file SRVector3D.h.
References Mag2(), and std::sqrt().
Referenced by Unit().
|
inline |
caf::SRVector3D::operator TVector3 | ( | ) | const |
|
inline |
Definition at line 28 of file SRVector3D.h.
Referenced by caf::FillHadClustVars(), and caf::FillTrackVarsBpfFitSum().
void caf::SRVector3D::SetXYZ | ( | float | x, |
float | y, | ||
float | z | ||
) |
Definition at line 31 of file SRVector3D.cxx.
Referenced by caf::AddCosmicTruthToVec(), caf::SRVertex::setDefault(), caf::SRHoughVertex::setDefault(), caf::SRElastic::setDefault(), and caf::SRMRCCParent::setDefault().
|
inline |
Definition at line 29 of file SRVector3D.h.
Referenced by caf::FillHadClustVars(), and caf::FillTrackVarsBpfFitSum().
|
inline |
Definition at line 30 of file SRVector3D.h.
Referenced by caf::BlindThisSlice(), and caf::FillTrackVarsBpfFitSum().
|
inline |
|
inline |
Definition at line 32 of file SRVector3D.h.
References x.
Referenced by caf::CAFMaker::AddMCTruthToVec(), caf::Proxy< caf::SRVector3D >::Dot(), ana::BENDecomp::ReduceForBEN2020Decaf(), ReduceForSignalDecaf(), and caf::TrueNeutrinoDistance().
|
inline |
Definition at line 33 of file SRVector3D.h.
References y.
Referenced by caf::CAFMaker::AddMCTruthToVec(), ana::BENDecomp::ReduceForBEN2020Decaf(), ReduceForSignalDecaf(), and caf::TrueNeutrinoDistance().
|
inline |
Definition at line 34 of file SRVector3D.h.
References z.
Referenced by caf::CAFMaker::AddMCTruthToVec(), ana::BENDecomp::ReduceForBEN2020Decaf(), ReduceForSignalDecaf(), and caf::TrueNeutrinoDistance().
float caf::SRVector3D::x |
Definition at line 48 of file SRVector3D.h.
Referenced by mcscore.MCVertex::__init__(), caf::Proxy< caf::SRVector3D >::CheckEquals(), Dot(), mcscore.MCVertex::dump_vertex(), flat::Flat< caf::SRVector3D >::Fill(), hdf5::HDF5MRCCParent< Tidx >::Fill(), hdf5::HDF5JMShower< Tidx >::Fill(), hdf5::HDF5Beam< Tidx >::Fill(), hdf5::HDF5BpfId< Tidx >::Fill(), hdf5::HDF5HadClust< Tidx >::Fill(), hdf5::HDF5VertexDT< Tidx >::Fill(), hdf5::HDF5Vertex< Tidx >::Fill(), hdf5::HDF5ParticleTruth< Tidx >::Fill(), hdf5::HDF5Slice< Tidx >::Fill(), hdf5::HDF5NueSandbox< Tidx >::Fill(), hdf5::HDF5Cosmic< Tidx >::Fill(), hdf5::HDF5Truth< Tidx >::Fill(), hdf5::HDF5SlcME< Tidx >::Fill(), hdf5::HDF5Shower< Tidx >::Fill(), hdf5::HDF5TrkME< Tidx >::Fill(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5Neutrino< Tidx >::Fill(), hdf5::HDF5ShowerLID< Tidx >::Fill(), hdf5::HDF5Track< Tidx >::Fill(), hdf5::HDF5BpfTrack< Tidx >::Fill(), hdf5::HDF5KalmanTrack< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), hdf5::HDF5HoughVertex< Tidx >::Fill(), hdf5::HDF5Elastic< Tidx >::Fill(), FillTree(), operator TVector3(), caf::Proxy< caf::SRVector3D >::operator=(), mcscore.MCVertex::printout(), ana::BENDecomp::ReduceForBEN2020Decaf(), ReduceForSignalDecaf(), SetXYZ(), tree_maker_simple(), useBDTG(), and X().
float caf::SRVector3D::y |
Definition at line 49 of file SRVector3D.h.
Referenced by mcscore.MCVertex::__init__(), caf::Proxy< caf::SRVector3D >::CheckEquals(), Dot(), mcscore.MCVertex::dump_vertex(), flat::Flat< caf::SRVector3D >::Fill(), hdf5::HDF5MRCCParent< Tidx >::Fill(), hdf5::HDF5JMShower< Tidx >::Fill(), hdf5::HDF5Beam< Tidx >::Fill(), hdf5::HDF5BpfId< Tidx >::Fill(), hdf5::HDF5HadClust< Tidx >::Fill(), hdf5::HDF5VertexDT< Tidx >::Fill(), hdf5::HDF5Vertex< Tidx >::Fill(), hdf5::HDF5ParticleTruth< Tidx >::Fill(), hdf5::HDF5Slice< Tidx >::Fill(), hdf5::HDF5NueSandbox< Tidx >::Fill(), hdf5::HDF5Cosmic< Tidx >::Fill(), hdf5::HDF5Truth< Tidx >::Fill(), hdf5::HDF5SlcME< Tidx >::Fill(), hdf5::HDF5Shower< Tidx >::Fill(), hdf5::HDF5TrkME< Tidx >::Fill(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5Neutrino< Tidx >::Fill(), hdf5::HDF5ShowerLID< Tidx >::Fill(), hdf5::HDF5Track< Tidx >::Fill(), hdf5::HDF5BpfTrack< Tidx >::Fill(), hdf5::HDF5KalmanTrack< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), hdf5::HDF5HoughVertex< Tidx >::Fill(), hdf5::HDF5Elastic< Tidx >::Fill(), FillTree(), operator TVector3(), caf::Proxy< caf::SRVector3D >::operator=(), mcscore.MCVertex::printout(), ana::BENDecomp::ReduceForBEN2020Decaf(), ReduceForSignalDecaf(), SetXYZ(), tree_maker_simple(), trim_caf(), useBDTG(), and Y().
float caf::SRVector3D::z |
Definition at line 50 of file SRVector3D.h.
Referenced by mcscore.MCVertex::__init__(), caf::Proxy< caf::SRVector3D >::CheckEquals(), Dot(), mcscore.MCVertex::dump_vertex(), flat::Flat< caf::SRVector3D >::Fill(), hdf5::HDF5MRCCParent< Tidx >::Fill(), hdf5::HDF5JMShower< Tidx >::Fill(), hdf5::HDF5Beam< Tidx >::Fill(), hdf5::HDF5BpfId< Tidx >::Fill(), hdf5::HDF5HadClust< Tidx >::Fill(), hdf5::HDF5VertexDT< Tidx >::Fill(), hdf5::HDF5Vertex< Tidx >::Fill(), hdf5::HDF5ParticleTruth< Tidx >::Fill(), hdf5::HDF5Slice< Tidx >::Fill(), hdf5::HDF5NueSandbox< Tidx >::Fill(), hdf5::HDF5Cosmic< Tidx >::Fill(), hdf5::HDF5Truth< Tidx >::Fill(), hdf5::HDF5SlcME< Tidx >::Fill(), hdf5::HDF5Shower< Tidx >::Fill(), hdf5::HDF5TrkME< Tidx >::Fill(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5Neutrino< Tidx >::Fill(), hdf5::HDF5ShowerLID< Tidx >::Fill(), hdf5::HDF5Track< Tidx >::Fill(), hdf5::HDF5BpfTrack< Tidx >::Fill(), hdf5::HDF5KalmanTrack< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), hdf5::HDF5HoughVertex< Tidx >::Fill(), hdf5::HDF5Elastic< Tidx >::Fill(), FillTree(), Mag2(), operator TVector3(), caf::Proxy< caf::SRVector3D >::operator=(), mcscore.MCVertex::printout(), ana::BENDecomp::ReduceForBEN2020Decaf(), ReduceForSignalDecaf(), SetXYZ(), tree_maker_simple(), useBDTG(), and Z().