Write histos to file. (J. Barbosa)
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 29 Oct 2002 15:07:11 +0000 (15:07 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 29 Oct 2002 15:07:11 +0000 (15:07 +0000)
RICH/RICHpadtest.C
RICH/RICHpadtestC.C

index e67114c11c8de14ff0a5e9d455b97667011cd53c..165498785c6fb31723187a488d60f95d9108e369 100644 (file)
@@ -53,6 +53,8 @@ void RICHpadtest (Int_t diaglevel,Int_t evNumber1=0,Int_t evNumber2=0)
     
     RICH->DiagnosticsSE(diaglevel,evNumber1,evNumber2);
 
+    file->Write();
+
 
 //  Create some histograms
 
index 38339030d72de73f673548ff34adb72cf8b0a8e3..75520567b93f4a684d2bc250b416828fcc7e9962 100644 (file)
@@ -49,4 +49,7 @@ void RICHpadtestC (Int_t evNumber1=0,Int_t evNumber2=0)
     AliRICH *RICH  = (AliRICH*)gAlice->GetDetector("RICH");
     
     RICH->DiagnosticsFE(evNumber1,evNumber2);
+    
+    file->Write();
+
 }