reco.SetWriteESDfriend();
reco.SetWriteAlignmentData();
- AliTPCReconstructor::SetStreamLevel(1);
- // reco.SetRecoParam("ITS",AliITSRecoParam::GetLowFluxParam());
- reco.SetRecoParam("TPC",AliTPCRecoParam::GetLowFluxParam());
- reco.SetRecoParam("TRD",AliTRDrecoParam::GetLowFluxParam());
- reco.SetRecoParam("PHOS",AliPHOSRecoParam::GetDefaultParameters());
- reco.SetRecoParam("MUON",AliMUONRecoParam::GetLowFluxParam());
- // AliTPCReconstructor::SetRecoParam(AliTPCRecoParam::GetLowFluxParam());
- // reco.SetInput("raw.root");
- // reco.SetRunReconstruction("ITS TPC TRD TOF HMPID PHOS EMCAL MUON T0 VZERO FMD PMD ZDC");
-
- AliCDBManager::Instance()->SetCacheFlag(kFALSE);
-
-// **** The field map settings must be the same as in Config.C !
- AliMagFMaps *field=new AliMagFMaps("Maps","Maps",2,1.,10.,AliMagFMaps::k5kG);
- Bool_t uniform=kTRUE;
- AliTracker::SetFieldMap(field,uniform);
+
+ reco.SetDefaultStorage("local://$ALICE_ROOT");
+ reco.SetSpecificStorage("GRP/GRP/Data",
+ Form("local://%s",gSystem->pwd()));
TStopwatch timer;
timer.Start();
void rec() {
- AliCDBManager::Instance()->SetRun(0);
-
- AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 2, 1., 10., AliMagFMaps::k5kG);
- AliTracker::SetFieldMap(field,kTRUE);
-
AliReconstruction reco;
- reco.SetUniformFieldTracking(kFALSE);
reco.SetWriteESDfriend();
reco.SetWriteAlignmentData();
- // AliTPCReconstructor::SetStreamLevel(1);
- // reco.SetRecoParam("ITS",AliITSRecoParam::GetLowFluxParam());
- reco.SetRecoParam("TPC",AliTPCRecoParam::GetLowFluxParam());
- reco.SetRecoParam("TRD",AliTRDrecoParam::GetLowFluxParam());
- reco.SetRecoParam("PHOS",AliPHOSRecoParam::GetDefaultParameters());
- reco.SetRecoParam("MUON",AliMUONRecoParam::GetLowFluxParam());
-
- reco.SetRunReconstruction("ITS TPC TRD TOF HMPID PHOS EMCAL MUON FMD PMD ZDC T0 VZERO");
+
+ reco.SetDefaultStorage("local://$ALICE_ROOT");
+ reco.SetSpecificStorage("GRP/GRP/Data",
+ Form("local://%s/..",gSystem->pwd()));
+
reco.SetInput("raw.root");
reco.SetNumberOfEventsPerFile(-1); // all events in one single file
- reco.SetRunQA(":");
- reco.SetRunGlobalQA(kTRUE);
-
TStopwatch timer;
timer.Start();
reco.Run();
void sim(Int_t nev=4) {
+
AliSimulation simulator;
simulator.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON FMD ZDC PMD T0 VZERO");
simulator.SetMakeDigitsFromHits("ITS TPC");
simulator.SetWriteRawData("ALL","raw.root",kTRUE);
+ simulator.SetDefaultStorage("local://$ALICE_ROOT");
+ simulator.SetSpecificStorage("GRP/GRP/Data",
+ Form("local://%s",gSystem->pwd()));
+
TStopwatch timer;
timer.Start();
simulator.Run(nev);