FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairYPtGenerator Class Reference

#include <FairYPtGenerator.h>

Inheritance diagram for FairYPtGenerator:
FairBaseMCGenerator FairGenerator

Public Member Functions

 FairYPtGenerator ()
 
void SetYPt (const TH2D &yPt)
 
virtual Bool_t Init ()
 
virtual Bool_t ReadEvent (FairPrimaryGenerator *primGen)
 
virtual FairGeneratorCloneGenerator () 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)
 
FairYPtGeneratoroperator= (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
 
FairBaseMCGeneratoroperator= (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 &)
 
FairGeneratoroperator= (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
 

Detailed Description

Definition at line 17 of file FairYPtGenerator.h.

Constructor & Destructor Documentation

FairYPtGenerator::FairYPtGenerator ( )

Definition at line 19 of file FairYPtGenerator.cxx.

FairYPtGenerator::~FairYPtGenerator ( )
virtual

Definition at line 86 of file FairYPtGenerator.cxx.

FairYPtGenerator::FairYPtGenerator ( const FairYPtGenerator base)
protected

Definition at line 24 of file FairYPtGenerator.cxx.

Member Function Documentation

FairGenerator * FairYPtGenerator::CloneGenerator ( ) const
virtual

Clone this object (used in MT mode only)

Reimplemented from FairGenerator.

Definition at line 82 of file FairYPtGenerator.cxx.

Double_t FairYPtGenerator::GetMass2 ( ) const
inlineprotected

Definition at line 30 of file FairYPtGenerator.h.

void FairYPtGenerator::GetYPt ( Double_t &  y,
Double_t &  pt 
)
protected

Definition at line 84 of file FairYPtGenerator.cxx.

Bool_t FairYPtGenerator::Init ( )
virtual

Initialize the generator if needed

Reimplemented from FairBaseMCGenerator.

Definition at line 47 of file FairYPtGenerator.cxx.

FairYPtGenerator & FairYPtGenerator::operator= ( const FairYPtGenerator rhs)
protected

Definition at line 31 of file FairYPtGenerator.cxx.

Bool_t FairYPtGenerator::ReadEvent ( FairPrimaryGenerator primGen)
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.

Parameters
pStackThe stack
Returns
kTRUE if successful, kFALSE if not

Implements FairGenerator.

Definition at line 65 of file FairYPtGenerator.cxx.

void FairYPtGenerator::SetYPt ( const TH2D &  yPt)

Definition at line 41 of file FairYPtGenerator.cxx.


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