]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliDetector.cxx
Possibility to define the magnetic field in the reconstruction (Yu.Belikov)
[u/mrichter/AliRoot.git] / STEER / AliDetector.cxx
index 84402dbe7fc371bfe250d263fec92096a95c3a61..acadffe55629aef445ed8b5313c87dd1aa70d995 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.11  2001/01/26 19:58:46  hristov
+Major upgrade of AliRoot code
+
 Revision 1.10  2001/01/17 10:50:50  hristov
 Corrections to destructors
 
@@ -285,14 +288,14 @@ void AliDetector::MakeBranch(Option_t *option, char *file)
   sprintf(branchname,"%s",GetName());
   //
   // Get the pointer to the header
-  char *cH = strstr(option,"H");
+  const char *cH = strstr(option,"H");
   //
   if (fHits && gAlice->TreeH() && cH) {
     gAlice->MakeBranchInTree(gAlice->TreeH(), 
                              branchname, &fHits, fBufferSize, file) ;
   }    
   
-  char *cD = strstr(option,"D");
+  const char *cD = strstr(option,"D");
 
   if (cD) {
     if (file) {