Added functionality of storing named dat based AliPHOSTriggerParameters to PHOS/macro...
authorhqvigsta <hqvigsta@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 16 Apr 2012 11:14:56 +0000 (11:14 +0000)
committerhqvigsta <hqvigsta@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 16 Apr 2012 11:14:56 +0000 (11:14 +0000)
PHOS/macros/Trigger/OCDB/testReadTRUPedestals.C

index 6be1591..e32be39 100644 (file)
@@ -3,9 +3,11 @@ void testReadTRUPedestals()
   gROOT->ProcessLine(".include $ALICE_ROOT/PHOS");
   gROOT->LoadMacro("readTRUPedestals.C+g");
 
-  AliPHOSTriggerParameters* parameters = new AliPHOSTriggerParameters();
+  AliPHOSTriggerParameters* parameters = new AliPHOSTriggerParameters("phosTParametersDat");
 
   readTRUPedestals(parameters);
   drawTRUPedestals(parameters);
+
+  parameters->SaveAs("phosTParams.root");
 }