1 #ifndef GEOMETRIC3DVERTEXFITTER_H 2 #define GEOMETRIC3DVERTEXFITTER_H 19 class DetectorPropertiesData;
67 Comment(
"Debugging level: 0 for no printouts, 1 for minimal, 2 for full.")};
71 "Cut on maximum impact parameter significance to use the track in the vertex fit.")};
76 bool operator()(std::reference_wrapper<const recob::Track> a,
77 std::reference_wrapper<const recob::Track> b)
const 79 return ((a.get().Trajectory().Start() - vtxPos_).Mag2() <
80 (b.get().Trajectory().Start() - vtxPos_).Mag2());
93 : par1(p1), par2(p2), cov1(c1), cov2(c2), plane(p)
103 : debugLevel(o().debugLevel()), sipCut(o().sipCut())
105 prop = std::make_unique<TrackStatePropagator>(p);
135 std::vector<recob::VertexAssnMeta> computeMeta(
177 std::unique_ptr<TrackStatePropagator>
prop;
192 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
recob::tracking::SMatrixSym22 SMatrixSym22
recob::tracking::SVector3 SVector3
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
ROOT::Math::SVector< Double32_t, 2 > SVector2
3D vertex fitter based on the geometric properties (start position, direction, covariance) of the tra...
ROOT::Math::SMatrix< Double32_t, 3, 3, ROOT::Math::MatRepSym< Double32_t, 3 >> SMatrixSym33
std::unique_ptr< TrackStatePropagator > prop
ROOT::Math::SMatrix< Double32_t, 2, 2, ROOT::Math::MatRepSym< Double32_t, 2 >> SMatrixSym22
ROOT::Math::SVector< Double32_t, 3 > SVector3
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)
cout<< "-> Edep in the target
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