]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSDATreeDigit.cxx
Fix from Yves, if fitting is not good, recalculate from parabola; reject bad channels...
[u/mrichter/AliRoot.git] / PHOS / AliPHOSDATreeDigit.cxx
index adc26e0fd3c63e22f81e5b1bb61a88172f243f52..5f44403800fa6f7a612ba1ffa7a4f39dc7914844 100644 (file)
@@ -1,3 +1,19 @@
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+/* $Id$ */
+
 // --
 // --
 // Implementation for TTree output in PHOS DA
@@ -21,7 +37,8 @@ bool AliPHOSDATreeDigit::IsNeighbor(const AliPHOSDATreeDigit& digit) const{
   return false;
 }
 //------------------------------------------------------------------------
-void AliPHOSDATreeDigit::Print(char* opt){
+void AliPHOSDATreeDigit::Print(Option_t *opt) const
+{
   // Print out
   std::cout<<" AliPHOSDATreeDigit:: "<<opt<<" E="<<fEnergy<<" (row,col)=("
           <<GetRow()<<","<<GetCol()<<") absid="<<fAbsId<<std::endl;