4 #ifndef TrackMomentumCalculator_H
5 #define TrackMomentumCalculator_H
7 #include "canvas/Persistency/Common/Ptr.h"
34 std::vector<float>
const& yyy,
35 std::vector<float>
const& zzz);
38 std::vector<float>
x,
nx;
39 std::vector<float>
y,
ny;
40 std::vector<float>
z,
nz;
44 std::optional<Segments>
getSegTracks_(std::vector<float>
const& xxx,
45 std::vector<float>
const& yyy,
46 std::vector<float>
const& zzz,
53 std::vector<float>& ej,
54 std::vector<float>& th,
55 std::vector<float>& ind,
59 double my_g(
double xx,
double Q,
double s)
const;
62 std::vector<float>
const& dEj,
63 std::vector<float>
const& dthij,
64 std::vector<float>
const& ind,
65 double x0,
double x1)
const;
107 #endif // TrackMomentumCalculator_H
double GetMomentumMultiScatterChi2(art::Ptr< recob::Track > const &trk, const bool checkValidPoints=false)
double my_g(double xx, double Q, double s) const
int getDeltaThetaij_(std::vector< float > &ei, std::vector< float > &ej, std::vector< float > &th, std::vector< float > &ind, Segments const &segments, double thick) const
std::optional< Segments > getSegTracks_(std::vector< float > const &xxx, std::vector< float > const &yyy, std::vector< float > const &zzz, double seg_size)
double find_angle(double vz, double vy) const
TPolyLine3D * gr_reco_xyz
std::tuple< double, double, double > getDeltaThetaRMS_(Segments const &segments, double thick) const
Provides recob::Track data product.
double GetMuMultiScatterLLHD3(art::Ptr< recob::Track > const &trk, bool dir)
std::vector< float > steps
TrackMomentumCalculator(double minLength=100.0, double maxLength=1350.0)
double my_mcs_llhd(std::vector< float > const &dEi, std::vector< float > const &dEj, std::vector< float > const &dthij, std::vector< float > const &ind, double x0, double x1) const
then echo File list $list not found else cat $list while read file do echo $file sed s
TVector3 GetMultiScatterStartingPoint(art::Ptr< recob::Track > const &trk)
double GetMomentumMultiScatterLLHD(art::Ptr< recob::Track > const &trk)
double GetTrackMomentum(double trkrange, int pdg) const
bool plotRecoTracks_(std::vector< float > const &xxx, std::vector< float > const &yyy, std::vector< float > const &zzz)