ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Protected Member Functions | List of all members
AtPatterns::AtPatternFission Class Reference

Describes a fission event. More...

#include <AtPatternFission.h>

Inheritance diagram for AtPatterns::AtPatternFission:
Inheritance graph
[legend]
Collaboration diagram for AtPatterns::AtPatternFission:
Collaboration graph
[legend]

Protected Member Functions

virtual void FitPattern (const std::vector< XYZPoint > &points, const std::vector< double > &charge) override
 
- Protected Member Functions inherited from AtPatterns::AtPatternY
void DefinePattern (const XYZPoint &vertex, const XYZVector &beamDir, const std::array< XYZVector, 2 > &fragDir)
 

Additional Inherited Members

- Public Types inherited from AtPatterns::AtPatternY
using XYZPoint = ROOT::Math::XYZPoint
 
using XYZVector = ROOT::Math::XYZVector
 
- Public Types inherited from AtPatterns::AtPattern
using XYZPoint = ROOT::Math::XYZPoint
 
- Public Member Functions inherited from AtPatterns::AtPatternY
 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< AtPatternClone () const override
 
virtual std::vector< double > GetPatternPar () const override
 Get list or parameters that describe the pattern. More...
 
- Public Member Functions inherited from AtPatterns::AtPattern
 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)
 
- Protected Types inherited from AtPatterns::AtPattern
using TEveLineVec = std::vector< std::unique_ptr< TEveLine > >
 
- Protected Attributes inherited from AtPatterns::AtPatternY
AtPatternRay fBeam
 
std::array< AtPatternRay, 2 > fFragments
 
- Protected Attributes inherited from AtPatterns::AtPattern
std::vector< Double_t > fPatternPar
 
Double_t fChi2 {NAN}
 
Int_t fNFree {0}
 
const Int_t fNumPoints
 
Double_t fTotCharge {0}
 

Detailed Description

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.

Member Function Documentation

◆ FitPattern()

void AtPatternFission::FitPattern ( const std::vector< XYZPoint > &  pointsToFit,
const std::vector< double > &  pointCharge 
)
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.


The documentation for this class was generated from the following files: