Ejemplo n.º 1
0
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;
  }
}
Ejemplo n.º 2
0
void JPetRawSignal::setTOTPoint(const JPetSigCh & totSigCh) {
  if (totSigCh.getType() == JPetSigCh::Charge) {
    fTOTPoint = totSigCh;
  }
}