* @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),
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
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){
//
//
//