PWGPP-71 - Adding ncluster statistic to optional streamers. Print additional inform...
[u/mrichter/AliRoot.git] / TPC / testMC / sim.C
1 void sim(char * configPath, char * tpcDbpath, Int_t nevents){
2   //
3   //
4   //
5   //AliCDBManager * man = AliCDBManager::Instance();
6   //man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
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 }