Page History
...
More interesting example is to run two instances of the same module in a job with different set of parameters. For this just replace the content of psana.cfg with this:
Code Block |
---|
% psana /reg/d/psdm/AMO/amo14110/xtc/e43-r0100-s0* [info:[psana] modules = my_ana_pkg.my_ana_mod:thresh4390] Fraction of events with energy>4390 is 55.613% [info:my_ana_pkg.my_ana_mod:thresh4400] Fraction of events with energy>4400 is 15.9316% |
and run again:
Code Block |
---|
[psana] modules = my_ana_pkg.my_ana_mod:thresh4390] threshold = 4390 [my_ana_pkg.my_ana_mod:thresh4400] threshold = 4400 |
and run again:
Code Block |
---|
% psana /reg/d/psdm/AMO/amo14110/xtc/e43-r0100-s0* [info:my_ana_pkg.my_ana_mod:thresh4390] threshold = 4390 [ Fraction of events with energy>4390 is 55.613% [info:my_ana_pkg.my_ana_mod:thresh4400] threshold = 4400 Fraction of events with energy>4400 is 15.9316% |
Overview
Content Tools