Added reference from vertex to candidate (Andrea)
[u/mrichter/AliRoot.git] / PHOS / Hits2SDigits.C
CommitLineData
052811ca 1void Hits2SDigits(){
7550baf8 2 gSystem->Setenv("CONFIG_SPLIT_FILE","1") ;
052811ca 3 if (gSystem->Getenv("CONFIG_SPLIT_FILE"))
4 cout << "SPLIT" << endl;
5 else
6 cout << "NO SPLIT" << endl ;
7 TFile * f = TFile::Open("galice.root","update");
8 gAlice = (AliRun*) f->Get("gAlice") ;
9 AliPHOSv1* fPHOS = (AliPHOSv1 *)gAlice->GetDetector("PHOS") ;
7550baf8 10 gAlice->SetDebug(10) ;
11 gAlice->Hits2SDigits("PHOS") ;
052811ca 12
13
14
15}