+/**************************************************************************
+ * 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];
}