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

#include <Likelihood2.h>

Inheritance diagram for MdLDFFinderAG::Likelihood2:
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
 
 Likelihood2 (const VLDFFunctor *ldfFnc, bool useSil, unsigned int silLim)
 Creates the likelihood. 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
 

Detailed Description

Definition at line 19 of file Likelihood2.h.

Member Enumeration Documentation

Enumerator
eShowerSize 
eBeta 
eCoreX 
eCoreY 

Definition at line 57 of file VMinMethodFunctor.h.

Constructor & Destructor Documentation

Likelihood2::Likelihood2 ( const VLDFFunctor ldfFnc,
bool  useSil,
unsigned int  silLim 
)

Member Function Documentation

double Likelihood2::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 Likelihood2::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 28 of file Likelihood2.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::Likelihood2::Up ( ) const
inlinevirtual

Implements MdLDFFinderAG::VMinMethodFunctor.

Definition at line 30 of file Likelihood2.h.

Member Data Documentation

double MdLDFFinderAG::VMinMethodFunctor::cosTheta
protectedinherited
CounterList MdLDFFinderAG::VMinMethodFunctor::fCandidateCounters
protectedinherited
const VLDFFunctor* MdLDFFinderAG::VMinMethodFunctor::fLDFunction
protectedinherited
CounterList MdLDFFinderAG::VMinMethodFunctor::fSilentCounters
protectedinherited
unsigned int MdLDFFinderAG::VMinMethodFunctor::fSilentLimit
protectedinherited
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.