Creating a Continuous PDF for Time Distributions in RooFit

I need a PDF for RooFit where my independent variable is time ttt. Due to detector effects, there are occurrences of data with values less than zero. I need to use one exponential distribution to describe the data for t>0 and another for t<0. Additionally, it is essential to ensure continuity, meaning both exponential distributions must meet at the same point when t=0. Is there a class in ROOT that can accomplish this?

Hi,

Can ROOT: RooGenericPdf Class Reference be of help here?

Best,
D

This is effective, thanks.