Likelihood3.h
Go to the documentation of this file.
1 #ifndef _MdLDFFinderAG_Likelihood3_h_
2 #define _MdLDFFinderAG_Likelihood3_h_
3 
4 #include "VMinMethodFunctor.h"
5 
6 #include <utl/ErrorLogger.h>
7 #include <utl/Math.h>
8 
9 #include <vector>
10 #include <iostream>
11 #include <limits>
12 
13 
14 namespace MdLDFFinderAG {
15 
26  class Likelihood3 : public VMinMethodFunctor {
27 
28  public:
32  Likelihood3(const VLDFFunctor* const ldfFnc, const bool useSil, const unsigned int silLim, const bool useSat);
33 
34  double operator()(const std::vector<double>& par) const;
35 
36  double Up() const { return 0.5; } // error definition corresponding to a likelihood
37 
38  private:
40  // from this number (inclusive!) of channels on the module is considered as saturated
42 
43  double CalculateCandidateLikelihood(const std::vector<double>& par) const;
44 
45  };
46 
47 }
48 
49 
50 #endif
Likelihood3(const VLDFFunctor *const ldfFnc, const bool useSil, const unsigned int silLim, const bool useSat)
Creates a functor.
Definition: Likelihood3.cc:11
Functor implementing LDF. Corner-clipping correction and noise included in the likelihood.
Definition: Likelihood3.h:26
Common interface for functors performing the muon LDF fitting.
Definition: VLDFFunctor.h:26
double operator()(const std::vector< double > &par) const
Perform the actual count.
Definition: Likelihood3.cc:23
Common interface for functors performing the muon LDF fitting.
double CalculateCandidateLikelihood(const std::vector< double > &par) const
Definition: Likelihood3.cc:38

, generated on Tue Sep 26 2023.