AliRoot Core  v5-06-15 (45dab64)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ConfigCosmic.C File Reference
#include <Riostream.h>
#include <TRandom.h>
#include <TSystem.h>
#include <TVirtualMC.h>
#include <TGeant3TGeo.h>
#include <TPDGCode.h>
#include <TF1.h>
#include "STEER/AliRunLoader.h"
#include "STEER/AliRun.h"
#include "STEER/AliConfig.h"
#include "STEER/AliGenerator.h"
#include "STEER/AliLog.h"
#include "PYTHIA6/AliDecayerPythia.h"
#include "EVGEN/AliGenHIJINGpara.h"
#include "THijing/AliGenHijing.h"
#include "EVGEN/AliGenCocktail.h"
#include "EVGEN/AliGenSlowNucleons.h"
#include "EVGEN/AliSlowNucleonModelExp.h"
#include "EVGEN/AliGenParam.h"
#include "EVGEN/AliGenMUONlib.h"
#include "EVGEN/AliGenSTRANGElib.h"
#include "EVGEN/AliGenMUONCocktail.h"
#include "EVGEN/AliGenGeVSim.h"
#include "EVGEN/AliGeVSimParticle.h"
#include "PYTHIA6/AliGenPythia.h"
#include "STEER/AliMagF.h"
#include "STRUCT/AliBODY.h"
#include "STRUCT/AliMAG.h"
#include "STRUCT/AliABSOv3.h"
#include "STRUCT/AliDIPOv3.h"
#include "STRUCT/AliHALLv3.h"
#include "STRUCT/AliFRAMEv2.h"
#include "STRUCT/AliSHILv3.h"
#include "STRUCT/AliPIPEv3.h"
#include "ITS/AliITSv11.h"
#include "TPC/AliTPCv2.h"
#include "TOF/AliTOFv6T0.h"
#include "HMPID/AliHMPIDv3.h"
#include "ZDC/AliZDCv3.h"
#include "TRD/AliTRDv1.h"
#include "FMD/AliFMDv1.h"
#include "MUON/AliMUONv1.h"
#include "PHOS/AliPHOSv1.h"
#include "PMD/AliPMDv1.h"
#include "T0/AliT0v1.h"
#include "EMCAL/AliEMCALv2.h"
#include "ACORDE/AliACORDEv1.h"
#include "VZERO/AliVZEROv7.h"
#include "EVGEN/AliGenCosmicsParam.h"
Include dependency graph for ConfigCosmic.C:

Go to the source code of this file.

Enumerations

