HiggsObservable.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 HEPfit Collaboration
3  * All rights reserved.
4  *
5  * For the licensing terms see doc/COPYING.
6  */
7 
8 #ifndef HIGGSOBSERVABLE_H
9 #define HIGGSOBSERVABLE_H
10 
11 #include "Observable.h"
12 #include <boost/tokenizer.hpp>
13 
14 class ThObsFactory;
26 class HiggsObservable : public Observable {
27 public:
29  Observable(Obs)
30  {
31  isnew = true;
32  };
33 
34  HiggsObservable(const HiggsObservable& orig);
35 
36 // virtual ~HiggsObservable();
37 
38  // Read the necessary information from the config file. First row should
39  // contain the list of categories used in the analysis
40 
47  virtual void setParametricLikelihood(std::string filename, std::vector<ThObservable*> thObsV);
48 
52  virtual double computeWeight();
53 
57  void setIsnew(bool isnew)
58  {
59  this->isnew = isnew;
60  }
61 
66  bool isNew()
67  {
68  return isnew;
69  }
70 
71  void getTheoryValues(std::vector<double>& theoryValues_i)
72  {
73  theoryValues_i = theoryValues;
74  }
75 
77  {
78  return thobsvsize;
79  }
80 
81  int getNChannels()
82  {
83  return channelsize;
84  }
85 
86 
95  boost::tokenizer<boost::char_separator<char> >::iterator & ParseHiggsObservable(boost::tokenizer<boost::char_separator<char> >::iterator & beg,
96  ThObsFactory& myObsFactory,
98  int rank);
99 
100  private:
101  TMatrixD channels;
102  bool isnew;
103  std::vector<ThObservable*> thObsV;
104  std::vector<double> theoryValues;
105  double thobsvsize;
106  double channelsize;
107 };
108 
109 #endif /* HIGGSOBSERVABLE_H */
110 
TMatrixD channels
A matrix holding the information of all the channels.
A class for.
Definition: ThObsFactory.h:26
std::vector< double > theoryValues
void setIsnew(bool isnew)
A method to set the observable to the new parametric form.
A model class for the Standard Model.
bool isNew()
A method to get the observable to the new parametric form.
A class for observables.
Definition: Observable.h:28
boost::tokenizer< boost::char_separator< char > >::iterator & ParseHiggsObservable(boost::tokenizer< boost::char_separator< char > >::iterator &beg, ThObsFactory &myObsFactory, StandardModel *myModel, int rank)
the parser for HiggsObservables
A class for Higgs experimental analyses.
HiggsObservable(const Observable &Obs)
std::string filename
The name of the file containing the experimental likelihood for the observable.
Definition: Observable.h:444
virtual void setParametricLikelihood(std::string filename, std::vector< ThObservable * > thObsV)
Set the parametric likelihood describing one Higgs decay channel from a config file.
virtual double computeWeight()
A method to compute the weight associated with the observable.
std::vector< ThObservable * > thObsV
A vector of ThObservables.
My own Model.
Definition: myModel.h:17
void getTheoryValues(std::vector< double > &theoryValues_i)
bool isnew
A boolean which is true if the parametrization is new.