]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCParamCR.cxx
Adding simple example to load default debug streamer
[u/mrichter/AliRoot.git] / TPC / AliTPCParamCR.cxx
index e1f95209034d0958d21c9f9282e37e336e26ebd7..42a4cb284cd9102cdfb8f1d032dce2723040ed5b 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log$
-Revision 1.6  2002/03/18 17:59:13  kowal2
-Chnges in the pad geometry - 3 pad lengths introduced.
-
-Revision 1.5  2001/01/26 19:57:22  hristov
-Major upgrade of AliRoot code
-
-Revision 1.4  2000/11/02 07:33:15  kowal2
-Improvements of the code.
-
-Revision 1.3  2000/06/30 12:07:50  kowal2
-Updated from the TPC-PreRelease branch
-
-Revision 1.2.4.1  2000/06/14 16:48:24  kowal2
-Parameter setting improved. Removed compiler warnings
-
-Revision 1.2  2000/04/17 09:37:33  kowal2
-removed obsolete AliTPCDigitsDisplay.C
-
-Revision 1.1.4.2  2000/04/10 11:36:13  kowal2
-
-New Detector parameters handling class
-
-*/
+/* $Id$ */
 
 ///////////////////////////////////////////////////////////////////////
 //  Manager and of geomety  classes for set: TPC                     //
@@ -62,22 +38,45 @@ New Detector parameters handling class
 
 
 ClassImp(AliTPCParamCR)
-const static  Int_t kMaxRows=600;
-const static  Float_t  kEdgeSectorSpace = 2.5;
+static const  Int_t kMaxRows=600;
+static const  Float_t  kEdgeSectorSpace = 2.5;
 
 AliTPCParamCR::AliTPCParamCR()
+              :AliTPCParam(),
+              fInnerPRF(0),
+              fOuter1PRF(0),
+              fOuter2PRF(0),
+               fTimeRF(0),
+              fFacSigma(0.)
 {   
   //
   //constructor set the default parameters
-  fInnerPRF=0;
-  fOuter1PRF=0;
-  fOuter2PRF=0;
-  fTimeRF = 0;
+
   fFacSigma = Float_t(2.);
   SetDefault();
   Update();
 }
-
+AliTPCParamCR::AliTPCParamCR(const AliTPCParamCR &param)
+              :AliTPCParam(),
+              fInnerPRF(0),
+              fOuter1PRF(0),
+              fOuter2PRF(0),
+               fTimeRF(0),
+              fFacSigma(0.)
+{
+  //
+  // copy constructor - dummy
+  //
+  fFacSigma= param.fFacSigma;
+}
+AliTPCParamCR & AliTPCParamCR::operator =(const AliTPCParamCR & param)
+{
+  //
+  // assignment operator - dummy
+  //
+   fFacSigma= param.fFacSigma;
+  return (*this); 
+}
 AliTPCParamCR::~AliTPCParamCR()
 {
   //
@@ -95,7 +94,7 @@ void AliTPCParamCR::SetDefault()
   AliTPCParam::SetDefault();  
 }  
 
-Int_t  AliTPCParamCR::CalcResponse(Float_t* xyz, Int_t * index, Int_t dummy)
+Int_t  AliTPCParamCR::CalcResponse(Float_t* xyz, Int_t * index, Int_t /*dummy*/)
 {
   //
   //calculate bin response as function of the input position -x