Root6-enabled version
[u/mrichter/AliRoot.git] / test / rawmerge / makeSDigit.C
CommitLineData
f79145f0 1void makeSDigit(Int_t run=117048,
2 const char *fname="/alice/data/2010/LHC10b/000117048/raw/10000117048041.30.root")
3{
4 AliSimulation sim;
5 //AliLog::SetGlobalDebugLevel(1);
6 AliLog::SetModuleDebugLevel("STEER",1);
7 AliCDBManager *cdbm = AliCDBManager::Instance();
8 cdbm->SetRun(run);
9 cdbm->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
10 //cdbm->SetDefaultStorage("raw://");
11 cdbm->SetSpecificStorage("GRP/GRP/Data",Form("local://%s","$ALICE_ROOT/test/rawmerge"));
12 sim.SetMakeSDigits("ITS TPC");
13 sim.SetNumberOfEvents(10000);
14 sim.ConvertRaw2SDigits(fname);
15 return;
16}