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

#include <AtLineChargeModel.h>

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

Public Member Functions

 AtLineChargeModel ()=default
 
 ~AtLineChargeModel ()=default
 
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...
 
virtual void LoadParameters (const AtDigiPar *par) override
 Load common parameters from AtDigiPar. More...
 
void SetDriftField (double field)
 
void SetConstantCharge ()
 
void SetLambda (double lambda)
 
double GetLambda () const
 
double GetField () const
 
double GetDetectorLength () const
 
double getDist2 (double dZ)
 Units are m. 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

Definition at line 13 of file AtLineChargeModel.h.

Constructor & Destructor Documentation

◆ AtLineChargeModel()

AtLineChargeModel::AtLineChargeModel ( )
default

◆ ~AtLineChargeModel()

AtLineChargeModel::~AtLineChargeModel ( )
default

Member Function Documentation

◆ ApplySpaceCharge()

XYZPoint AtLineChargeModel::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 42 of file AtLineChargeModel.cxx.

◆ CorrectSpaceCharge()

XYZPoint AtLineChargeModel::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 28 of file AtLineChargeModel.cxx.

◆ GetDetectorLength()

double AtLineChargeModel::GetDetectorLength ( ) const
inline

Definition at line 36 of file AtLineChargeModel.h.

◆ getDist2()

double AtLineChargeModel::getDist2 ( double  dZ)

Units are m.

Definition at line 19 of file AtLineChargeModel.cxx.

◆ GetField()

double AtLineChargeModel::GetField ( ) const
inline

Definition at line 35 of file AtLineChargeModel.h.

◆ GetLambda()

double AtLineChargeModel::GetLambda ( ) const
inline

Definition at line 34 of file AtLineChargeModel.h.

◆ LoadParameters()

void AtLineChargeModel::LoadParameters ( const AtDigiPar par)
overridevirtual

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 57 of file AtLineChargeModel.cxx.

◆ SetConstantCharge()

void AtLineChargeModel::SetConstantCharge ( )
inline

Definition at line 31 of file AtLineChargeModel.h.

◆ SetDriftField()

void AtLineChargeModel::SetDriftField ( double  field)
inline

Definition at line 30 of file AtLineChargeModel.h.

◆ SetLambda()

void AtLineChargeModel::SetLambda ( double  lambda)
inline

Definition at line 32 of file AtLineChargeModel.h.


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