recMC.C submitMC.sh
[u/mrichter/AliRoot.git] / TPC / testMC / sim.C
CommitLineData
1c78ef5d 1void sim(char * configPath, char * tpcDbpath, Int_t nevents){
75c56124 2 //
3 //
4 //
5 //AliCDBManager * man = AliCDBManager::Instance();
162637e4 6 //man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
75c56124 7 //man->SetRun(0);
8 //man->SetSpecificStorage("TPC/*/*",tpcDBpath);
9
10 AliSimulation sim;
11 sim.SetConfigFile(configPath);
1c78ef5d 12 sim.SetSpecificStorage("TPC/*/*",tpcDbpath);
75c56124 13 sim.Run(nevents);
14
15
16}