]>
Commit | Line | Data |
---|---|---|
963d4d30 | 1 | void Hits2SDigits(){ |
2 | if (gClassTable->GetID("AliRun") < 0) { | |
3 | gROOT->LoadMacro("$ALICE_ROOT/macros/loadlibs.C"); | |
4 | loadlibs(); | |
5 | } | |
6 | gSystem->Setenv("CONFIG_SPLIT_FILE","1") ; | |
7 | if (gSystem->Getenv("CONFIG_SPLIT_FILE")) | |
8 | cout << "SPLIT" << endl; | |
9 | else | |
10 | cout << "NO SPLIT" << endl ; | |
11 | TFile * f = new TFile("galice.root","UPDATE"); | |
12 | gAlice = (AliRun*) f->Get("gAlice") ; | |
13 | cout<<"gAlice="<<gAlice<<endl; | |
14 | AliFMD* FMD = (AliFMD *)gAlice->GetDetector("FMD") ; | |
15 | gAlice->Hits2SDigits("FMD") ; | |
16 | } |