| KLFitter
    v1.3.2
    Documentation of the KLFitter library -- The Kinematic Likelihood Fitter | 
A class implementing a likelihood for the ttbar allhadronic channel. More...
#include <LikelihoodTopAllHadronic.h>
 
  
 | Public Member Functions | |
| Constructors and destructors | |
| LikelihoodTopAllHadronic () | |
| The default constructor. | |
| ~LikelihoodTopAllHadronic () | |
| The (defaulted) destructor. | |
| Member functions (BAT) | |
| void | DefineParameters () override | 
| Define the parameters of the fit. | |
| double | LogLikelihood (const std::vector< double > ¶meters) override | 
| The posterior probability definition, overloaded from BCModel.  More... | |
| std::vector< double > | LogLikelihoodComponents (std::vector< double > parameters) override | 
| The posterior probability definition, overloaded from BCModel.  More... | |
| std::vector< double > | GetInitialParameters () override | 
| Get initial values for the parameters.  More... | |
|  Public Member Functions inherited from KLFitter::LikelihoodBase | |
| LikelihoodBase (Particles **particles=0) | |
| The default constructor.  More... | |
| virtual | ~LikelihoodBase () | 
| The default destructor. | |
| KLFitter::PhysicsConstants * | PhysicsConstants () | 
| Return the table of physics constants.  More... | |
| KLFitter::DetectorBase * | Detector () | 
| Return the detector.  More... | |
| KLFitter::Particles ** | PParticlesPermuted () | 
| Return the set of measured particles.  More... | |
| KLFitter::Particles * | ParticlesModel () | 
| Return the set of model particles.  More... | |
| int | NParticlesModel () | 
| Return the number of model particles.  More... | |
| int | NParameters () | 
| Return the number of parameters.  More... | |
| double | ParMin (int index) | 
| Return the lower boundary of a parameter.  More... | |
| double | ParMax (int index) | 
| Return the upper boundary of a parameter.  More... | |
| BtaggingMethod | GetBTagging () | 
| Get flag to use b-tagging or not.  More... | |
| bool | FlagIntegrate () | 
| int | SetPhysicsConstants (KLFitter::PhysicsConstants *physicsconstants) | 
| Set the physics constants.  More... | |
| virtual int | SetDetector (KLFitter::DetectorBase **detector) | 
| Set the detector.  More... | |
| int | SetParticlesPermuted (KLFitter::Particles **particles) | 
| Set the measured particles.  More... | |
| int | SetPermutations (std::unique_ptr< KLFitter::Permutations > *permutations) | 
| Set the permutation object.  More... | |
| int | SetParameterRange (int index, double parmin, double parmax) | 
| Set the range of a model parameter.  More... | |
| int | SetInitialParameters (std::vector< double > const ¶meters) | 
| Set the initial values for the minimization, etc.  More... | |
| int | SetInitialParametersNChains (std::vector< double > const ¶meters, unsigned int nchains) | 
| Set the initial values for the minimization, etc.  More... | |
| int | SetBTagging (BtaggingMethod btagmethod) | 
| Set which b-tagging you wish to use.  More... | |
| int | SetFlagBTagging (bool flag) | 
| THIS IS AN OUTDATED METHOD - JUST HERE FOR BACKWARD COMPATIBILITY.  More... | |
| int | SetFlagIsNan (bool flag) | 
| Set flag FlagIsNan.  More... | |
| bool | GetFlagIsNan (void) | 
| Get flag FlagIsNan.  More... | |
| int | SetFlagIntegrate (bool flag) | 
| Set flag to integrate or not.  More... | |
| void | SetFlagUseJetMass (bool flag) | 
| Set flag to use measured jet masses (true) instead of parton masses (false);. | |
| virtual int | Initialize () | 
| Initialize the likelihood for the event.  More... | |
| void | PropagateBTaggingInformation () | 
| Propagate the b-tagging information from the permuted (measured) particles to the model particles. | |
| virtual double | LogAPrioriProbability (const std::vector< double > &) override | 
| The prior probability definition, overloaded from BCModel.  More... | |
| virtual double | LogEventProbability () | 
| Return the log of the event probability fof the current combination.  More... | |
| virtual double | LogEventProbabilityBTag () | 
| Return the contribution from b tagging to the log of the event probability for the current combination.  More... | |
| virtual int | RemoveForbiddenParticlePermutations () | 
| Remove forbidden particle permutations.  More... | |
| virtual bool | NoTFProblem (std::vector< double > parameters) | 
| Check if there are TF problems.  More... | |
| std::vector< double > | GetBestFitParameters () | 
| Returns the best fit parameters, overloaded from BCModel.  More... | |
| std::vector< double > | GetBestFitParameterErrors () | 
| Returns the errors of the best fit parameters, overloaded from BCModel.  More... | |
| double | GetBestFitParameter (unsigned int index) | 
| Returns the best fit parameters, overloaded from BCModel.  More... | |
| double | GetBestFitParameterError (unsigned int index) | 
| Returns the errors of the best fit parameter i, overloaded from BCModel.  More... | |
| virtual int | LHInvariantPermutationPartner (int, int, int *, int *) | 
| Check if the permutation is LH invariant.  More... | |
| int | GetParametersFromCache (int iperm) | 
| Write parameters from fCachedParametersVector.at(iperm) to fCachedParameters.  More... | |
| int | SetParametersToCache (int iperm, int nperms) | 
| Write parameters to fCachedParametersVector.at(iperm) from GetBestFitParameter()  More... | |
| double | GetIntegral () | 
| int | ResetCache () | 
| Resets the values of all parameter cache vectors.  More... | |
| Protected Member Functions | |
| int | SavePermutedParticles () override | 
| Save permuted particles. | |
| int | SaveResolutionFunctions () override | 
| Save resolution functions. | |
| Member functions (misc) | |
| int | CalculateLorentzVectors (std::vector< double > const ¶meters) override | 
| Update 4-vectors of model particles.  More... | |
| int | AdjustParameterRanges () override | 
| Adjust parameter ranges. | |
| int | DefineModelParticles () override | 
| Define the model particles.  More... | |
| int | RemoveInvariantParticlePermutations () override | 
| Remove invariant particle permutations.  More... | |
| int | BuildModelParticles () override | 
| Remove forbidden particle permutations - forcing b-jets on the position of a b parton.  More... | |
|  Protected Member Functions inherited from KLFitter::LikelihoodBase | |
| double | SetPartonMass (double jetmass, double quarkmass, double *px, double *py, double *pz, double e) | 
| Set model parton mass according to fFlagUseJetMass.  More... | |
| Protected Attributes | |
| bool | fFlagTopMassFixed | 
| A flag for using a fixed top mass (true) or not (false). | |
| bool | fFlagGetParSigmasFromTFs | 
| Flag for using ResolutionBase::GetSigma() to retrieve the parameter ranges. | |
| ResolutionBase * | fResEnergyBhad1 | 
| Save resolution functions since the eta of the partons is not fitted. | |
| ResolutionBase * | fResEnergyBhad2 | 
| ResolutionBase * | fResEnergyLQ1 | 
| ResolutionBase * | fResEnergyLQ2 | 
| ResolutionBase * | fResEnergyLQ3 | 
| ResolutionBase * | fResEnergyLQ4 | 
| double | bhad1_meas_e | 
| Save measured particle values for frequent calls. | |
| double | bhad1_meas_p | 
| double | bhad1_meas_m | 
| double | bhad1_meas_deteta | 
| double | bhad1_meas_eta | 
| double | bhad1_meas_phi | 
| double | bhad1_meas_px | 
| double | bhad1_meas_py | 
| double | bhad1_meas_pz | 
| double | bhad2_meas_e | 
| double | bhad2_meas_p | 
| double | bhad2_meas_m | 
| double | bhad2_meas_deteta | 
| double | bhad2_meas_eta | 
| double | bhad2_meas_phi | 
| double | bhad2_meas_px | 
| double | bhad2_meas_py | 
| double | bhad2_meas_pz | 
| double | lq1_meas_e | 
| double | lq1_meas_p | 
| double | lq1_meas_m | 
| double | lq1_meas_deteta | 
| double | lq1_meas_eta | 
| double | lq1_meas_phi | 
| double | lq1_meas_px | 
| double | lq1_meas_py | 
| double | lq1_meas_pz | 
| double | lq2_meas_e | 
| double | lq2_meas_p | 
| double | lq2_meas_m | 
| double | lq2_meas_deteta | 
| double | lq2_meas_eta | 
| double | lq2_meas_phi | 
| double | lq2_meas_px | 
| double | lq2_meas_py | 
| double | lq2_meas_pz | 
| double | lq3_meas_e | 
| double | lq3_meas_p | 
| double | lq3_meas_m | 
| double | lq3_meas_deteta | 
| double | lq3_meas_eta | 
| double | lq3_meas_phi | 
| double | lq3_meas_px | 
| double | lq3_meas_py | 
| double | lq3_meas_pz | 
| double | lq4_meas_e | 
| double | lq4_meas_p | 
| double | lq4_meas_m | 
| double | lq4_meas_deteta | 
| double | lq4_meas_eta | 
| double | lq4_meas_phi | 
| double | lq4_meas_px | 
| double | lq4_meas_py | 
| double | lq4_meas_pz | 
| double | bhad1_fit_e | 
| Save fit particle values for frequent calls. | |
| double | bhad1_fit_px | 
| double | bhad1_fit_py | 
| double | bhad1_fit_pz | 
| double | bhad2_fit_e | 
| double | bhad2_fit_px | 
| double | bhad2_fit_py | 
| double | bhad2_fit_pz | 
| double | lq1_fit_e | 
| double | lq1_fit_px | 
| double | lq1_fit_py | 
| double | lq1_fit_pz | 
| double | lq2_fit_e | 
| double | lq2_fit_px | 
| double | lq2_fit_py | 
| double | lq2_fit_pz | 
| double | lq3_fit_e | 
| double | lq3_fit_px | 
| double | lq3_fit_py | 
| double | lq3_fit_pz | 
| double | lq4_fit_e | 
| double | lq4_fit_px | 
| double | lq4_fit_py | 
| double | lq4_fit_pz | 
| double | whad1_fit_m | 
| double | whad2_fit_m | 
| double | thad1_fit_m | 
| double | thad2_fit_m | 
|  Protected Attributes inherited from KLFitter::LikelihoodBase | |
| KLFitter::Particles ** | fParticlesPermuted | 
| A pointer to the measured particles. | |
| std::unique_ptr< KLFitter::Permutations > * | fPermutations | 
| A pointer to the permutation object. | |
| std::unique_ptr< KLFitter::Particles > | fParticlesModel | 
| A pointer to the model particles. | |
| KLFitter::PhysicsConstants | fPhysicsConstants | 
| A pointer to the table of physics constants. | |
| KLFitter::DetectorBase ** | fDetector | 
| A pointer to the detector. | |
| std::vector< double > | fEventProbability | 
| The event probabilities for the different permutations. | |
| bool | fFlagIntegrate | 
| A flag to integrate over the likelihood or not. | |
| bool | fFlagIsNan | 
| A flag for knowing that Minuit gave parameters with NaN values to LogLikelihood. | |
| bool | fFlagUseJetMass | 
| A flag for using the measured jet masses (true) instead of parton masses (false);. | |
| bool | fTFgood | 
| Global variable for TF problems. | |
| BtaggingMethod | fBTagMethod | 
| Name of btagging enum. | |
| std::vector< double > | fCachedParameters | 
| The cached parameters used for the current permutation. | |
| std::vector< double > | fCachedParameterErrors | 
| The cached parameter errors used for the current permutation. | |
| std::vector< std::vector< double > > | fCachedParametersVector | 
| A vector of cached parameters, one for each permutation.  More... | |
| std::vector< std::vector< double > > | fCachedParameterErrorsVector | 
| A vector of cached parameter errors, one for each permutation.  More... | |
| double | fCachedNormalization | 
| The cached normalization, needed for the overloaded BCIntegrate::GetIntegral. | |
| std::vector< double > | fCachedNormalizationVector | 
| A vector of cached parameters, one for each permutation.  More... | |
| Member functions (Set) | |
| enum | Parameters { parBhad1E, parBhad2E, parLQ1E, parLQ2E, parLQ3E, parLQ4E, parTopM } | 
| Enumerator for the parameters. | |
| int | SetET_miss_XY_SumET (double, double, double) override | 
| Set the values for the missing ET x and y components and the SumET.  More... | |
| void | RequestResolutionFunctions () override | 
| Request the necessary resolution functions from the detector. | |
| void | SetFlagTopMassFixed (bool flag) | 
| Set a flag.  More... | |
| void | SetFlagGetParSigmasFromTFs (bool flag) | 
| Additional Inherited Members | |
|  Public Types inherited from KLFitter::LikelihoodBase | |
| enum | BtaggingMethod { kNotag, kVeto, kVetoNoFit, kVetoNoFitLight, kVetoNoFitBoth, kVetoHybridNoFit, kWorkingPoint, kVetoLight, kVetoBoth } | 
| Enumerate for b-tagging possibilities. | |
A class implementing a likelihood for the ttbar allhadronic channel.
This class represents a likelihood for the ttbar allhadronic channel.
| 
 | overrideprotectedvirtual | 
Remove forbidden particle permutations - forcing b-jets on the position of a b parton.
Implements KLFitter::LikelihoodBase.
| 
 | overrideprotectedvirtual | 
| 
 | overrideprotectedvirtual | 
| 
 | overridevirtual | 
Get initial values for the parameters.
Implements KLFitter::LikelihoodBase.
| 
 | overridevirtual | 
The posterior probability definition, overloaded from BCModel.
| parameters | A vector of parameters (double values). | 
Implements KLFitter::LikelihoodBase.
| 
 | overridevirtual | 
The posterior probability definition, overloaded from BCModel.
Split up into several subcomponents
| parameters | A vector of parameters (double values). | 
Implements KLFitter::LikelihoodBase.
| 
 | overrideprotectedvirtual | 
| 
 | inlineoverridevirtual | 
Set the values for the missing ET x and y components and the SumET.
Reimplemented with dummy implementation to overwrite purely virtual function in base class.
Implements KLFitter::LikelihoodBase.
| 
 | inline | 
Set a flag.
If flag is true the invariant top quark mass is fixed to the pole mass.
| flag | The flag. | 
 1.8.11
 1.8.11