BmnRoot
Loading...
Searching...
No Matches
MpdHypYPtGenerator Class Reference

#include <MpdHypYPtGenerator.h>

Inheritance diagram for MpdHypYPtGenerator:
[legend]
Collaboration diagram for MpdHypYPtGenerator:
[legend]

Public Member Functions

 MpdHypYPtGenerator ()
 
 MpdHypYPtGenerator (Int_t pdgid, Int_t mult=1, Double_t yield=-1.0)
 
virtual ~MpdHypYPtGenerator ()
 
void SetPDGType (Int_t pdg)
 
void SetMultiplicity (Int_t mult)
 
void SetDistributionPt (Double_t T=0.223)
 
void SetDistributionY (Double_t y0=0, Double_t sigma=0.72)
 
void SetRangePt (Double_t ptMin=0, Double_t ptMax=3)
 
Bool_t Init ()
 
virtual Bool_t ReadEvent (FairPrimaryGenerator *primGen)
 
 MpdHypYPtGenerator ()
 
 MpdHypYPtGenerator (Int_t pdgid, Int_t mult=1, Double_t yield=-1.0)
 
virtual ~MpdHypYPtGenerator ()
 
void SetPDGType (Int_t pdg)
 
void SetMultiplicity (Int_t mult)
 
void SetDistributionPt (Double_t T=0.223)
 
void SetDistributionY (Double_t y0=0, Double_t sigma=0.72)
 
void SetRangePt (Double_t ptMin=0, Double_t ptMax=3)
 
Bool_t Init ()
 
virtual Bool_t ReadEvent (FairPrimaryGenerator *primGen)
 

Detailed Description

Definition at line 26 of file MpdHypYPtGenerator.h.

Constructor & Destructor Documentation

◆ MpdHypYPtGenerator() [1/4]

MpdHypYPtGenerator::MpdHypYPtGenerator ( )

Default constructor.

Definition at line 16 of file MpdHypYPtGenerator.cxx.

◆ MpdHypYPtGenerator() [2/4]

MpdHypYPtGenerator::MpdHypYPtGenerator ( Int_t  pdgid,
Int_t  mult = 1,
Double_t  yield = -1.0 
)

Constructor with PDG-ID, multiplicity

Parameters
pdgidParticle type (PDG encoding)
multMultiplicity (default is 1)
yield

Definition at line 25 of file MpdHypYPtGenerator.cxx.

References SetDistributionPt(), SetDistributionY(), and SetRangePt().

◆ ~MpdHypYPtGenerator() [1/2]

virtual MpdHypYPtGenerator::~MpdHypYPtGenerator ( )
inlinevirtual

Destructor

Definition at line 39 of file MpdHypYPtGenerator.h.

◆ MpdHypYPtGenerator() [3/4]

MpdHypYPtGenerator::MpdHypYPtGenerator ( )

Default constructor.

◆ MpdHypYPtGenerator() [4/4]

MpdHypYPtGenerator::MpdHypYPtGenerator ( Int_t  pdgid,
Int_t  mult = 1,
Double_t  yield = -1.0 
)

Constructor with PDG-ID, multiplicity

Parameters
pdgidParticle type (PDG encoding)
multMultiplicity (default is 1)
yield

◆ ~MpdHypYPtGenerator() [2/2]

virtual MpdHypYPtGenerator::~MpdHypYPtGenerator ( )
inlinevirtual

Destructor

Definition at line 39 of file MpdHypYPtGenerator.h.

Member Function Documentation

◆ Init() [1/2]

Bool_t MpdHypYPtGenerator::Init ( )

Initializer

Definition at line 35 of file MpdHypYPtGenerator.cxx.

◆ Init() [2/2]

Bool_t MpdHypYPtGenerator::Init ( )

Initializer

◆ ReadEvent() [1/2]

Bool_t MpdHypYPtGenerator::ReadEvent ( FairPrimaryGenerator *  primGen)
virtual

Creates an event with given type and multiplicity.

Parameters
primGenpointer to the CbmPrimaryGenerator

Definition at line 55 of file MpdHypYPtGenerator.cxx.

◆ ReadEvent() [2/2]

virtual Bool_t MpdHypYPtGenerator::ReadEvent ( FairPrimaryGenerator *  primGen)
virtual

Creates an event with given type and multiplicity.

Parameters
primGenpointer to the CbmPrimaryGenerator

◆ SetDistributionPt() [1/2]

void MpdHypYPtGenerator::SetDistributionPt ( Double_t  T = 0.223)
inline

Definition at line 45 of file MpdHypYPtGenerator.h.

Referenced by MpdHypYPtGenerator().

◆ SetDistributionPt() [2/2]

void MpdHypYPtGenerator::SetDistributionPt ( Double_t  T = 0.223)
inline

Definition at line 45 of file MpdHypYPtGenerator.h.

◆ SetDistributionY() [1/2]

void MpdHypYPtGenerator::SetDistributionY ( Double_t  y0 = 0,
Double_t  sigma = 0.72 
)
inline

Definition at line 47 of file MpdHypYPtGenerator.h.

Referenced by MpdHypYPtGenerator().

◆ SetDistributionY() [2/2]

void MpdHypYPtGenerator::SetDistributionY ( Double_t  y0 = 0,
Double_t  sigma = 0.72 
)
inline

Definition at line 47 of file MpdHypYPtGenerator.h.

◆ SetMultiplicity() [1/2]

void MpdHypYPtGenerator::SetMultiplicity ( Int_t  mult)
inline

Definition at line 43 of file MpdHypYPtGenerator.h.

◆ SetMultiplicity() [2/2]

void MpdHypYPtGenerator::SetMultiplicity ( Int_t  mult)
inline

Definition at line 43 of file MpdHypYPtGenerator.h.

◆ SetPDGType() [1/2]

void MpdHypYPtGenerator::SetPDGType ( Int_t  pdg)
inline

Modifiers

Definition at line 42 of file MpdHypYPtGenerator.h.

◆ SetPDGType() [2/2]

void MpdHypYPtGenerator::SetPDGType ( Int_t  pdg)
inline

Modifiers

Definition at line 42 of file MpdHypYPtGenerator.h.

◆ SetRangePt() [1/2]

void MpdHypYPtGenerator::SetRangePt ( Double_t  ptMin = 0,
Double_t  ptMax = 3 
)
inline

Definition at line 52 of file MpdHypYPtGenerator.h.

Referenced by MpdHypYPtGenerator().

◆ SetRangePt() [2/2]

void MpdHypYPtGenerator::SetRangePt ( Double_t  ptMin = 0,
Double_t  ptMax = 3 
)
inline

Definition at line 52 of file MpdHypYPtGenerator.h.


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