Extacting the OCDB in a separate module. The detectors have write permission in the...
[u/mrichter/AliRoot.git] / TPC / testMC / sim.C
CommitLineData
75c56124 1void sim(char * configPath, char * tpcDBpath, Int_t nevents){
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);
12 //sim.SetSpecificStorage("TPC/*/*",tpcDBpath);
13 sim.Run(nevents);
14
15
16}