CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LikelihoodSpecies.h
Go to the documentation of this file.
1 #ifndef LikelihoodSpecies_h
2 #define LikelihoodSpecies_h
3 
5 #include <vector>
6 #include <string>
7 #include <map>
8 
10  public:
12  LikelihoodSpecies(const char* name, float prior);
13 
14  virtual ~LikelihoodSpecies();
15 
16  // modifiers
17  void setName(const char* name);
18  void addPdf(LikelihoodPdf* pdf);
19  void setPrior(float prior);
20  void setSplitFraction(std::pair<std::string,float> splitfrac);
21 
22  // methods
23  std::vector<LikelihoodPdf*> getListOfPdfs();
24  const char* getName();
25  float getPrior();
26  std::map<std::string,float> getSplitFractions();
27 
28  private:
29  std::vector<LikelihoodPdf*> _pdfList;
31  float _prior;
32  std::map<std::string,float> _splitFractions;
33 
34 };
35 #endif
void addPdf(LikelihoodPdf *pdf)
void setPrior(float prior)
void setSplitFraction(std::pair< std::string, float > splitfrac)
std::vector< LikelihoodPdf * > _pdfList
virtual ~LikelihoodSpecies()
std::map< std::string, float > getSplitFractions()
std::map< std::string, float > _splitFractions
const char * getName()
dictionary prior
std::vector< LikelihoodPdf * > getListOfPdfs()
void setName(const char *name)