Angular analysis of B+->K*+(K+pi0)mumu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
2.3 KiB

  1. /**
  2. * @file feldman_cousins.hh
  3. * @author Christoph Langenbruch, David Gerick
  4. * @date 2020-06-30
  5. *
  6. */
  7. #ifndef FELDMAN_COUSINS_H
  8. #define FELDMAN_COUSINS_H
  9. #include <string>
  10. #include <vector>
  11. namespace fcnc {
  12. //Forward declarations
  13. class event;
  14. class fitter;
  15. class pdf;
  16. class generator;
  17. class parameters;
  18. class options;
  19. class feldman_cousins;
  20. class feldman_cousins {
  21. private:
  22. options* opts;
  23. int from, to;
  24. public:
  25. ///constructor
  26. feldman_cousins(options* o):
  27. opts(o),
  28. from(-1),
  29. to(-1)
  30. {
  31. };
  32. ///destructor
  33. ~feldman_cousins(){};
  34. ///one-dimensional feldman cousins
  35. bool fc_1d(std::string parname, unsigned int nsteps, double parmin, double parmax,
  36. unsigned int ntoys, unsigned int pdfidx, //this parameter just changes output file
  37. std::vector<pdf*> probs, std::vector<parameters*> params, generator* gen, fitter* f,
  38. std::vector<std::vector<event> *> events, unsigned int bin=0, int from=-1, int to=-1);
  39. bool fc_1d(std::string parname, unsigned int nsteps, double parmin, double parmax,
  40. unsigned int ntoys, //this parameter just changes output file
  41. pdf* prob, parameters* params, generator* gen, fitter* f,
  42. std::vector<event> * events, unsigned int bin=0, int from=-1, int to=-1);
  43. ///two-dimensional feldman cousins
  44. bool fc_2d(std::string parxname, unsigned int nstepsx, double parxmin, double parxmax,
  45. std::string paryname, unsigned int nstepsy, double parymin, double parymax,
  46. unsigned int ntoys, unsigned int pdfidx, //this parameter just changes output file
  47. std::vector<pdf*> probs, std::vector<parameters*> params, generator* gen, fitter* f,
  48. std::vector<std::vector<event> *> events, unsigned int bin=0, int from=-1, int to=-1);
  49. bool fc_2d(std::string parxname, unsigned int nstepsx, double parxmin, double parxmax,
  50. std::string paryname, unsigned int nstepsy, double parymin, double parymax,
  51. unsigned int ntoys, //this parameter just changes output file
  52. pdf* prob, parameters* params, generator* gen, fitter* f,
  53. std::vector<event> * events, unsigned int bin=0, int from=-1, int to=-1);
  54. };
  55. }//end namespace
  56. #endif