]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MONITOR/deroot.cxx
adding production request
[u/mrichter/AliRoot.git] / MONITOR / deroot.cxx
index 99a8962f04a9b8c3a7abd35f863150f01e0011f4..f0835a0ea545ec88d69062a0d466c2fa12af4ff1 100644 (file)
@@ -29,7 +29,7 @@ int deroot(const char *rootFileName, const char *dateFileName, const char *ddlFi
   cerr << "Error getting RAW tree" << endl;
   return(1);
  }
- AliRawEvent *rootEvent=NULL;
+ AliRawVEvent *rootEvent=NULL;
  
  t->SetBranchAddress("rawevent", &rootEvent);
 
@@ -42,7 +42,7 @@ int deroot(const char *rootFileName, const char *dateFileName, const char *ddlFi
  UInt_t eventSize = 10000000; // 10MB by default
  unsigned char *dateEvent = new unsigned char[eventSize];
  for(Long_t gdcCounter=0; gdcCounter<t->GetEntries(); gdcCounter++) {
-  rootEvent=new AliRawEvent;
+  rootEvent=NULL;
   t->GetEntry(gdcCounter);
   if (rootEvent->GetHeader()->GetEventSize() > eventSize) {
     delete [] dateEvent;