List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
MdLDFFinderAG::VMinMethodFunctor Class Referenceabstract

Common interface for functors performing the muon LDF fitting. More...

#include <MdLDFFinderAG/VMinMethodFunctor.h>

Inheritance diagram for MdLDFFinderAG::VMinMethodFunctor:
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
 
ROOT::Minuit2::FunctionMinimum Minimize (std::vector< double > &par, std::vector< double > &epar, const std::vector< bool > &fpar) const
 
virtual double operator() (const std::vector< double > &par) const =0
 Perform the actual count. More...
 
void SetAxis (utl::Vector axis)
 
void SetCandidateCounterList (CounterList cl)
 
void SetSilentCounterList (CounterList cl)
 
void SetZcore (double z)
 
virtual double Up () const =0
 
virtual ~VMinMethodFunctor ()
 Meant to be used as base class: virtual destructor. More...
 

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
 

Detailed Description

Common interface for functors performing the muon LDF fitting.

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

Definition at line 53 of file VMinMethodFunctor.h.

Member Enumeration Documentation

Enumerator
eShowerSize 
eBeta 
eCoreX 
eCoreY 

Definition at line 57 of file VMinMethodFunctor.h.

Constructor & Destructor Documentation

MdLDFFinderAG::VMinMethodFunctor::~VMinMethodFunctor ( )
virtual

Meant to be used as base class: virtual destructor.

Definition at line 12 of file VMinMethodFunctor.cc.

Member Function Documentation

double MdLDFFinderAG::VMinMethodFunctor::CalculateSilentLikelihood ( const std::vector< double > &  par) const
protected

Likelihood of silent counters.

Counters are triggered by a partner SD station. A counter is then silent because the signal in the SD station is "weak". We model this "weakness" as few muons.

Definition at line 130 of file VMinMethodFunctor.cc.

References DistanceInShowerPlane(), fSilentCounters, fSilentLimit, mdet::MDetector::GetCounter(), mevt::Counter::GetId(), det::MPositionable< Config >::GetPosition(), siteCS, and zcore.

Referenced by MdLDFFinderAG::Likelihood2::operator()(), MdLDFFinderAG::Likelihood3::operator()(), and MdLDFFinderAG::Likelihood::operator()().

double MdLDFFinderAG::VMinMethodFunctor::DistanceInShowerPlane ( const utl::Vector  v) const
inline
utl::Vector MdLDFFinderAG::VMinMethodFunctor::GetAxis ( ) const
inline

Definition at line 84 of file VMinMethodFunctor.h.

References rAxis.

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

Definition at line 81 of file VMinMethodFunctor.h.

References zcore.

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

mnpars.SetLowerLimit("Nmu", fSilentLimit);

Definition at line 17 of file VMinMethodFunctor.cc.

References DEBUGLOG, eBeta, eCoreX, eCoreY, eShowerSize, fCandidateCounters, fSilentCounters, and INFO.

virtual double MdLDFFinderAG::VMinMethodFunctor::operator() ( const std::vector< double > &  par) const
pure 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.

Implemented in MdLDFFinderAG::Likelihood, MdLDFFinderAG::Likelihood3, and MdLDFFinderAG::Likelihood2.

void MdLDFFinderAG::VMinMethodFunctor::SetAxis ( utl::Vector  axis)
void MdLDFFinderAG::VMinMethodFunctor::SetCandidateCounterList ( CounterList  cl)
inline

Definition at line 90 of file VMinMethodFunctor.h.

References fCandidateCounters.

void MdLDFFinderAG::VMinMethodFunctor::SetSilentCounterList ( CounterList  cl)
inline

Definition at line 91 of file VMinMethodFunctor.h.

References fSilentCounters.

void MdLDFFinderAG::VMinMethodFunctor::SetZcore ( double  z)
inline

Definition at line 80 of file VMinMethodFunctor.h.

References zcore.

virtual double MdLDFFinderAG::VMinMethodFunctor::Up ( ) const
pure virtual

Member Data Documentation

double MdLDFFinderAG::VMinMethodFunctor::cosTheta
protected
CounterList MdLDFFinderAG::VMinMethodFunctor::fCandidateCounters
protected
const VLDFFunctor* MdLDFFinderAG::VMinMethodFunctor::fLDFunction
protected
CounterList MdLDFFinderAG::VMinMethodFunctor::fSilentCounters
protected

Definition at line 105 of file VMinMethodFunctor.h.

Referenced by CalculateSilentLikelihood(), Minimize(), and SetSilentCounterList().

unsigned int MdLDFFinderAG::VMinMethodFunctor::fSilentLimit
protected
bool MdLDFFinderAG::VMinMethodFunctor::fUseSilent
protected
utl::Vector MdLDFFinderAG::VMinMethodFunctor::rAxis
protected

Definition at line 96 of file VMinMethodFunctor.h.

Referenced by DistanceInShowerPlane(), GetAxis(), and SetAxis().

utl::CoordinateSystemPtr MdLDFFinderAG::VMinMethodFunctor::siteCS
protected
double MdLDFFinderAG::VMinMethodFunctor::zcore
protected

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

, generated on Tue Sep 26 2023.