void JPetRawSignal::addPoint(const JPetSigCh& sigch) { if (sigch.getType() == JPetSigCh::Trailing) { fTrailingPoints.push_back(sigch); } else if (sigch.getType() == JPetSigCh::Leading) { fLeadingPoints.push_back(sigch); } else if (sigch.getType() == JPetSigCh::Charge) { fTOTPoint = sigch; } }
void JPetRawSignal::setTOTPoint(const JPetSigCh & totSigCh) { if (totSigCh.getType() == JPetSigCh::Charge) { fTOTPoint = totSigCh; } }