]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - T0/AliT0RawData.cxx
fixng the load of the OADB container file
[u/mrichter/AliRoot.git] / T0 / AliT0RawData.cxx
index 3f471136381e7a4fe7ec1c7f74c0f9b6db1ac26a..220fa12aa3b3026bac20e0df46bc6fb350218750 100644 (file)
@@ -37,6 +37,8 @@
 #include "AliT0LookUpValue.h"
 #include "AliT0LookUpKey.h"
 
+using std::cout;
+using std::endl;
 ClassImp(AliT0RawData)
 
 //_____________________________________________________________________________
@@ -76,9 +78,10 @@ uncertances
   */
 
   //open the output file
-  char fileName[15];
-  strcpy(fileName,AliDAQ::DdlFileName("T0",0)); //The name of the output file
-  fFile = new AliFstream(fileName);
+  // char fileName[15];
+  // strcpy(fileName,AliDAQ::DdlFileName("T0",0)); //The name of the output file
+  TString fileName = Form("%s",AliDAQ::DdlFileName("T0",0));
+  fFile = new AliFstream(fileName.Data());
   memset(fBuffer,0,512*sizeof(UInt_t));
 
   //get event number