//*-- Author: Laurent Aphecetche & Yves Schutz (SUBATECH)
//////////////////////////////////////////////////////////////////////////////
+
// --- ROOT system ---
class TFile;
#include "TROOT.h"
CreatePHOSFolders();
}
//____________________________________________________________________________
-AliPHOS:: AliPHOS(const char* name, const char* title=""): AliDetector(name, title)
+AliPHOS:: AliPHOS(const char* name, const char* title): AliDetector(name, title)
{
// Create folder and task hierarchy
CreatePHOSFolders();
}
//____________________________________________________________________________
-void AliPHOSvImpacts::MakeBranch(Option_t *opt=" ", const char *file=0)
+void AliPHOSvImpacts::MakeBranch(Option_t *opt, const char *file)
{
// Create new branch in the current Hits Root Tree containing
// a list of PHOS impacts (exact values of track coming to detector)
Int_t i;
for (i=0; i<3; i++) xyzm[i] = pos[i];
- for (Int_t i=0; i<3; i++) {
+ for (i=0; i<3; i++) {
xyzm[i] = pos[i] ;
pm[i] = pmom[i];
}
Int_t i;
for (i=0; i<3; i++) xyzm[i] = pos[i];
- for (Int_t i=0; i<3; i++) {
+ for (i=0; i<3; i++) {
xyzm[i] = pos[i] ;
pm[i] = pmom[i];
}
Int_t i;
for (i=0; i<3; i++) xyzm[i] = pos[i];
- for (Int_t i=0; i<3; i++) {
+ for (i=0; i<3; i++) {
xyzm[i] = pos[i] ;
pm[i] = pmom[i];
}