enum  PprRun_t {
  test50, kParam_8000, kParam_4000, kParam_2000,
  kHijing_cent1, kHijing_cent2, kHijing_per1, kHijing_per2,
  kHijing_per3, kHijing_per4, kHijing_per5, kHijing_jj25,
  kHijing_jj50, kHijing_jj75, kHijing_jj100, kHijing_jj200,
  kHijing_gj25, kHijing_gj50, kHijing_gj75, kHijing_gj100,
  kHijing_gj200, kHijing_pA, kPythia6, kPythia6Jets20_24,
  kPythia6Jets24_29, kPythia6Jets29_35, kPythia6Jets35_42, kPythia6Jets42_50,
  kPythia6Jets50_60, kPythia6Jets60_72, kPythia6Jets72_86, kPythia6Jets86_104,
  kPythia6Jets104_125, kPythia6Jets125_150, kPythia6Jets150_180, kD0PbPb5500,
  kCharmSemiElPbPb5500, kBeautySemiElPbPb5500, kCocktailTRD, kPyJJ,
  kPyGJ, kMuonCocktailCent1, kMuonCocktailPer1, kMuonCocktailPer4,
  kMuonCocktailCent1HighPt, kMuonCocktailPer1HighPt, kMuonCocktailPer4HighPt, kMuonCocktailCent1Single,
  kMuonCocktailPer1Single, kMuonCocktailPer4Single, kFlow_2_2000, kFlow_10_2000,
  kFlow_6_2000, kFlow_6_5000, kHIJINGplus, kRunMax,
  test50, kParam_8000, kParam_4000, kParam_2000,
  kHijing_cent1, kHijing_cent2, kHijing_per1, kHijing_per2,
  kHijing_per3, kHijing_per4, kHijing_per5, kHijing_jj25,
  kHijing_jj50, kHijing_jj75, kHijing_jj100, kHijing_jj200,
  kHijing_gj25, kHijing_gj50, kHijing_gj75, kHijing_gj100,
  kHijing_gj200, kHijing_pA, kPythia6, kPythia6Jets20_24,
  kPythia6Jets24_29, kPythia6Jets29_35, kPythia6Jets35_42, kPythia6Jets42_50,
  kPythia6Jets50_60, kPythia6Jets60_72, kPythia6Jets72_86, kPythia6Jets86_104,
  kPythia6Jets104_125, kPythia6Jets125_150, kPythia6Jets150_180, kD0PbPb5500,
  kCharmSemiElPbPb5500, kBeautySemiElPbPb5500, kCocktailTRD, kPyJJ,
  kPyGJ, kMuonCocktailCent1, kMuonCocktailPer1, kMuonCocktailPer4,
  kMuonCocktailCent1HighPt, kMuonCocktailPer1HighPt, kMuonCocktailPer4HighPt, kMuonCocktailCent1Single,
  kMuonCocktailPer1Single, kMuonCocktailPer4Single, kFlow_2_2000, kFlow_10_2000,
  kFlow_6_2000, kFlow_6_5000, kHIJINGplus, kRunMax,
  test50, kParam_8000, kParam_4000, kParam_2000,
  kHijing_cent1, kHijing_cent2, kHijing_per1, kHijing_per2,
  kHijing_per3, kHijing_per4, kHijing_per5, kHijing_jj25,
  kHijing_jj50, kHijing_jj75, kHijing_jj100, kHijing_jj200,
  kHijing_gj25, kHijing_gj50, kHijing_gj75, kHijing_gj100,
  kHijing_gj200, kHijing_pA, kPythia6, kPythia6Jets20_24,
  kPythia6Jets24_29, kPythia6Jets29_35, kPythia6Jets35_42, kPythia6Jets42_50,
  kPythia6Jets50_60, kPythia6Jets60_72, kPythia6Jets72_86, kPythia6Jets86_104,
  kPythia6Jets104_125, kPythia6Jets125_150, kPythia6Jets150_180, kD0PbPb5500,
  kCharmSemiElPbPb5500, kBeautySemiElPbPb5500, kCocktailTRD, kPyJJ,
  kPyGJ, kMuonCocktailCent1, kMuonCocktailPer1, kMuonCocktailPer4,
  kMuonCocktailCent1HighPt, kMuonCocktailPer1HighPt, kMuonCocktailPer4HighPt, kMuonCocktailCent1Single,
  kMuonCocktailPer1Single, kMuonCocktailPer4Single, kFlow_2_2000, kFlow_10_2000,
  kFlow_6_2000, kFlow_6_5000, kHIJINGplus, kRunMax,
  test50, kParam_8000, kParam_4000, kParam_2000,
  kHijing_cent1, kHijing_cent2, kHijing_per1, kHijing_per2,
  kHijing_per3, kHijing_per4, kHijing_per5, kHijing_jj25,
  kHijing_jj50, kHijing_jj75, kHijing_jj100, kHijing_jj200,
  kHijing_gj25, kHijing_gj50, kHijing_gj75, kHijing_gj100,
  kHijing_gj200, kHijing_pA, kPythia6, kPythia6Jets20_24,
  kPythia6Jets24_29, kPythia6Jets29_35, kPythia6Jets35_42, kPythia6Jets42_50,
  kPythia6Jets50_60, kPythia6Jets60_72, kPythia6Jets72_86, kPythia6Jets86_104,
  kPythia6Jets104_125, kPythia6Jets125_150, kPythia6Jets150_180, kD0PbPb5500,
  kCharmSemiElPbPb5500, kBeautySemiElPbPb5500, kCocktailTRD, kPyJJ,
  kPyGJ, kMuonCocktailCent1, kMuonCocktailPer1, kMuonCocktailPer4,
  kMuonCocktailCent1HighPt, kMuonCocktailPer1HighPt, kMuonCocktailPer4HighPt, kMuonCocktailCent1Single,
  kMuonCocktailPer1Single, kMuonCocktailPer4Single, kFlow_2_2000, kFlow_10_2000,
  kFlow_6_2000, kFlow_6_5000, kHIJINGplus, kRunMax
}
 
