Implementation of the adaptive stuff in effLUT
Second episode of the implementation of the adaptive binning in EffDalitz (first episode: MR !40 (merged) ):
- removed from the effLUT library the code to create the efficiency plots, which are now created in different scripts (see MR !40 (merged) ).
- implementation of the adaptive stuff in the effLUT; is still possible to run the code using the TEfficiency objects;
Warning: some fields of the config file effLUT are now different! The readme is accordingly updated.
Merge request reports
Activity
243 243 } 244 244 245 245 //--------------------------------------------------------- 246 // Get a single efficiency from a TH2A object, with number of total and passed events 247 //--------------------------------------------------------- 248 void effLUT::GetSingleEff_adaptive(const double var_1, const double var_2, 249 TH2A *h_eff, double Eff[], int events[]){ What about a single simple structure which will includes everything, and that will be easier to expand (to include lower and upper errors, for instance), like that:
struct eff{ double efficiency; double err_low; double err_high; unsigned int num_total; unsigned int num_passed; }
Edited by Alessio Piucci
Why are there two plotting programs? Can't you use the EffLUT to create all the plots?
Actually it is a good test of the EffLUT if it is able to do this.
This does not mean that the plotting should become a feature inside EffLUT!
Edited by Sebastian Neubertmentioned in commit 422f7233
Please register or sign in to reply