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

To parse individual LUT. More...

#include <AtEDistortionModel.h>

Inheritance diagram for AtEDistortionModel:
Inheritance graph
[legend]
Collaboration diagram for AtEDistortionModel:
Collaboration graph
[legend]

Public Member Functions

 AtEDistortionModel ()
 
virtual XYZPoint CorrectSpaceCharge (const XYZPoint &directInputPosition) override
 Using model correct for space charge. More...
 
virtual XYZPoint ApplySpaceCharge (const XYZPoint &reverseInputPosition) override
 Using model add space charge effect. More...
 
void LoadParameters (const AtDigiPar *par) override
 Load common parameters from AtDigiPar. More...
 
Bool_t SetCorrectionMaps (const std::string &zlut, const std::string &radlut, const std::string &tralut)
 
std::tuple< Double_t, Double_t, Double_t > GetCorrectionFactors (const Int_t &radius, const Int_t &zpos)
 Set the mapping files via file path. More...
 
- Public Member Functions inherited from AtSpaceChargeModel
virtual ~AtSpaceChargeModel ()=default
 
void SetBeamLocation (XYZPoint window, XYZPoint padPlane)
 

Additional Inherited Members

- Protected Types inherited from AtSpaceChargeModel
using XYZPoint = ROOT::Math::XYZPoint
 
- Protected Member Functions inherited from AtSpaceChargeModel
XYZPoint OffsetForBeam (XYZPoint point)
 
XYZPoint UndoOffsetForBeam (XYZPoint point)
 
- Protected Attributes inherited from AtSpaceChargeModel
XYZPoint fWindow {0, 0, 0}
 
XYZPoint fPadPlane {0, 0, 1000}
 

Detailed Description

To parse individual LUT.

Model for E-field distortion correction

The implemented correction is applied to every hit
Radial, transversal and longitudinal (z) corrections as a function of radial distance and z (map keys).
The Class EFieldCorr contains the correction values

Definition at line 53 of file AtEDistortionModel.h.

Constructor & Destructor Documentation

◆ AtEDistortionModel()

AtEDistortionModel::AtEDistortionModel ( )

Definition at line 25 of file AtEDistortionModel.cxx.

Member Function Documentation

◆ ApplySpaceCharge()

XYZPoint AtEDistortionModel::ApplySpaceCharge ( const XYZPoint position)
overridevirtual

Using model add space charge effect.

Used to simulate the effect of this space charge model.

Parameters
[in]posPosition charge was deposited in detector [mm].
Returns
Position charge hits the pad plane [mm].

Implements AtSpaceChargeModel.

Definition at line 65 of file AtEDistortionModel.cxx.

◆ CorrectSpaceCharge()

XYZPoint AtEDistortionModel::CorrectSpaceCharge ( const XYZPoint position)
overridevirtual

Using model correct for space charge.

Used correct for space charge in data.

Parameters
[in]posPosition charge hits the pad plane [mm].
Returns
Position charge was deposited in the detector [mm].

Implements AtSpaceChargeModel.

Definition at line 27 of file AtEDistortionModel.cxx.

◆ GetCorrectionFactors()

std::tuple< Double_t, Double_t, Double_t > AtEDistortionModel::GetCorrectionFactors ( const Int_t &  radius,
const Int_t &  zpos 
)

Set the mapping files via file path.

Definition at line 100 of file AtEDistortionModel.cxx.

◆ LoadParameters()

void AtEDistortionModel::LoadParameters ( const AtDigiPar par)
inlineoverridevirtual

Load common parameters from AtDigiPar.

Will load any parameters used by the model from the parameter file attached to the run.

Implements AtSpaceChargeModel.

Definition at line 74 of file AtEDistortionModel.h.

◆ SetCorrectionMaps()

Bool_t AtEDistortionModel::SetCorrectionMaps ( const std::string &  zlut,
const std::string &  radlut,
const std::string &  tralut 
)

Definition at line 71 of file AtEDistortionModel.cxx.


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