]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/qaGui/AliTRDqaGuiClustersStack.cxx
Remove a run from LHC10e wo AODs; added run list for the new PbPb MC LHC11a10b_bis
[u/mrichter/AliRoot.git] / TRD / qaGui / AliTRDqaGuiClustersStack.cxx
index da155532fa8f9065a9b00ff576a025cca4fa3cb1..a5a1e630e0aa38eda9f949f8f5aa33c74ec8a9ff 100644 (file)
@@ -55,6 +55,7 @@ AliTRDqaGuiClustersStack::AliTRDqaGuiClustersStack()
   : fIdxSM (0),
     fIdxStack (0),
     fView (0),
+    fFileName (0x0),
     fGPanel (0),
     fGCanvas (0),
     fGSelectSM (0),
@@ -75,7 +76,7 @@ AliTRDqaGuiClustersStack::AliTRDqaGuiClustersStack()
     fHistList[i]   = 0x0;
   }
 
-  strncpy(fFileName,"",256);
+  //strncpy(fFileName,"",256);
 
 }
 
@@ -85,6 +86,7 @@ AliTRDqaGuiClustersStack::AliTRDqaGuiClustersStack(TGWindow *parent)
     fIdxSM (0),
     fIdxStack (0),
     fView (0),
+    fFileName (0x0),
     fGPanel (0),
     fGCanvas (0),
     fGSelectSM (0),
@@ -193,7 +195,8 @@ void AliTRDqaGuiClustersStack::SetQAFile(const char *filename) {
   // Sets a file with histograms
   //
   
-  strncpy(fFileName,filename,256);
+  //strncpy(fFileName,filename,256);
+  fFileName = filename;
 
   for(Int_t i=0; i<fgknCh; i++) {
     if (fHistList[i]) delete fHistList[i];