Project
Loading...
Searching...
No Matches
o2::eventgen::GeneratorGeantinos Class Reference

#include <GeneratorGeantinos.h>

Inherits FairGenerator.

Public Member Functions

 GeneratorGeantinos ()
 
 GeneratorGeantinos (Int_t mode, Int_t nc1, Float_t c1min, Float_t c1max, Int_t nc2, Float_t c2min, Float_t c2max, Float_t rmin, Float_t rmax, Float_t zmax)
 
 ~GeneratorGeantinos () override=default
 
Bool_t ReadEvent (FairPrimaryGenerator *primGen) override
 
Float_t ZMax () const
 
Float_t RadMax () const
 
Int_t NCoor1 () const
 
Int_t NCoor2 () const
 
- Public Member Functions inherited from FairGenerator
 FairGenerator ()
 
 FairGenerator (const char *name, const char *title="FAIR Generator")
 
virtual ~FairGenerator ()
 
virtual Bool_t Init ()
 
virtual FairGenerator * CloneGenerator () const
 

Static Public Member Functions

static Float_t PropagateCylinder (Float_t *x, Float_t *v, Float_t r, Float_t z)
 

Protected Attributes

Int_t mMode
 
Float_t mRadMin
 
Float_t mRadMax
 
Float_t mZMax
 
Int_t mNCoor1
 
Int_t mNCoor2
 
Float_t mCoor1Min
 
Float_t mCoor1Max
 
Float_t mCoor2Min
 
Float_t mCoor2Max
 

Additional Inherited Members

- Protected Member Functions inherited from FairGenerator
 FairGenerator (const FairGenerator &)
 
FairGenerator & operator= (const FairGenerator &)
 
 ClassDef (FairGenerator, 1)
 

Detailed Description

Definition at line 30 of file GeneratorGeantinos.h.

Constructor & Destructor Documentation

◆ GeneratorGeantinos() [1/2]

o2::eventgen::GeneratorGeantinos::GeneratorGeantinos ( )

Definition at line 28 of file GeneratorGeantinos.cxx.

◆ GeneratorGeantinos() [2/2]

o2::eventgen::GeneratorGeantinos::GeneratorGeantinos ( Int_t  mode,
Int_t  nc1,
Float_t  c1min,
Float_t  c1max,
Int_t  nc2,
Float_t  c2min,
Float_t  c2max,
Float_t  rmin,
Float_t  rmax,
Float_t  zmax 
)

Definition at line 43 of file GeneratorGeantinos.cxx.

◆ ~GeneratorGeantinos()

o2::eventgen::GeneratorGeantinos::~GeneratorGeantinos ( )
overridedefault

Member Function Documentation

◆ NCoor1()

Int_t o2::eventgen::GeneratorGeantinos::NCoor1 ( ) const
inline

Definition at line 43 of file GeneratorGeantinos.h.

◆ NCoor2()

Int_t o2::eventgen::GeneratorGeantinos::NCoor2 ( ) const
inline

Definition at line 44 of file GeneratorGeantinos.h.

◆ PropagateCylinder()

Float_t o2::eventgen::GeneratorGeantinos::PropagateCylinder ( Float_t *  x,
Float_t *  v,
Float_t  r,
Float_t  z 
)
static

Definition at line 119 of file GeneratorGeantinos.cxx.

◆ RadMax()

Float_t o2::eventgen::GeneratorGeantinos::RadMax ( ) const
inline

Definition at line 42 of file GeneratorGeantinos.h.

◆ ReadEvent()

Bool_t o2::eventgen::GeneratorGeantinos::ReadEvent ( FairPrimaryGenerator *  primGen)
overridevirtual

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 66 of file GeneratorGeantinos.cxx.

◆ ZMax()

Float_t o2::eventgen::GeneratorGeantinos::ZMax ( ) const
inline

Definition at line 41 of file GeneratorGeantinos.h.

Member Data Documentation

◆ mCoor1Max

Float_t o2::eventgen::GeneratorGeantinos::mCoor1Max
protected

Definition at line 57 of file GeneratorGeantinos.h.

◆ mCoor1Min

Float_t o2::eventgen::GeneratorGeantinos::mCoor1Min
protected

Definition at line 56 of file GeneratorGeantinos.h.

◆ mCoor2Max

Float_t o2::eventgen::GeneratorGeantinos::mCoor2Max
protected

Definition at line 59 of file GeneratorGeantinos.h.

◆ mCoor2Min

Float_t o2::eventgen::GeneratorGeantinos::mCoor2Min
protected

Definition at line 58 of file GeneratorGeantinos.h.

◆ mMode

Int_t o2::eventgen::GeneratorGeantinos::mMode
protected

Definition at line 49 of file GeneratorGeantinos.h.

◆ mNCoor1

Int_t o2::eventgen::GeneratorGeantinos::mNCoor1
protected

Definition at line 53 of file GeneratorGeantinos.h.

◆ mNCoor2

Int_t o2::eventgen::GeneratorGeantinos::mNCoor2
protected

Definition at line 54 of file GeneratorGeantinos.h.

◆ mRadMax

Float_t o2::eventgen::GeneratorGeantinos::mRadMax
protected

Definition at line 51 of file GeneratorGeantinos.h.

◆ mRadMin

Float_t o2::eventgen::GeneratorGeantinos::mRadMin
protected

Definition at line 50 of file GeneratorGeantinos.h.

◆ mZMax

Float_t o2::eventgen::GeneratorGeantinos::mZMax
protected

Definition at line 52 of file GeneratorGeantinos.h.


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