AliPhysics  5403132 (5403132)
VirtualEGCfg Struct Referenceabstract
Inheritance diagram for VirtualEGCfg:

Public Member Functions

 VirtualEGCfg ()
 
virtual ~VirtualEGCfg ()
 
virtual Bool_t IsLego () const
 
AliGenerator * MakeGenerator (const TString &rt, Float_t b1, Float_t b2, Bool_t smear=true)
 
TVirtualMCDecayer * MakeDecayer (const TString &rt)
 

Static Public Member Functions

static const char * DeduceRunType ()
 
static void LoadLibrary (const TString &name, const TString &cls="")
 
static void LoadGen (const TString &runType)
 
static void LoadPythia (Bool_t gen=true, const char *vers="6.4.21")
 
static void LoadHijing ()
 
static void LoadHydjet ()
 
static void LoadEposLHC ()
 
static void LoadEpos ()
 
static void LoadTherminator ()
 
static void LoadDpmjet ()
 
static void LoadAmpt ()
 

Public Attributes

TString runType
 

Protected Member Functions

virtual AliGenerator * CreateGenerator (const TString &runType, Float_t b1, Float_t b2)=0
 
virtual TVirtualMCDecayer * CreateDecayer (const TString &runType)=0
 

Detailed Description

Event generator configuration

Definition at line 188 of file BaseConfig.C.

Constructor & Destructor Documentation

VirtualEGCfg::VirtualEGCfg ( )
inline

Definition at line 191 of file BaseConfig.C.

virtual VirtualEGCfg::~VirtualEGCfg ( )
inlinevirtual

Definition at line 192 of file BaseConfig.C.

Member Function Documentation

virtual TVirtualMCDecayer* VirtualEGCfg::CreateDecayer ( const TString runType)
protectedpure virtual

Create the decayer. This function must be defined in a derived class.

Parameters
runTypeThe generator ID (all lower case)
Returns
Must return a pointer to a new TVirtualMCDecayer or null

Implemented in EGCfg.

virtual AliGenerator* VirtualEGCfg::CreateGenerator ( const TString runType,
Float_t  b1,
Float_t  b2 
)
protectedpure virtual

Create the generator. This function must be defined in a derived class.

Parameters
runTypeThe generator ID (all lower case)
b1Least impact parameter
b2Largest impact parameter
Returns
Must return a pointer to a new AliGenerator or null

Implemented in EGCfg.

static const char* VirtualEGCfg::DeduceRunType ( )
inlinestatic

Set the default generator based on the beam type

  • p-p PYTHIA
  • p-A or A-p DPMJet
  • A-A Hijing

Definition at line 201 of file BaseConfig.C.

Referenced by EGCfg::CreateGenerator().

virtual Bool_t VirtualEGCfg::IsLego ( ) const
inlinevirtual

Reimplemented in EGCfg.

Definition at line 193 of file BaseConfig.C.

Referenced by Config().

static void VirtualEGCfg::LoadAmpt ( )
inlinestatic

Load AMPT libraries

Definition at line 297 of file BaseConfig.C.

Referenced by EGCfg::Ampt().

static void VirtualEGCfg::LoadDpmjet ( )
inlinestatic

Load DPMJet libraries

Definition at line 287 of file BaseConfig.C.

Referenced by EGCfg::Dpmjet().

static void VirtualEGCfg::LoadEpos ( )
inlinestatic

Definition at line 276 of file BaseConfig.C.

Referenced by EGCfg::Epos().

static void VirtualEGCfg::LoadEposLHC ( )
inlinestatic

Definition at line 272 of file BaseConfig.C.

Referenced by EGCfg::EposLHC().

static void VirtualEGCfg::LoadGen ( const TString runType)
inlinestatic

Load the general libraries needed

Definition at line 229 of file BaseConfig.C.

Referenced by Config().

static void VirtualEGCfg::LoadHijing ( )
inlinestatic

Load HIJING libraries

Definition at line 257 of file BaseConfig.C.

Referenced by EGCfg::Hijing().

static void VirtualEGCfg::LoadHydjet ( )
inlinestatic

Load HydJet libraries

Definition at line 268 of file BaseConfig.C.

Referenced by EGCfg::Hydjet().

static void VirtualEGCfg::LoadLibrary ( const TString name,
const TString cls = "" 
)
inlinestatic

Definition at line 209 of file BaseConfig.C.

static void VirtualEGCfg::LoadPythia ( Bool_t  gen = true,
const char *  vers = "6.4.21" 
)
inlinestatic

Load the pythia libraries

Parameters
genGeneral setup also
versOptional version post-fix

Definition at line 242 of file BaseConfig.C.

Referenced by EGCfg::CreateDecayer(), EGCfg::Pythia(), and EGCfg::PythiaHF().

static void VirtualEGCfg::LoadTherminator ( )
inlinestatic

Definition at line 280 of file BaseConfig.C.

Referenced by EGCfg::Therminator().

TVirtualMCDecayer* VirtualEGCfg::MakeDecayer ( const TString rt)
inline

Make our decayer

Parameters
rtThe EG to use
Returns
Newly allocated decayer or null

Definition at line 346 of file BaseConfig.C.

Referenced by Config().

AliGenerator* VirtualEGCfg::MakeGenerator ( const TString rt,
Float_t  b1,
Float_t  b2,
Bool_t  smear = true 
)
inline

Make the generator

Parameters
rtEvent generator identifier
b1Least impact parameter
b2Largest impact parameter
smearIf true, smear interaction per event
Returns
Point to newly allocated generator or null

Definition at line 315 of file BaseConfig.C.

Referenced by Config().

Member Data Documentation

TString VirtualEGCfg::runType

Definition at line 190 of file BaseConfig.C.


The documentation for this struct was generated from the following file: