]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCBuffer.cxx
Modified plots and made jet finder use SDigits
[u/mrichter/AliRoot.git] / TPC / AliTPCBuffer.cxx
index 1bd01f49bdf502ef16089e2187d1f95de2b029b8..247c9d0a410a9469efe1caa80e2bf43e2a1b0877 100644 (file)
@@ -12,7 +12,6 @@
  * about the suitability of this software for any purpose. It is          *
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
-
 /* $Id$ */
 
 // Storing digits in a binary file
@@ -34,9 +33,9 @@ ClassImp(AliTPCBuffer)
 AliTPCBuffer::AliTPCBuffer(const char* fileName){
   // Constructor
 #ifndef __DECCXX
-  f.open("AliTPCDDL.dat",ios::binary|ios::out);
+  f.open(fileName,ios::binary|ios::out);
 #else
-  f.open("AliTPCDDL.dat",ios::out);
+  f.open(fileName,ios::out);
 #endif
   // fout=new TFile(fileName,"recreate");
   // tree=new TTree("tree","Values");
@@ -53,7 +52,7 @@ AliTPCBuffer::~AliTPCBuffer(){
   //delete fout;
 }
 //////////////////////////////////////////////////////////////////////////////////////////////////////////////
-AliTPCBuffer::AliTPCBuffer(const AliTPCBuffer &source){
+AliTPCBuffer::AliTPCBuffer(const AliTPCBuffer &source):TObject(source){
   // Copy Constructor
   this->fVerbose=source.fVerbose;
   return;