Cosmetics only
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 Feb 2000 14:08:38 +0000 (14:08 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 Feb 2000 14:08:38 +0000 (14:08 +0000)
PHOS/AliPHOSAnalyze.cxx
PHOS/AliPHOSDigit.h

index 1d6ea51..1296371 100644 (file)
@@ -736,8 +736,9 @@ Bool_t AliPHOSAnalyze::OpenRootFile(Text_t * name)
 //____________________________________________________________________________
 void AliPHOSAnalyze::SavingHistograms()
 {
-
-  TFile output("test.root","RECREATE");
+  Text_t outputname[80] ;// = fRootFile->GetName();
+  sprintf(outputname,"%s.analyzed",fRootFile->GetName());
+  TFile output(outputname,"RECREATE");
   output.cd();
   if (fhEmcDigit )         fhEmcDigit->Write()  ;
   if (fhVetoDigit )        fhVetoDigit->Write()  ;
index 9df7e2d..31762e8 100644 (file)
@@ -40,6 +40,7 @@ public:
   Int_t   GetId()     { return fId ; }     
   Int_t   GetAmp() {  return fAmp  ; } 
   Bool_t  IsSortable() const{ return kTRUE ; }
+  void    SetAmp(Int_t Amp) {  fAmp=Amp  ; } 
   
 private:
   Int_t fId ;                // absolute id