All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
helper_math.cxx File Reference
#include "sbncode/SinglePhotonAnalysis/HelperFunctions/helper_math.h"
#include "larpandora/LArPandoraInterface/LArPandoraHelper.h"

Go to the source code of this file.

Namespaces

 single_photon
 

Functions

double single_photon::dist_line_point (std::vector< double > &X1, std::vector< double > &X2, std::vector< double > &point)
 
double single_photon::impact_paramater_shr (double x, double y, double z, art::Ptr< recob::Shower > &shr)
 
double single_photon::implied_invar_mass (double vx, double vy, double vz, art::Ptr< recob::Shower > &s1, double E1, art::Ptr< recob::Shower > &s2, double E2)
 
double single_photon::invar_mass (art::Ptr< recob::Shower > &s1, double E1, art::Ptr< recob::Shower > &s2, double E2)
 
double single_photon::getMedian (std::vector< double > thisvector)
 
double single_photon::getAmalgamateddEdx (double angle_wrt_plane0, double angle_wrt_plane1, double angle_wrt_plane2, double median_plane0, double median_plane1, double median_plane2, int plane0_nhits, int plane1_nhits, int plane2_nhits)
 
int single_photon::getAmalgamateddEdxNHits (double amalgamateddEdx, double median_plane0, double median_plane1, double median_plane2, int plane0_nhits, int plane1_nhits, int plane2_nhits)
 
std::vector< std::vector
< double > > 
single_photon::buildRectangle (std::vector< double > cluster_start, std::vector< double > cluster_axis, double width, double length)
 Calculates the four corners of a rectangle of given length and width around a cluster given the start point and axis direction. More...