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