Dear rooters (and especially Wouter)!
I cant find a simple way to fix RooRealVar-s (and “freeze” a model that depends on them) when doing following operations:
- Adjust parameters p_i when fitting Model1(p_i) to Data1.
- Fix parameters (p_i) at best values from step 1
- Use Model1 (with optimized parameters) as a part of more complicated Model2 and fit Model2 to Data2 (at fixed p_i).
How do I fix (p_i) after step 1?
Is the only for this to build analog of Model1 but with fixed parameters?
Thanks for any help.