X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FConfigSPD02.C;h=4402d958f357c36d0c0995140be7882717f2d9f9;hb=34aef0adc7bf0253879ee25f006e97e98b2e70fe;hp=48154f9709a5edc4747b6b5d451233a12845e2fc;hpb=4f09a12099f1740b5ac443137dc2aeb45fe5e0fc;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/ConfigSPD02.C b/ITS/ConfigSPD02.C index 48154f9709a..4402d958f35 100644 --- a/ITS/ConfigSPD02.C +++ b/ITS/ConfigSPD02.C @@ -1,6 +1,7 @@ // #if !defined(__CINT__) || defined(__MAKECINT__) #include +#include #include #include #include @@ -11,9 +12,7 @@ #include "PYTHIA6/AliDecayerPythia.h" #include "EVGEN/AliGenCocktail.h" #include "EVGEN/AliGenHIJINGpara.h" -#include "STEER/AliMagFMaps.h" #include "STRUCT/AliBODY.h" -#include "STRUCT/AliMAG.h" #include "STRUCT/AliABSOv0.h" #include "STRUCT/AliDIPOv2.h" #include "STRUCT/AliHALL.h" @@ -37,7 +36,7 @@ void Config(){ new TGeant3("C++ Interface to Geant3"); AliRunLoader *rl = 0; rl = AliRunLoader::Open("galice.root", - AliConfig::fgkDefaultEventFolderName,"recreate"); + AliConfig::GetDefaultEventFolderName(),"recreate"); if (rl == 0x0){ gAlice->Fatal("Config.C","Can not instatiate the Run Loader"); return; @@ -93,7 +92,7 @@ void Config(){ gener->SetOrigin(0.,0.,-50.); //vertex position gener->SetSigma(0.1,0.1,0.0); //Sigma in (X,Y,Z) (cm) on IP position - gener->SetPart(211); //GEANT particle type + gener->SetPart(kPiPlus); gener->Init(); // Activate this line if you want the vertex smearing to happen // track by track @@ -114,7 +113,7 @@ void Config(){ } // end if if(iITS) { //=================== ITS parameters ============================ - AliITSvSPD02 *ITS = new AliITSvSPD02("SPD test beam 2002"); + AliITSvSPD02 *ITS = new AliITSvSPD02("SPD test beam 2002",2002); } return; }