]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSPidParItem.cxx
Possible fix for bug 59991 (F. Prino). Added TObjArray::Delete at the end of the...
[u/mrichter/AliRoot.git] / ITS / AliITSPidParItem.cxx
index 015415527f9a1bf6c9bf62a7289c8de29fda1a07..5f776267adb7e7e27689c643e7620a2ca4870654 100644 (file)
@@ -1,3 +1,20 @@
+/**************************************************************************
+ * 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$ */
+
 /////////////////////////////////////////////////////////
 //Class for PID in the ITS                             //
 //                                                     //
 
 #include <Riostream.h>
 #include <TF1.h>
+#include <TMath.h>
+
 #include "AliITSPidParItem.h"
 
 ClassImp(AliITSPidParItem)
 //____________________________________________________________________
-AliITSPidParItem::AliITSPidParItem(){
+AliITSPidParItem::AliITSPidParItem():
+fPCenter(0),
+fPWidth(0)
+{
   // default constructor
-  fPCenter=0;
-  fPWidth=0;
   for(Int_t i=0;i<39;i++){
   fBuff[i]=0;
   }
 }//____________________________________________________________________
-AliITSPidParItem::AliITSPidParItem(Float_t center,Float_t width,Double_t *buff){
+AliITSPidParItem::AliITSPidParItem(Float_t center,Float_t width,Double_t *buff):
+fPCenter(center),
+fPWidth(width)
+{
   // standard constructor
-  fPCenter=center;
-  fPWidth=width;
   for (Int_t i=0;i<39;i++) fBuff[i]=buff[i];
 
 }