1 #ifndef CRTCOMMONUTILS_H_SEEN
2 #define CRTCOMMONUTILS_H_SEEN
12 #include "messagefacility/MessageLogger/MessageLogger.h"
39 namespace CRTCommonUtils{
53 std::pair<TVector3, TVector3>
CubeIntersection(TVector3 min, TVector3 max, TVector3 start, TVector3 end);
double DistToCrtHit(sbn::crt::CRTHit hit, TVector3 start, TVector3 end)
enum::sbnd::CRTPlane GetPlaneIndex(std::string tagger)
auto end(FixedBins< T, C > const &) noexcept
double LineSegmentDistance(TVector3 start1, TVector3 end1, TVector3 start2, TVector3 end2)
double SimpleDCA(sbn::crt::CRTHit hit, TVector3 start, TVector3 direction)
stream1 can override from command line with o or output services user sbnd
std::pair< TVector3, TVector3 > CubeIntersection(TVector3 min, TVector3 max, TVector3 start, TVector3 end)