if(fManager)
primaryoffset = fManager->GetMask(i) ;
else
- primaryoffset = 10000000*i ;
- curSDigit->ShiftPrimary(primaryoffset) ;
+ primaryoffset = i ;
+ curSDigit->ShiftPrimary(i) ;
a = curSDigit->GetAmp() ;
b = a /fTimeSignalLength ;
if(fManager)
SetTitle("aliroot") ;
- else
- SetTitle("galice.root") ;
+ // else
+ // SetTitle("galice.root") ;
if( strcmp(GetName(), "") == 0 )
SetName("Default") ;
const AliPHOSGeometry * geom = gime->PHOSGeometry() ;
fEmcCrystals = geom->GetNModules() * geom->GetNCristalsInModule() ;
- // create a folder on the white board //YSAlice/WhiteBoard/Digits/PHOS/headerFile/digitsTitle
+ // Post Digits to the white board
gime->PostDigits(GetName() ) ;
- //add Task to //YSAlice/tasks/Digitizer/PHOS
+ // Post Digitizer to the white board
gime->PostDigitizer(this) ;
//Mark that we will use current header file
}
// check if the specified SDigits do not already exist on the White Board:
- // //YSAlice/WhiteBoard/SDigits/PHOS/headerFile/sDigitsTitle
+ // //Folders/RunMC/Event/Data/PHOS/SDigits/headerFile/sdigitsname
- TString path = "YSAlice/WhiteBoard/SDigits/PHOS/" ;
+ TString path = "Folders/RunMC/Event/Data/PHOS/SDigits" ;
path += headerFile ;
path += "/" ;
path += GetName() ;
cout << "------------------- "<< GetName() << " -------------" << endl ;
cout << "Digitizing sDigits from file(s): " <<endl ;
- TCollection * folderslist = ((TFolder*)gROOT->FindObjectAny("YSAlice/WhiteBoard/SDigits/PHOS"))->GetListOfFolders() ;
+ TCollection * folderslist = ((TFolder*)gROOT->FindObjectAny("Folders/RunMC/Event/Data/PHOS/SDigits"))->GetListOfFolders() ;
TIter next(folderslist) ;
TFolder * folder = 0 ;
// and names of files, from which digits are made.
AliPHOSGetter * gime = AliPHOSGetter::GetInstance() ;
- TClonesArray * digits = gime->Digits(GetName()) ;
-
- TTree * treeD ;
+ const TClonesArray * digits = gime->Digits(GetName()) ;
+ TTree * treeD ;
if(fManager)
treeD = fManager->GetTreeD() ;