ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
Go to the documentation of this file.
4 #include <Math/Point3D.h>
5 #include <Math/Point3Dfwd.h>
17 class TMemberInspector;
59 Double_t
FitPattern(
const std::vector<AtHit> &pointsToFit, Double_t qThreshold = -1);
60 Double_t
FitPattern(
const std::vector<const AtHit *> &pointsToFit, Double_t qThreshold = -1);
61 Double_t
FitPattern(
const std::vector<XYZPoint> &pointsToFit);
114 TEveLine *
GetEveLine(
double tMin,
double tMax,
int n)
const;
123 virtual std::unique_ptr<AtPattern>
Clone()
const = 0;
150 virtual void FitPattern(
const std::vector<XYZPoint> &pointsToFit,
const std::vector<double> &pointCharge) = 0;
155 #endif //#ifndef ATTRACKPATTERN_H
virtual XYZPoint ClosestPointOnPattern(const XYZPoint &point) const =0
Closest point on pattern.
virtual ~AtPattern()=default
void SetPatternPar(std::vector< double > par)
virtual std::unique_ptr< AtPattern > Clone() const =0
AtPattern(AtPattern &&)=default
virtual void DefinePattern(std::vector< double > par)
Define based on parameters.
virtual XYZPoint GetPointAt(double t) const =0
Point on pattern at t.
AtPattern(const AtPattern &)=default
ROOT::Math::XYZPoint XYZPoint
Describes a shape in 3D space.
AtPattern(Int_t numPoints=0)
virtual void DefinePattern(const std::vector< XYZPoint > &points)=0
Define based on points.
std::vector< std::unique_ptr< TEveLine > > TEveLineVec
Double_t GetTotCharge() const
TEveLine * GetEveLine(double tMin, double tMax, int n) const
Get visual representation of pattern.
virtual void FitPattern(const std::vector< XYZPoint > &pointsToFit, const std::vector< double > &pointCharge)=0
virtual std::vector< double > GetPatternPar() const
Get list or parameters that describe the pattern.
virtual Double_t DistanceToPattern(const XYZPoint &point) const =0
Closest distance to pattern.
Int_t GetNumPoints() const
Number of points to define the pattern.
virtual TEveElement * GetEveElement() const =0
Get visual representation of pattern.
std::vector< Double_t > fPatternPar
void SetChi2(double chi2)
Double_t FitPattern(const std::vector< AtHit > &pointsToFit, Double_t qThreshold=-1)
Fit the pattern.
Point in space with charge.
ROOT::Math::XYZPoint XYZPoint