ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
Describes a fission event. More...
#include <AtPatternFission.h>
Protected Member Functions | |
virtual void | FitPattern (const std::vector< XYZPoint > &points, const std::vector< double > &charge) override |
![]() | |
void | DefinePattern (const XYZPoint &vertex, const XYZVector &beamDir, const std::array< XYZVector, 2 > &fragDir) |
Additional Inherited Members | |
![]() | |
using | XYZPoint = ROOT::Math::XYZPoint |
using | XYZVector = ROOT::Math::XYZVector |
![]() | |
using | XYZPoint = ROOT::Math::XYZPoint |
![]() | |
AtPatternY () | |
XYZPoint | GetVertex () const |
Get the vertex of the Y shape. More... | |
XYZVector | GetBeamDirection () const |
Get the direction of the beam ray. More... | |
XYZVector | GetFragmentDirection (int frag) const |
Get the direction of the fragment rays. More... | |
int | GetPointAssignment (const XYZPoint &point) const |
virtual void | DefinePattern (const std::vector< XYZPoint > &points) override |
Define based on points. More... | |
virtual void | DefinePattern (std::vector< double > par) override |
virtual Double_t | DistanceToPattern (const XYZPoint &point) const override |
Closest distance to pattern. More... | |
virtual XYZPoint | ClosestPointOnPattern (const XYZPoint &point) const override |
Closest point on pattern. More... | |
virtual XYZPoint | GetPointAt (double z) const override |
Get point along the beam axis at z. More... | |
virtual TEveElement * | GetEveElement () const override |
Get visual representation of pattern. More... | |
virtual std::unique_ptr< AtPattern > | Clone () const override |
virtual std::vector< double > | GetPatternPar () const override |
Get list or parameters that describe the pattern. More... | |
![]() | |
AtPattern (Int_t numPoints=0) | |
AtPattern (const AtPattern &)=default | |
AtPattern (AtPattern &&)=default | |
virtual | ~AtPattern ()=default |
Double_t | FitPattern (const std::vector< AtHit > &pointsToFit, Double_t qThreshold=-1) |
Fit the pattern. More... | |
Double_t | FitPattern (const std::vector< const AtHit * > &pointsToFit, Double_t qThreshold=-1) |
Double_t | FitPattern (const std::vector< XYZPoint > &pointsToFit) |
Fit the pattern shape. More... | |
TEveLine * | GetEveLine (double tMin, double tMax, int n) const |
Get visual representation of pattern. More... | |
Int_t | GetNumPoints () const |
Number of points to define the pattern. More... | |
Double_t | GetChi2 () const |
Int_t | GetNFree () const |
Double_t | GetTotCharge () const |
void | SetPatternPar (std::vector< double > par) |
void | SetChi2 (double chi2) |
![]() | |
using | TEveLineVec = std::vector< std::unique_ptr< TEveLine > > |
![]() | |
AtPatternRay | fBeam |
std::array< AtPatternRay, 2 > | fFragments |
![]() | |
std::vector< Double_t > | fPatternPar |
Double_t | fChi2 {NAN} |
Int_t | fNFree {0} |
const Int_t | fNumPoints |
Double_t | fTotCharge {0} |
Describes a fission event.
Is the same as AtPatternY but with a different minimization function for fitting.
Definition at line 22 of file AtPatternFission.h.
|
overrideprotectedvirtual |
Called by other versions of FitPattern. If pointCharge is not empty does charge weighted fit. Sets fPatternPar, fChi2, and fNFree
Reimplemented from AtPatterns::AtPatternY.
Definition at line 22 of file AtPatternFission.cxx.