FairRoot
|
#include <FairYPtGenerator.h>
Public Member Functions | |
FairYPtGenerator () | |
void | SetYPt (const TH2D &yPt) |
virtual Bool_t | Init () |
virtual Bool_t | ReadEvent (FairPrimaryGenerator *primGen) |
virtual FairGenerator * | CloneGenerator () const |
virtual | ~FairYPtGenerator () |
Public Member Functions inherited from FairBaseMCGenerator | |
FairBaseMCGenerator () | |
void | SetPDGType (Int_t pdg) |
void | SetVertex (Double_t vx, Double_t vy, Double_t vz, Double_t evx=0, Double_t evy=0, Double_t evz=0, eVertexSmear sm=kBox) |
void | SetMultiplicity (Int_t mult) |
virtual | ~FairBaseMCGenerator () |
Public Member Functions inherited from FairGenerator | |
FairGenerator () | |
FairGenerator (const char *name, const char *title="FAIR Generator") | |
virtual | ~FairGenerator () |
Protected Member Functions | |
FairYPtGenerator (const FairYPtGenerator &base) | |
FairYPtGenerator & | operator= (const FairYPtGenerator &rhs) |
Double_t | GetMass2 () const |
void | GetYPt (Double_t &y, Double_t &pt) |
Protected Member Functions inherited from FairBaseMCGenerator | |
FairBaseMCGenerator (const FairBaseMCGenerator &other)=default | |
FairBaseMCGenerator & | operator= (const FairBaseMCGenerator &rhs)=default |
Int_t | GetPDGType () const |
Int_t | GetMultiplicity () const |
Double_t | GetPDGMass () const |
virtual void | GenerateEventParameters () |
Double_t | GetVxAv () const |
Double_t | GetVyAv () const |
Double_t | GetVzAv () const |
Double_t | GetVxRms () const |
Double_t | GetVyRms () const |
Double_t | GetVzRms () const |
Protected Member Functions inherited from FairGenerator | |
FairGenerator (const FairGenerator &) | |
FairGenerator & | operator= (const FairGenerator &) |
ClassDef (FairGenerator, 1) | |
Additional Inherited Members | |
Public Types inherited from FairBaseMCGenerator | |
enum | eVertexSmear { kBox, kGauss, kExp } |
Protected Attributes inherited from FairBaseMCGenerator | |
Double_t | fX |
Double_t | fY |
Double_t | fZ |
Definition at line 17 of file FairYPtGenerator.h.
FairYPtGenerator::FairYPtGenerator | ( | ) |
Definition at line 19 of file FairYPtGenerator.cxx.
|
virtual |
Definition at line 86 of file FairYPtGenerator.cxx.
|
protected |
Definition at line 24 of file FairYPtGenerator.cxx.
|
virtual |
Clone this object (used in MT mode only)
Reimplemented from FairGenerator.
Definition at line 82 of file FairYPtGenerator.cxx.
|
inlineprotected |
Definition at line 30 of file FairYPtGenerator.h.
|
protected |
Definition at line 84 of file FairYPtGenerator.cxx.
|
virtual |
Initialize the generator if needed
Reimplemented from FairBaseMCGenerator.
Definition at line 47 of file FairYPtGenerator.cxx.
|
protected |
Definition at line 31 of file FairYPtGenerator.cxx.
|
virtual |
Abstract method ReadEvent must be implemented by any derived class. It has to handle the generation of input tracks (reading from input file) and the handing of the tracks to the FairPrimaryGenerator. I t is called from FairMCApplication.
pStack | The stack |
Implements FairGenerator.
Definition at line 65 of file FairYPtGenerator.cxx.
void FairYPtGenerator::SetYPt | ( | const TH2D & | yPt | ) |
Definition at line 41 of file FairYPtGenerator.cxx.