]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCAltroEmulator.cxx
1. Increase the angular cut 0.015==> 0.05 to allow bigger fluctuation of drift velocity
[u/mrichter/AliRoot.git] / TPC / AliTPCAltroEmulator.cxx
index 969b8548581cfd8a673bacb9c461afecc8084687..8b44b8f0d5da9b44996d14d68a4b3d74bf6715a2 100644 (file)
@@ -39,6 +39,9 @@
  *     @param Channel an <tt> short* </tt> Pointer to a 1d short Array with the input Data
  */
 
+
+ClassImp(AliTPCAltroEmulator)
+
 AliTPCAltroEmulator::AliTPCAltroEmulator(int timebins, short* Channel) : 
   TNamed(),
   ftimebins(timebins),
@@ -218,8 +221,10 @@ void AliTPCAltroEmulator::ConfigAltro(int ONBaselineCorrection1, int ONTailcance
   fOnBSL2 = InRange(ONBaselineCorrection2,0,1,"AliTPCAltroEmulator::ConfigAltro","ONBaselineCorrection2");
   fOnClip = InRange(ONClipping,0,1,"AliTPCAltroEmulator::ConfigAltro","ONClipping");
   fOnZSU = InRange(ONZerosuppression,0,1,"AliTPCAltroEmulator::ConfigAltro","ONZerosuppression");
-  ONDataFormatting; // does not have to be checked
   fConfiguredAltro = 1;
+  if (!fConfiguredAltro) { //dummy code to avoid warning
+    printf("%d\n",ONDataFormatting); // does not have to be checked
+  }
 }
 
 /**  @brief Configures the Base Line Correction 1 (BSL1) Module
@@ -920,7 +925,7 @@ int AliTPCAltroEmulator::InBand(int ADC,int bsl, int LowThreshold, int HighThres
     return 0;
 }
 
-int AliTPCAltroEmulator::InRange(int parameter,int Low,int High,char *Module,char *ParameterName){
+int AliTPCAltroEmulator::InRange(int parameter,int Low,int High,const char *Module,const char *ParameterName){
   //
   //
   //