#include "art/Framework/Principal/Handle.h"
#include "art/Framework/Services/Registry/ServiceHandle.h"
#include "lardataobj/RecoBase/Shower.h"
#include "larcore/Geometry/Geometry.h"
#include "canvas/Utilities/ensurePointer.h"
#include <numeric>
#include <vector>
Go to the source code of this file.
Namespaces | |
single_photon | |
Functions | |
template<typename T > | |
std::vector< size_t > | single_photon::sort_indexes (const std::vector< T > &v) |
template<typename T > | |
std::vector< size_t > | single_photon::sort_indexes_rev (const std::vector< T > &v) |
template<typename T > | |
bool | single_photon::marks_compare_vec_nonsense (std::vector< T > &v1, std::vector< T > &v2) |
double | single_photon::calcWire (double Y, double Z, int plane, int fTPC, int fCryostat, geo::GeometryCore const &geo) |
double | single_photon::getCoswrtWires (TVector3 shower_dir, TVector3 wire_dir) |
double | single_photon::degToRad (double deg) |
double | single_photon::radToDeg (double rad) |
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... | |