All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
StubMergeAlgorithms.h File Reference
#include "canvas/Persistency/Common/Ptr.h"
#include "larcorealg/Geometry/GeometryCore.h"
#include "lardataalg/DetectorInfo/DetectorPropertiesStandard.h"
#include "lardata/DetectorInfoServices/DetectorPropertiesService.h"
#include "lardataalg/DetectorInfo/DetectorClocksStandard.h"
#include "larevt/SpaceCharge/SpaceCharge.h"
#include "lardataobj/RecoBase/PFParticle.h"
#include "lardataobj/RecoBase/Hit.h"
#include "lardataobj/RecoBase/Vertex.h"
#include "sbnobj/Common/Reco/VertexHit.h"
#include "sbnobj/Common/Reco/Stub.h"

Go to the source code of this file.

Classes

struct  sbn::StubInfo
 Internal struct: contains information on stub and other associated data products. More...
 

Namespaces

 sbn
 This module creates Common Analysis Files.
 

Functions

double sbn::GetPitch (const geo::GeometryCore *geo, const spacecharge::SpaceCharge *sce, geo::Point_t loc, geo::Vector_t dir, geo::View_t view, geo::TPCID tpc, bool correct_sce, bool track_is_sce_corrected, float xsign=1.)
 Computes the track-pitch on a plane given an input direction and location. More...
 
geo::Point_t sbn::GetLocation (const spacecharge::SpaceCharge *sce, geo::Point_t loc_w, geo::TPCID TPC, float xsign=1.)
 Get the location in the presence of space charge. More...
 
double sbn::GetEfield (const detinfo::DetectorPropertiesData &dprop, const spacecharge::SpaceCharge *sce, geo::Point_t loc, geo::TPCID TPC, bool correct_loc_sce, float xsign=1.)
 Get the E-Field in the presence of space charge. More...
 
geo::Point_t sbn::GetLocationAtWires (const spacecharge::SpaceCharge *sce, const geo::GeometryCore *geo, geo::Point_t loc, geo::TPCID TPC, float xsign=1.)
 Get the SCE-distorted location (i.e. the location "seen" by the wireplanes) More...
 
bool sbn::StubContains (const sbn::StubInfo &A, const sbn::StubInfo &B)
 Returns whether stub A contains stub B. More...
 
float sbn::StubDirectionDot (const sbn::StubInfo &A, const sbn::StubInfo &B, const geo::GeometryCore *geo, const detinfo::DetectorPropertiesData &dprop)
 Computes the dot product of two stubs. More...
 
float sbn::StubTimeOffset (const sbn::StubInfo &A, const sbn::StubInfo &B, const detinfo::DetectorClocksData &dclock, const detinfo::DetectorPropertiesData &dprop)
 
geo::Point_t sbn::TwoStubEndPosition (const sbn::StubInfo &A, const sbn::StubInfo &B, const geo::GeometryCore *geo, const spacecharge::SpaceCharge *sce, const detinfo::DetectorPropertiesData &dprop)
 Returns an updated end position of a stub after merging across two planes. More...
 
float sbn::StubChargeOffset (const sbn::StubInfo &A, const sbn::StubInfo &B)
 Difference of the total charge between two stubs. More...
 
float sbn::StubPeakChargeOffset (const sbn::StubInfo &A, const sbn::StubInfo &B)
 Difference of the endpoint charge between two stubs. More...
 
float sbn::StubPeakdQdxOffset (const sbn::StubInfo &A, const sbn::StubInfo &B, const geo::GeometryCore *geo, const spacecharge::SpaceCharge *sce, const detinfo::DetectorPropertiesData &dprop)
 Difference of the endpoint dQ/dx between two stubs. More...