enum  PprRad_t {
  kGluonRadiation, kNoGluonRadiation, kGluonRadiation, kNoGluonRadiation,
  kGluonRadiation, kNoGluonRadiation, kGluonRadiation, kNoGluonRadiation
}
 
enum  PprTrigConf_t {
  kDefaultPPTrig, kDefaultPbPbTrig, kDefaultPPTrig, kDefaultPbPbTrig,
  kDefaultPPTrig, kDefaultPbPbTrig, kDefaultPPTrig, kDefaultPbPbTrig,
  kDefaultPPTrig, kDefaultPbPbTrig
}
 

Functions

Float_t EtaToTheta (Float_t arg)
 
AliGenerator * GeneratorFactory (PprRun_t srun)
 
AliGenHijing * HijingStandard ()
 
AliGenGeVSim * GeVSimStandard (Float_t, Float_t)
 
void ProcessEnvironmentVars ()
 
void Config ()
 

Variables

const char * pprRunName []
 
const char * pprTrigConfName []
 
static PprRun_t srun = test50
 
static PprRad_t srad = kGluonRadiation
 
static AliMagF::BMap_t smag = AliMagF::k5kG
 
static Int_t sseed = 0
 
static PprTrigConf_t strig = kDefaultPPTrig
 
static TString comment
 

Detailed Description

One can use the configuration macro in compiled mode by

root [0] gSystem->Load("libgeant321");
root [0] gSystem->SetIncludePath("-I$ROOTSYS/include -I$ALICE_ROOT/include\
-I$ALICE_ROOT -I$ALICE/geant3/TGeant3");
root [0] .x grun.C(1,"ConfigPPR.C++")

Definition in file ConfigCosmic.C.

Enumeration Type Documentation

enum PprRad_t
Enumerator
kGluonRadiation 
kNoGluonRadiation 
kGluonRadiation 
kNoGluonRadiation 
kGluonRadiation 
kNoGluonRadiation 
kGluonRadiation 
kNoGluonRadiation 

Definition at line 108 of file ConfigCosmic.C.

