1 #ifndef CASTORSIMPLERECALGO_H 2 #define CASTORSIMPLERECALGO_H 1 43 const int& maxADCvalue,
44 const double& satCorrConst)
const;
54 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