1 #ifndef GEOMETRIC3DVERTEXFITTER_H 2 #define GEOMETRIC3DVERTEXFITTER_H 5 #include "canvas/Persistency/Common/FindManyP.h" 16 class DetectorPropertiesData;
59 Comment(
"Debugging level: 0 for no printouts, 1 for minimal, 2 for full.")};
63 "Cut on maximum impact parameter significance to use the track in the vertex fit.")};
70 std::reference_wrapper<const recob::Track>
b)
const 72 return ((a.get().Trajectory().Start() - vtxPos_).Mag2() <
73 (b.get().Trajectory().Start() - vtxPos_).Mag2());
86 : par1(p1), par2(p2), cov1(c1), cov2(c2), plane(p)
96 : debugLevel(o().debugLevel()), sipCut(o().sipCut())
98 prop = std::make_unique<TrackStatePropagator>(
p);
104 const std::unique_ptr<art::FindManyP<recob::Track>>& assocTracks)
const;
128 std::vector<recob::VertexAssnMeta> computeMeta(
170 std::unique_ptr<TrackStatePropagator>
prop;
181 std::pair<TrackState, double>
186 std::pair<TrackState, double> weightedAverageState(
SVector2& par1,
std::pair< TrackState, double > weightedAverageState(ParsCovsOnPlane &pcop) const
const recob::tracking::Point_t & vtxPos_
TracksFromVertexSorter(const recob::tracking::Point_t &vtxPos)
ParsCovsOnPlane(const SVector2 &p1, const SVector2 &p2, const SMatrixSym22 &c1, const SMatrixSym22 &c2, const recob::tracking::Plane &p)
Wrapper class to facilitate vertex production.
recob::tracking::SVector2 SVector2
ChannelGroupService::Name Name
recob::tracking::SMatrixSym22 SMatrixSym22
ROOT::Math::SMatrix< Double32_t, 3, 3, ROOT::Math::MatRepSym< Double32_t, 3 > > SMatrixSym33
ROOT::Math::SVector< Double32_t, 3 > SVector3
recob::tracking::SVector3 SVector3
3D vertex fitter based on the geometric properties (start position, direction, covariance) of the tra...
ROOT::Math::SVector< Double32_t, 2 > SVector2
std::unique_ptr< TrackStatePropagator > prop
General LArSoft Utilities.
Class defining a plane for tracking. It provides various functionalities to convert track parameters ...
bool operator()(std::reference_wrapper< const recob::Track > a, std::reference_wrapper< const recob::Track > b) const
Geometric3DVertexFitter(const fhicl::Table< Config > &o, const fhicl::Table< TrackStatePropagator::Config > &p)
ROOT::Math::SMatrix< Double32_t, 2, 2, ROOT::Math::MatRepSym< Double32_t, 2 > > SMatrixSym22
recob::tracking::SMatrixSym33 SMatrixSym33
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< Coord_t >, ROOT::Math::GlobalCoordinateSystemTag > Point_t
Type for representation of position in physical 3D space. See recob::tracking::Coord_t for more detai...
recob::tracking::Plane plane
Track from a non-cascading particle.A recob::Track consists of a recob::TrackTrajectory, plus additional members relevant for a "fitted" track:
std::vector< std::reference_wrapper< const recob::Track > > TrackRefVec