enum PprRun_t
Enumerator
test50 
kParam_8000 
kParam_4000 
kParam_2000 
kHijing_cent1 
kHijing_cent2 
kHijing_per1 
kHijing_per2 
kHijing_per3 
kHijing_per4 
kHijing_per5 
kHijing_jj25 
kHijing_jj50 
kHijing_jj75 
kHijing_jj100 
kHijing_jj200 
kHijing_gj25 
kHijing_gj50 
kHijing_gj75 
kHijing_gj100 
kHijing_gj200 
kHijing_pA 
kPythia6 
kPythia6Jets20_24 
kPythia6Jets24_29 
kPythia6Jets29_35 
kPythia6Jets35_42 
kPythia6Jets42_50 
kPythia6Jets50_60 
kPythia6Jets60_72 
kPythia6Jets72_86 
kPythia6Jets86_104 
kPythia6Jets104_125 
kPythia6Jets125_150 
kPythia6Jets150_180 
kD0PbPb5500 
kCharmSemiElPbPb5500 
kBeautySemiElPbPb5500 
kCocktailTRD 
kPyJJ 
kPyGJ 
kMuonCocktailCent1 
kMuonCocktailPer1 
kMuonCocktailPer4 
kMuonCocktailCent1HighPt 
kMuonCocktailPer1HighPt 
kMuonCocktailPer4HighPt 
kMuonCocktailCent1Single 
kMuonCocktailPer1Single 
kMuonCocktailPer4Single 
kFlow_2_2000 
kFlow_10_2000 
kFlow_6_2000 
kFlow_6_5000 
kHIJINGplus 
kRunMax 
test50 
kParam_8000 
kParam_4000 
kParam_2000 
kHijing_cent1 
kHijing_cent2 
kHijing_per1 
kHijing_per2 
kHijing_per3 
kHijing_per4 
kHijing_per5 
kHijing_jj25 
kHijing_jj50 
kHijing_jj75 
kHijing_jj100 
kHijing_jj200 
kHijing_gj25 
kHijing_gj50 
kHijing_gj75 
kHijing_gj100 
kHijing_gj200 
kHijing_pA 
kPythia6 
kPythia6Jets20_24 
kPythia6Jets24_29 
kPythia6Jets29_35 
kPythia6Jets35_42 
kPythia6Jets42_50 
kPythia6Jets50_60 
kPythia6Jets60_72 
kPythia6Jets72_86 
kPythia6Jets86_104 
kPythia6Jets104_125 
kPythia6Jets125_150 
kPythia6Jets150_180 
kD0PbPb5500 
kCharmSemiElPbPb5500 
kBeautySemiElPbPb5500 
kCocktailTRD 
kPyJJ 
kPyGJ 
kMuonCocktailCent1 
kMuonCocktailPer1 
kMuonCocktailPer4 
kMuonCocktailCent1HighPt 
kMuonCocktailPer1HighPt 
kMuonCocktailPer4HighPt 
kMuonCocktailCent1Single 
kMuonCocktailPer1Single 
kMuonCocktailPer4Single 
kFlow_2_2000 
kFlow_10_2000 
kFlow_6_2000 
kFlow_6_5000 
kHIJINGplus 
kRunMax 
test50 
kParam_8000 
kParam_4000 
kParam_2000 
kHijing_cent1 
kHijing_cent2 
kHijing_per1 
kHijing_per2 
kHijing_per3 
kHijing_per4 
kHijing_per5 
kHijing_jj25 
kHijing_jj50 
kHijing_jj75 
kHijing_jj100 
kHijing_jj200 
kHijing_gj25 
kHijing_gj50 
kHijing_gj75 
kHijing_gj100 
kHijing_gj200 
kHijing_pA 
kPythia6 
kPythia6Jets20_24 
kPythia6Jets24_29 
kPythia6Jets29_35 
kPythia6Jets35_42 
kPythia6Jets42_50 
kPythia6Jets50_60 
kPythia6Jets60_72 
kPythia6Jets72_86 
kPythia6Jets86_104 
kPythia6Jets104_125 
kPythia6Jets125_150 
kPythia6Jets150_180 
kD0PbPb5500 
kCharmSemiElPbPb5500 
kBeautySemiElPbPb5500 
kCocktailTRD 
kPyJJ 
kPyGJ 
kMuonCocktailCent1 
kMuonCocktailPer1 
kMuonCocktailPer4 
kMuonCocktailCent1HighPt 
kMuonCocktailPer1HighPt 
kMuonCocktailPer4HighPt 
kMuonCocktailCent1Single 
kMuonCocktailPer1Single 
kMuonCocktailPer4Single 
kFlow_2_2000 
kFlow_10_2000 
kFlow_6_2000 
kFlow_6_5000 
kHIJINGplus 
kRunMax 
test50 
kParam_8000 
kParam_4000 
kParam_2000 
kHijing_cent1 
kHijing_cent2 
kHijing_per1 
kHijing_per2 
kHijing_per3 
kHijing_per4 
kHijing_per5 
kHijing_jj25 
kHijing_jj50 
kHijing_jj75 
kHijing_jj100 
kHijing_jj200 
kHijing_gj25 
kHijing_gj50 
kHijing_gj75 
kHijing_gj100 
kHijing_gj200 
kHijing_pA 
kPythia6 
kPythia6Jets20_24 
kPythia6Jets24_29 
kPythia6Jets29_35 
kPythia6Jets35_42 
kPythia6Jets42_50 
kPythia6Jets50_60 
kPythia6Jets60_72 
kPythia6Jets72_86 
kPythia6Jets86_104 
kPythia6Jets104_125 
kPythia6Jets125_150 
kPythia6Jets150_180 
kD0PbPb5500 
kCharmSemiElPbPb5500 
kBeautySemiElPbPb5500 
kCocktailTRD 
kPyJJ 
kPyGJ 
kMuonCocktailCent1 
kMuonCocktailPer1 
kMuonCocktailPer4 
kMuonCocktailCent1HighPt 
kMuonCocktailPer1HighPt 
kMuonCocktailPer4HighPt 
kMuonCocktailCent1Single 
kMuonCocktailPer1Single 
kMuonCocktailPer4Single 
kFlow_2_2000 
kFlow_10_2000 
kFlow_6_2000 
kFlow_6_5000 
kHIJINGplus 
kRunMax 

