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

#include <AtGenfit.h>

Inheritance diagram for AtFITTER::AtGenfit:
Inheritance graph
[legend]
Collaboration diagram for AtFITTER::AtGenfit:
Collaboration graph
[legend]

Public Member Functions

 AtGenfit (Float_t magfield, Float_t minbrho, Float_t maxbrho, std::string eLossFile, Float_t gasMediumDensity, Int_t pdg=2212, Int_t minit=5, Int_t maxit=20)
 
 ~AtGenfit ()
 
genfit::Track * FitTracks (AtTrack *track) override
 
void Init () override
 
void SetMinIterations (Int_t minit)
 
void SetMaxIterations (Int_t maxit)
 
void SetMinBrho (Float_t minbrho)
 
void SetMaxBrho (Float_t maxbrho)
 
void SetMagneticField (Float_t magfield)
 
void SetPDGCode (Int_t pdgcode)
 
void SetMass (Float_t mass)
 
void SetAtomicNumber (Int_t znumber)
 
void SetNumFitPoints (Float_t points)
 
void SetVerbosityLevel (Int_t verbosity)
 
void SetEnergyLossFile (std::string file)
 
void SetSimulationConvention (Bool_t simconv)
 
void SetGasMediumDensity (Float_t mediumDensity)
 
void RotatePhi (Double_t phi)
 
void SetIonName (std::string ionName)
 
TClonesArray * GetGenfitTrackArray ()
 
Int_t GetPDGCode ()
 
std::string & GetIonName ()
 
- Public Member Functions inherited from AtFITTER::AtFitter
 AtFitter ()
 
virtual ~AtFitter ()
 
void MergeTracks (std::vector< AtTrack > *trackCandSource, std::vector< AtTrack > *trackJunkSource, std::vector< AtTrack > *trackDest, bool fitDirection, bool simulationConv)
 
Bool_t MergeTracks (std::vector< AtTrack * > *trackCandSource, std::vector< AtTrack > *trackDest, Bool_t enableSingleVertexTrack, Double_t clusterRadius, Double_t clusterDistance)
 

Protected Member Functions

bool IsForwardTrack (double theta)
 
 ClassDefOverride (AtGenfit, 1)
 
- Protected Member Functions inherited from AtFITTER::AtFitter
std::tuple< Double_t, Double_t > GetMomFromBrho (Double_t A, Double_t Z, Double_t brho)
 Returns momentum (in GeV) from Brho assuming M (amu) and Z;. More...
 
Bool_t FindVertexTrack (AtTrack *trA, AtTrack *trB)
 Lambda function to find track closer to vertex. More...
 
 ClassDef (AtFitter, 1)
 

Additional Inherited Members

- Protected Attributes inherited from AtFITTER::AtFitter
FairLogger * fLogger {}
 logger pointer More...
 
AtDigiParfPar {}
 parameter container More...
 
std::unique_ptr< AtTools::AtTrackTransformerfTrackTransformer {std::make_unique<AtTools::AtTrackTransformer>()}
 

Detailed Description

Definition at line 34 of file AtGenfit.h.

Constructor & Destructor Documentation

◆ AtGenfit()

AtFITTER::AtGenfit::AtGenfit ( Float_t  magfield,
Float_t  minbrho,
Float_t  maxbrho,
std::string  eLossFile,
Float_t  gasMediumDensity,
Int_t  pdg = 2212,
Int_t  minit = 5,
Int_t  maxit = 20 
)

Definition at line 52 of file AtGenfit.cxx.

◆ ~AtGenfit()

AtFITTER::AtGenfit::~AtGenfit ( )

Definition at line 127 of file AtGenfit.cxx.

Member Function Documentation

◆ ClassDefOverride()

AtFITTER::AtGenfit::ClassDefOverride ( AtGenfit  ,
 
)
protected

◆ FitTracks()

genfit::Track * AtFITTER::AtGenfit::FitTracks ( AtTrack track)
overridevirtual

Angles from track are used to construct the direction of the initial momentum of the track. Radius from track is used to construct the magnitude of the initial momentum of the track.

Implements AtFITTER::AtFitter.

Definition at line 156 of file AtGenfit.cxx.

◆ GetGenfitTrackArray()

TClonesArray * AtFITTER::AtGenfit::GetGenfitTrackArray ( )

Definition at line 147 of file AtGenfit.cxx.

◆ GetIonName()

std::string& AtFITTER::AtGenfit::GetIonName ( )
inline

Definition at line 88 of file AtGenfit.h.

◆ GetPDGCode()

Int_t AtFITTER::AtGenfit::GetPDGCode ( )
inline

Definition at line 87 of file AtGenfit.h.

◆ Init()

void AtFITTER::AtGenfit::Init ( )
overridevirtual

Implements AtFITTER::AtFitter.

Definition at line 137 of file AtGenfit.cxx.

◆ IsForwardTrack()

bool AtFITTER::AtGenfit::IsForwardTrack ( double  theta)
inlineprotected

Definition at line 91 of file AtGenfit.h.

◆ RotatePhi()

void AtFITTER::AtGenfit::RotatePhi ( Double_t  phi)
inline

Definition at line 83 of file AtGenfit.h.

◆ SetAtomicNumber()

void AtFITTER::AtGenfit::SetAtomicNumber ( Int_t  znumber)
inline

Definition at line 77 of file AtGenfit.h.

◆ SetEnergyLossFile()

void AtFITTER::AtGenfit::SetEnergyLossFile ( std::string  file)
inline

Definition at line 80 of file AtGenfit.h.

◆ SetGasMediumDensity()

void AtFITTER::AtGenfit::SetGasMediumDensity ( Float_t  mediumDensity)
inline

Definition at line 82 of file AtGenfit.h.

◆ SetIonName()

void AtFITTER::AtGenfit::SetIonName ( std::string  ionName)
inline

Definition at line 84 of file AtGenfit.h.

◆ SetMagneticField()

void AtFITTER::AtGenfit::SetMagneticField ( Float_t  magfield)
inline

Definition at line 74 of file AtGenfit.h.

◆ SetMass()

void AtFITTER::AtGenfit::SetMass ( Float_t  mass)
inline

Definition at line 76 of file AtGenfit.h.

◆ SetMaxBrho()

void AtFITTER::AtGenfit::SetMaxBrho ( Float_t  maxbrho)
inline

Definition at line 73 of file AtGenfit.h.

◆ SetMaxIterations()

void AtFITTER::AtGenfit::SetMaxIterations ( Int_t  maxit)
inline

Definition at line 71 of file AtGenfit.h.

◆ SetMinBrho()

void AtFITTER::AtGenfit::SetMinBrho ( Float_t  minbrho)
inline

Definition at line 72 of file AtGenfit.h.

◆ SetMinIterations()

void AtFITTER::AtGenfit::SetMinIterations ( Int_t  minit)
inline

Definition at line 70 of file AtGenfit.h.

◆ SetNumFitPoints()

void AtFITTER::AtGenfit::SetNumFitPoints ( Float_t  points)
inline

Definition at line 78 of file AtGenfit.h.

◆ SetPDGCode()

void AtFITTER::AtGenfit::SetPDGCode ( Int_t  pdgcode)
inline

Definition at line 75 of file AtGenfit.h.

◆ SetSimulationConvention()

void AtFITTER::AtGenfit::SetSimulationConvention ( Bool_t  simconv)
inline

Definition at line 81 of file AtGenfit.h.

◆ SetVerbosityLevel()

void AtFITTER::AtGenfit::SetVerbosityLevel ( Int_t  verbosity)
inline

Definition at line 79 of file AtGenfit.h.


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