List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes
MdLDFFinderAG::Likelihood Class Reference

Functor implementing LDF. More...

#include <MdLDFFinderAG/Likelihood.h>

Inheritance diagram for MdLDFFinderAG::Likelihood:
Inheritance graph
[legend]

Public Types

enum  FitParameter { eShowerSize = 0, eBeta = 1, eCoreX = 2, eCoreY = 3 }
 

Public Member Functions

double DistanceInShowerPlane (const utl::Vector v) const
 
utl::Vector GetAxis () const
 
double GetZcore () const
 
 Likelihood (const VLDFFunctor *const ldfFnc, const bool useSil, const unsigned int silLim, const bool useSat, const size_t satLim)
 Creates a functor. More...
 
ROOT::Minuit2::FunctionMinimum Minimize (std::vector< double > &par, std::vector< double > &epar, const std::vector< bool > &fpar) const
 
double operator() (const std::vector< double > &par) const
 Perform the actual count. More...
 
void SetAxis (utl::Vector axis)
 
void SetCandidateCounterList (CounterList cl)
 
void SetSilentCounterList (CounterList cl)
 
void SetZcore (double z)
 
double Up () const
 

Protected Member Functions

double CalculateSilentLikelihood (const std::vector< double > &par) const
 Likelihood of silent counters. More...
 

Protected Attributes

double cosTheta
 
CounterList fCandidateCounters
 
const VLDFFunctorfLDFunction
 
CounterList fSilentCounters
 
unsigned int fSilentLimit
 
bool fUseSilent
 
utl::Vector rAxis
 
utl::CoordinateSystemPtr siteCS
 
double zcore
 

Private Member Functions

double CalculateCandidateLikelihood (const std::vector< double > &par) const
 

Private Attributes

size_t fSaturationLimit
 
bool fUseSaturated
 

Detailed Description

Functor implementing LDF.

Author
Rodolfo Federico Gamarra
F. Sanchez
Date
13 Sep 2009
27 Oct 2011

Definition at line 27 of file Likelihood.h.

Member Enumeration Documentation

Enumerator
eShowerSize 
eBeta 
eCoreX 
eCoreY 

Definition at line 57 of file VMinMethodFunctor.h.

Constructor & Destructor Documentation

MdLDFFinderAG::Likelihood::Likelihood ( const VLDFFunctor *const  ldfFnc,
const bool  useSil,
const unsigned int  silLim,
const bool  useSat,
const size_t  satLim 
)

Member Function Documentation

double MdLDFFinderAG::Likelihood::CalculateCandidateLikelihood ( const std::vector< double > &  par) const
private
double MdLDFFinderAG::VMinMethodFunctor::CalculateSilentLikelihood ( const std::vector< double > &  par) const
protectedinherited
double MdLDFFinderAG::VMinMethodFunctor::DistanceInShowerPlane ( const utl::Vector  v) const
inlineinherited
utl::Vector MdLDFFinderAG::VMinMethodFunctor::GetAxis ( ) const
inlineinherited

Definition at line 84 of file VMinMethodFunctor.h.

References MdLDFFinderAG::VMinMethodFunctor::rAxis.

double MdLDFFinderAG::VMinMethodFunctor::GetZcore ( ) const
inlineinherited

Definition at line 81 of file VMinMethodFunctor.h.

References MdLDFFinderAG::VMinMethodFunctor::zcore.

ROOT::Minuit2::FunctionMinimum MdLDFFinderAG::VMinMethodFunctor::Minimize ( std::vector< double > &  par,
std::vector< double > &  epar,
const std::vector< bool > &  fpar 
) const
inherited
double MdLDFFinderAG::Likelihood::operator() ( const std::vector< double > &  par) const
virtual

Perform the actual count.

Parameters
samplesThe trace to examine in order to detect the muons.
recDataThe data where to put the detected muon information.
Returns
The number of detected muons.

Implements MdLDFFinderAG::VMinMethodFunctor.

Definition at line 23 of file Likelihood.cc.

References CalculateCandidateLikelihood(), MdLDFFinderAG::VMinMethodFunctor::CalculateSilentLikelihood(), and MdLDFFinderAG::VMinMethodFunctor::fUseSilent.

void MdLDFFinderAG::VMinMethodFunctor::SetAxis ( utl::Vector  axis)
inherited
void MdLDFFinderAG::VMinMethodFunctor::SetCandidateCounterList ( CounterList  cl)
inlineinherited
void MdLDFFinderAG::VMinMethodFunctor::SetSilentCounterList ( CounterList  cl)
inlineinherited
void MdLDFFinderAG::VMinMethodFunctor::SetZcore ( double  z)
inlineinherited

Definition at line 80 of file VMinMethodFunctor.h.

References MdLDFFinderAG::VMinMethodFunctor::zcore.

double MdLDFFinderAG::Likelihood::Up ( ) const
inlinevirtual

Implements MdLDFFinderAG::VMinMethodFunctor.

Definition at line 37 of file Likelihood.h.

Member Data Documentation

double MdLDFFinderAG::VMinMethodFunctor::cosTheta
protectedinherited
CounterList MdLDFFinderAG::VMinMethodFunctor::fCandidateCounters
protectedinherited
const VLDFFunctor* MdLDFFinderAG::VMinMethodFunctor::fLDFunction
protectedinherited
size_t MdLDFFinderAG::Likelihood::fSaturationLimit
private

Definition at line 42 of file Likelihood.h.

Referenced by Likelihood().

CounterList MdLDFFinderAG::VMinMethodFunctor::fSilentCounters
protectedinherited
unsigned int MdLDFFinderAG::VMinMethodFunctor::fSilentLimit
protectedinherited
bool MdLDFFinderAG::Likelihood::fUseSaturated
private

Definition at line 40 of file Likelihood.h.

Referenced by Likelihood().

bool MdLDFFinderAG::VMinMethodFunctor::fUseSilent
protectedinherited
utl::Vector MdLDFFinderAG::VMinMethodFunctor::rAxis
protectedinherited
utl::CoordinateSystemPtr MdLDFFinderAG::VMinMethodFunctor::siteCS
protectedinherited
double MdLDFFinderAG::VMinMethodFunctor::zcore
protectedinherited

The documentation for this class was generated from the following files:

, generated on Tue Sep 26 2023.