Definition at line 64 of file ConfigCosmic.C.

Enumerator
kDefaultPPTrig 
kDefaultPbPbTrig 
kDefaultPPTrig 
kDefaultPbPbTrig 
kDefaultPPTrig 
kDefaultPbPbTrig 
kDefaultPPTrig 
kDefaultPbPbTrig 
kDefaultPPTrig 
kDefaultPbPbTrig 

Definition at line 113 of file ConfigCosmic.C.

Function Documentation

void Config ( )

ThetaRange is (0., 180.). It was (0.28,179.72) 7/12/00 09:00 Theta range given through pseudorapidity limits 22/6/2001

Definition at line 140 of file ConfigCosmic.C.

Float_t EtaToTheta ( Float_t  arg)

Definition at line 455 of file ConfigCosmic.C.

Referenced by GeneratorFactory(), and GeVSimStandard().

AliGenerator * GeneratorFactory ( PprRun_t  srun)

Definition at line 461 of file ConfigCosmic.C.

Referenced by Config().

AliGenGeVSim * GeVSimStandard ( Float_t  mult,
Float_t  vn 
)

Definition at line 1446 of file ConfigCosmic.C.

Referenced by GeneratorFactory().

AliGenHijing * HijingStandard ( )

Definition at line 1421 of file ConfigCosmic.C.

Referenced by GeneratorFactory().

void ProcessEnvironmentVars ( )

Run type

Definition at line 1539 of file ConfigCosmic.C.

Referenced by Config().

Variable Documentation

const char* pprRunName[]
Initial value:
= {
"test50",
"kParam_8000", "kParam_4000", "kParam_2000",
"kHijing_cent1", "kHijing_cent2",
"kHijing_per1", "kHijing_per2", "kHijing_per3", "kHijing_per4",
"kHijing_per5",
"kHijing_jj25", "kHijing_jj50", "kHijing_jj75", "kHijing_jj100",
"kHijing_jj200",
"kHijing_gj25", "kHijing_gj50", "kHijing_gj75", "kHijing_gj100",
"kHijing_gj200", "kHijing_pA", "kPythia6",
"kPythia6Jets20_24", "kPythia6Jets24_29", "kPythia6Jets29_35",
"kPythia6Jets35_42", "kPythia6Jets42_50", "kPythia6Jets50_60",
"kPythia6Jets60_72", "kPythia6Jets72_86", "kPythia6Jets86_104",
"kPythia6Jets104_125", "kPythia6Jets125_150", "kPythia6Jets150_180",
"kD0PbPb5500", "kCharmSemiElPbPb5500", "kBeautySemiElPbPb5500",
"kCocktailTRD", "kPyJJ", "kPyGJ",
"kMuonCocktailCent1", "kMuonCocktailPer1", "kMuonCocktailPer4",
"kMuonCocktailCent1HighPt", "kMuonCocktailPer1HighPt", "kMuonCocktailPer4HighPt",
"kMuonCocktailCent1Single", "kMuonCocktailPer1Single", "kMuonCocktailPer4Single",
"kFlow_2_2000", "kFlow_10_2000", "kFlow_6_2000", "kFlow_6_5000", "kHIJINGplus"
}

Definition at line 86 of file ConfigCosmic.C.

Referenced by ProcessEnvironmentVars().

const char* pprTrigConfName[]
Initial value:
= {
"p-p","Pb-Pb"
}

Definition at line 118 of file ConfigCosmic.C.

Referenced by Config().

AliMagF::BMap_t smag = AliMagF::k5kG
static

Definition at line 126 of file ConfigCosmic.C.

Referenced by Config(), ConfigOCDB(), and SetupCustom().

PprRad_t srad = kGluonRadiation
static

Definition at line 125 of file ConfigCosmic.C.

Referenced by Config(), and GeneratorFactory().

Int_t sseed = 0
static

Definition at line 127 of file ConfigCosmic.C.

Referenced by Config(), ProcessEnvironmentVars(), and SetupOutputDirectory().

PprTrigConf_t strig = kDefaultPPTrig
static

Definition at line 128 of file ConfigCosmic.C.

Referenced by Config().