#include <AtTPCIonGenerator.h>
|  | 
|  | 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) | 
|  | 
Definition at line 22 of file AtTPCIonGenerator.h.
 
◆ AtTPCIonGenerator() [1/3]
      
        
          | AtTPCIonGenerator::AtTPCIonGenerator | ( |  | ) |  | 
      
 
 
◆ AtTPCIonGenerator() [2/3]
      
        
          | AtTPCIonGenerator::AtTPCIonGenerator | ( | const Char_t * | ionName, | 
        
          |  |  | Int_t | mult, | 
        
          |  |  | Double_t | px, | 
        
          |  |  | Double_t | py, | 
        
          |  |  | Double_t | pz | 
        
          |  | ) |  |  | 
      
 
Constructor with ion name For the generation of ions with pre-defined FairIon By default, the excitation energy is zero. This can be changed with the respective modifiers. 
- Parameters
- 
  
    | ionName | Ion name |  | mult | Number of ions per event |  | px,py,pz | Momentum components [GeV] per nucleon! |  | vx,vy,vz | Vertex coordinates [cm] |  
 
Definition at line 51 of file AtTPCIonGenerator.cxx.
 
 
◆ AtTPCIonGenerator() [3/3]
      
        
          | AtTPCIonGenerator::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 | 
        
          |  | ) |  |  | 
      
 
Default constructor For the generation of ions with atomic number z and mass number a. By default, the mass equals a times the proton mass and the excitation energy is zero. This can be changed with the respective modifiers. 
- Parameters
- 
  
    | z | Atomic number |  | a | Atomic mass |  | q | Electric charge [e] |  | mult | Number of ions per event |  | px,py,pz | Momentum components [GeV] per nucleon! |  | vx,vy,vz | Vertex coordinates [cm] |  | ener | Energy of the ion. |  | eLoss | Maximum energy loss before reaction happens. Defaults to ener. |  
 
Definition at line 93 of file AtTPCIonGenerator.cxx.
 
 
◆ ~AtTPCIonGenerator()
  
  | 
        
          | virtual AtTPCIonGenerator::~AtTPCIonGenerator | ( |  | ) |  |  | virtualdefault | 
 
 
◆ ReadEvent()
  
  | 
        
          | Bool_t AtTPCIonGenerator::ReadEvent | ( | FairPrimaryGenerator * | primGen | ) |  |  | virtual | 
 
Method ReadEvent Generates <mult> of the specified ions and hands hem to the FairPrimaryGenerator. 
Definition at line 139 of file AtTPCIonGenerator.cxx.
 
 
◆ SetCharge()
  
  | 
        
          | void AtTPCIonGenerator::SetCharge | ( | Int_t | charge | ) |  |  | inline | 
 
 
◆ SetDoReaction()
  
  | 
        
          | void AtTPCIonGenerator::SetDoReaction | ( | Bool_t | doReact | ) |  |  | inline | 
 
 
◆ SetExcitationEnergy()
      
        
          | void AtTPCIonGenerator::SetExcitationEnergy | ( | Double_t | eExc | ) |  | 
      
 
 
◆ SetMass()
      
        
          | void AtTPCIonGenerator::SetMass | ( | Double_t | mass | ) |  | 
      
 
 
◆ SetSpotRadius()
      
        
          | void AtTPCIonGenerator::SetSpotRadius | ( | Double32_t | r = 0, | 
        
          |  |  | Double32_t | z = 0, | 
        
          |  |  | Double32_t | offx = 0, | 
        
          |  |  | Double32_t | offy = 0 | 
        
          |  | ) |  |  | 
      
 
 
◆ SetVertexCoordinates()
  
  | 
        
          | void AtTPCIonGenerator::SetVertexCoordinates | ( |  | ) |  |  | protectedvirtual | 
 
 
◆ fDoReact
  
  | 
        
          | Bool_t AtTPCIonGenerator::fDoReact {true} |  | protected | 
 
 
◆ fgNIon
  
  | 
        
          | Int_t AtTPCIonGenerator::fgNIon = 0 |  | staticprotected | 
 
 
◆ fIon
  
  | 
        
          | FairIon* AtTPCIonGenerator::fIon |  | protected | 
 
 
◆ fMaxEnLoss
  
  | 
        
          | Double_t AtTPCIonGenerator::fMaxEnLoss {} |  | protected | 
 
 
◆ fMult
  
  | 
        
          | Int_t AtTPCIonGenerator::fMult |  | protected | 
 
 
◆ fNomEner
  
  | 
        
          | Int_t AtTPCIonGenerator::fNomEner {} |  | protected | 
 
 
◆ fOffsetX
  
  | 
        
          | Double32_t AtTPCIonGenerator::fOffsetX |  | protected | 
 
 
◆ fOffsetY
  
  | 
        
          | Double32_t AtTPCIonGenerator::fOffsetY |  | protected | 
 
 
◆ fPx
  
  | 
        
          | Double_t AtTPCIonGenerator::fPx |  | protected | 
 
 
◆ fPy
  
  | 
        
          | Double_t AtTPCIonGenerator::fPy |  | protected | 
 
 
◆ fPz
  
  | 
        
          | Double_t AtTPCIonGenerator::fPz |  | protected | 
 
 
◆ fQ
  
  | 
        
          | Int_t AtTPCIonGenerator::fQ |  | protected | 
 
 
◆ fR
  
  | 
        
          | Double32_t AtTPCIonGenerator::fR |  | protected | 
 
 
◆ fVx
  
  | 
        
          | Double_t AtTPCIonGenerator::fVx |  | protected | 
 
 
◆ fVy
  
  | 
        
          | Double_t AtTPCIonGenerator::fVy |  | protected | 
 
 
◆ fVz
  
  | 
        
          | Double_t AtTPCIonGenerator::fVz |  | protected | 
 
 
◆ fz
  
  | 
        
          | Double32_t AtTPCIonGenerator::fz |  | protected | 
 
 
The documentation for this class was generated from the following files: