// add Task to //root/Tasks folder
TTask * roottasks = (TTask*)gROOT->GetRootFolder()->FindObject("Tasks") ;
- roottasks->Add(this) ;
+ TTask * phostasks = (TTask*)(roottasks->GetListOfTasks()->FindObject("PHOS"));
+ phostasks->Add(this) ;
fIsInitialized = kTRUE ;
//____________________________________________________________________________
Bool_t AliPHOSClusterizerv1::FindFit(AliPHOSEmcRecPoint * emcRP, int * maxAt, Float_t * maxAtEnergy,
- Int_t nPar, Float_t * fitparameters)
+ Int_t nPar, Float_t * fitparameters) const
{
// Calls TMinuit to fit the energy distribution of a cluster with several maxima
// The initial values for fitting procedure are set equal to the positions of local maxima.
// add Task to //root/Tasks folder
TTask * roottasks = (TTask*)gROOT->GetRootFolder()->FindObject("Tasks") ;
- roottasks->Add(this) ;
+ TTask * phostasks = (TTask*)(roottasks->GetListOfTasks()->FindObject("PHOS"));
+ phostasks->Add(this) ;
fIsInitialized = kTRUE ;
}
if( strcmp(digitizerBranch->GetName(),"AliPHOSDigitizer") == 0)
digitizerNotFound = kFALSE ;
}
-
+
}
if(digitizerNotFound || phosNotFound){
while ((sb=(TBranch*)next())) {
sb->SetFile(filename);
}
+
cwd->cd();
}
cwd->cd();
}
-
emcBranch->Fill() ;
cpvBranch->Fill() ;
clusterizerBranch->Fill() ;
+// gAlice->TreeR()->Fill() ; // YK 28.05.01
gAlice->TreeR()->Write(0,kOverwrite) ;
}
while ( (digit = (AliPHOSDigit *)nextdigit()) ) { // scan over the list of digits
AliPHOSRecPoint * clu = 0 ;
- TArrayI clusterdigitslist(1000) ;
+ TArrayI clusterdigitslist(1500) ;
Int_t index ;
if (( IsInEmc (digit) && Calibrate(digit->GetAmp()) > fEmcClusteringThreshold ) ||
//____________________________________________________________________________
void AliPHOSClusterizerv1::Print(Option_t * option)const
{
- // Prints the parameters of the clusterizer
+ // Print clusterizer parameters
+
if(fIsInitialized){
// Print parameters