Integral over conditional variable

Dear all,

I have a rooabspdf, f(t,m|te)r(te) where f(t,m|te) is the conditional pdf under te and r(te) is the distribution of te. and I want to integral over a t range [t1,t2], with the projection of all the other variables so that I can compare it with the dataset in the t dimension, how could I write the code using createIntegral() function.

Many Thanks for the help