LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "VertexFitAlg.h"
Public Member Functions | |
void | VertexFit (std::vector< std::vector< geo::WireID >> const &hitWID, std::vector< std::vector< double >> const &hitX, std::vector< std::vector< double >> const &hitXErr, TVector3 &VtxPos, TVector3 &VtxPosErr, std::vector< TVector3 > &TrkDir, std::vector< TVector3 > &TrkDirErr, float &ChiDOF) const |
Static Public Member Functions | |
static void | fcnVtxPos (Int_t &, Double_t *, Double_t &fval, double *par, Int_t flag) |
Static Public Attributes | |
static VertexFitMinuitStruct | fVtxFitMinStr |
Private Attributes | |
art::ServiceHandle< geo::Geometry const > | geom |
Definition at line 28 of file VertexFitAlg.h.
|
static |
Definition at line 27 of file VertexFitAlg.cxx.
References util::abs(), VertexFitMinuitStruct::ChiDoF, VertexFitMinuitStruct::DoF, E, VertexFitMinuitStruct::FirstWire, fVtxFitMinStr, VertexFitMinuitStruct::HitX, VertexFitMinuitStruct::HitXErr, VertexFitMinuitStruct::OrthY, VertexFitMinuitStruct::OrthZ, VertexFitMinuitStruct::Plane, VertexFitMinuitStruct::Wire, and VertexFitMinuitStruct::WirePitch.
Referenced by VertexFit().
void trkf::VertexFitAlg::VertexFit | ( | std::vector< std::vector< geo::WireID >> const & | hitWID, |
std::vector< std::vector< double >> const & | hitX, | ||
std::vector< std::vector< double >> const & | hitXErr, | ||
TVector3 & | VtxPos, | ||
TVector3 & | VtxPosErr, | ||
std::vector< TVector3 > & | TrkDir, | ||
std::vector< TVector3 > & | TrkDirErr, | ||
float & | ChiDOF | ||
) | const |
Definition at line 85 of file VertexFitAlg.cxx.
References VertexFitMinuitStruct::ChiDoF, geo::CryostatID::Cryostat, VertexFitMinuitStruct::Cstat, VertexFitMinuitStruct::Dir, VertexFitMinuitStruct::DoF, fcnVtxPos(), VertexFitMinuitStruct::FirstWire, fVtxFitMinStr, geom, VertexFitMinuitStruct::HitX, VertexFitMinuitStruct::HitXErr, VertexFitMinuitStruct::NPlanes, geo::TPCGeo::Nplanes(), VertexFitMinuitStruct::OrthY, VertexFitMinuitStruct::OrthZ, VertexFitMinuitStruct::Plane, util::size(), VertexFitMinuitStruct::TPC, geo::TPCID::TPC, geo::GeometryCore::TPC(), VertexFitMinuitStruct::VtxPos, VertexFitMinuitStruct::Wire, geo::GeometryCore::WireCoordinate(), VertexFitMinuitStruct::WirePitch, and geo::GeometryCore::WirePitch().
Referenced by trkf::CCTrackMaker::FitVertices().
|
static |
Definition at line 40 of file VertexFitAlg.h.
Referenced by fcnVtxPos(), and VertexFit().
|
private |
Definition at line 45 of file VertexFitAlg.h.
Referenced by VertexFit().