Skip to content

Commit b841b89

Browse files
authored
Update CHANGELOG.md
1 parent e8d38e4 commit b841b89

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

CHANGELOG.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -174,19 +174,28 @@ The filling functions can be called also with a specific backend policy and with
174174

175175
int main(int argv, char** argc)
176176
{
177-
...
178-
auto xfcn = hydra::make_loglikehood_fcn(xmodel, xrange);
179-
auto yfcn = hydra::make_loglikehood_fcn(ymodel, yrange);
180-
auto zfcn = hydra::make_loglikehood_fcn(zmodel, zrange);
181-
182-
auto sim_fcn1 = hydra::make_simultaneous_fcn(xfcn, yfcn);
183-
auto sim_fcn2 = hydra::make_simultaneous_fcn(xfcn, yfcn, zfcn);
184-
auto sim_fcn = hydra::make_simultaneous_fcn(sim_fcn1, sim_fcn2);
185-
186-
...
177+
...
178+
//=====================================================================================
179+
// +----> [ fcn(model-x) ]
180+
// +----> [ simultaneous fcn 1] ---|
181+
// | +----> [ fcn(model-y) ]
182+
// [ simultaneous fcn ] ----+
183+
// | +----> [ fcn(model-w) ]
184+
// +----> [ simultaneous fcn 2] ---|
185+
// +----> [ fcn(model-z) ]
186+
//=====================================================================================
187+
auto fcnX = hydra::make_loglikehood_fcn(modelX, dataX);
188+
auto fcnY = hydra::make_loglikehood_fcn(modelY, dataY);
189+
auto fcnW = hydra::make_loglikehood_fcn(modelY, dataY);
190+
auto fcnZ = hydra::make_loglikehood_fcn(modelZ, dataZ);
191+
192+
auto sim_fcn1 = hydra::make_simultaneous_fcn(fcnx, fcny);
193+
auto sim_fcn2 = hydra::make_simultaneous_fcn(fcnw, fcnz);
194+
auto sim_fcn = hydra::make_simultaneous_fcn(sim_fcn1, sim_fcn2);
195+
...
187196
}
188197
```
189-
Moreover, the generic interface allows to build up a simultaneous FCN object by composing usual FCNs and simultaneous FCNs. An example of such new method can be found in `examples/fit/simultaneous_fit.inl`.
198+
Moreover, the generic interface allows to build up a simultaneous FCN object by composing usual FCNs and simultaneous FCNs. An example of such new method can be found in `examples/fit/simultaneous_fit.inl`.
190199

191200
2. Fitting of convoluted PDFs.
192201

0 commit comments

Comments
 (0)