1 #ifndef CASTORSIMPLERECALGO_H 2 #define CASTORSIMPLERECALGO_H 1 26 bool correctForContainment,
float fixedPhaseNs);
38 const CastorDataFrame& digi,
const int& maxADCvalue,
const double& satCorrConst)
const;
49 std::unique_ptr<CastorPulseContainmentCorrection>
pulseCorr_;
void resetTimeSamples(int f, int t)
CastorSimpleRecAlgo(int firstSample, int samplesToAdd, bool correctForTimeslew, bool correctForContainment, float fixedPhaseNs)
CastorRecHit reconstruct(const CastorDataFrame &digi, const CastorCoder &coder, const CastorCalibrations &calibs) const
std::unique_ptr< CastorPulseContainmentCorrection > pulseCorr_
void recoverADCSaturation(CastorRecHit &rechit, const CastorCoder &coder, const CastorCalibrations &calibs, const CastorDataFrame &digi, const int &maxADCvalue, const double &satCorrConst) const
void checkADCSaturation(CastorRecHit &rechit, const CastorDataFrame &digi, const int &maxADCvalue) const