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

#include <AtTPCIonGeneratorGaussian.h>

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

Public Member Functions

 AtTPCIonGeneratorGaussian ()
 
 AtTPCIonGeneratorGaussian (const char *name, Int_t z, Int_t a, Int_t q, Int_t mult, Double_t px, Double_t py, Double_t pz, Double_t Ex, Double_t m, Double_t ener, Double_t eLoss=-1)
 
void SetBeamLimits (Double32_t r=0, Double32_t z=0, Double_t theta=0)
 
 ClassDefOverride (AtTPCIonGeneratorGaussian, 1)
 
- Public Member Functions inherited from AtTPCIonGenerator
 AtTPCIonGenerator ()
 
 AtTPCIonGenerator (const Char_t *ionName, Int_t mult, Double_t px, Double_t py, Double_t pz)
 
 AtTPCIonGenerator (const char *name, Int_t z, Int_t a, Int_t q, Int_t mult, Double_t px, Double_t py, Double_t pz, Double_t Ex, Double_t m, Double_t ener, Double_t eLoss=-1)
 
virtual ~AtTPCIonGenerator ()=default
 
void SetCharge (Int_t charge)
 
void SetExcitationEnergy (Double_t eExc)
 
void SetMass (Double_t mass)
 
void SetSpotRadius (Double32_t r=0, Double32_t z=0, Double32_t offx=0, Double32_t offy=0)
 
void SetDoReaction (Bool_t doReact)
 
virtual Bool_t ReadEvent (FairPrimaryGenerator *primGen)
 

Protected Member Functions

virtual void SetVertexCoordinates () override
 Sets fVx, fVy, fVz depending on the type of ion generator. More...
 

Protected Attributes

Double_t fTheta {0}
 
- Protected Attributes inherited from AtTPCIonGenerator
Int_t fMult
 Number of the instance of this class. More...
 
Double_t fPx
 
Double_t fPy
 
Double_t fPz
 
Double32_t fR
 
Double32_t fz
 
Double32_t fOffsetX
 
Double32_t fOffsetY
 
Double_t fVx
 
Double_t fVy
 
Double_t fVz
 
FairIon * fIon
 
Int_t fQ
 
Int_t fNomEner {}
 
Double_t fMaxEnLoss {}
 
Bool_t fDoReact {true}
 

Additional Inherited Members

- Static Protected Attributes inherited from AtTPCIonGenerator
static Int_t fgNIon = 0
 

Detailed Description

Definition at line 12 of file AtTPCIonGeneratorGaussian.h.

Constructor & Destructor Documentation

◆ AtTPCIonGeneratorGaussian() [1/2]

AtTPCIonGeneratorGaussian::AtTPCIonGeneratorGaussian ( )
inline

Definition at line 19 of file AtTPCIonGeneratorGaussian.h.

◆ AtTPCIonGeneratorGaussian() [2/2]

AtTPCIonGeneratorGaussian::AtTPCIonGeneratorGaussian ( const char *  name,
Int_t  z,
Int_t  a,
Int_t  q,
Int_t  mult,
Double_t  px,
Double_t  py,
Double_t  pz,
Double_t  Ex,
Double_t  m,
Double_t  ener,
Double_t  eLoss = -1 
)
inline

Definition at line 20 of file AtTPCIonGeneratorGaussian.h.

Member Function Documentation

◆ ClassDefOverride()

AtTPCIonGeneratorGaussian::ClassDefOverride ( AtTPCIonGeneratorGaussian  ,
 
)

◆ SetBeamLimits()

void AtTPCIonGeneratorGaussian::SetBeamLimits ( Double32_t  r = 0,
Double32_t  z = 0,
Double_t  theta = 0 
)

Definition at line 10 of file AtTPCIonGeneratorGaussian.cxx.

◆ SetVertexCoordinates()

void AtTPCIonGeneratorGaussian::SetVertexCoordinates ( )
overrideprotectedvirtual

Sets fVx, fVy, fVz depending on the type of ion generator.

Reimplemented from AtTPCIonGenerator.

Definition at line 17 of file AtTPCIonGeneratorGaussian.cxx.

Member Data Documentation

◆ fTheta

Double_t AtTPCIonGeneratorGaussian::fTheta {0}
protected

Definition at line 14 of file AtTPCIonGeneratorGaussian.h.


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