#include <Likelihood2.h>
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 VLDFFunctor * | fLDFunction |
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 |
Definition at line 19 of file Likelihood2.h.
|
inherited |
Enumerator | |
---|---|
eShowerSize | |
eBeta | |
eCoreX | |
eCoreY |
Definition at line 57 of file VMinMethodFunctor.h.
Likelihood2::Likelihood2 | ( | const VLDFFunctor * | ldfFnc, |
bool | useSil, | ||
unsigned int | silLim | ||
) |
Creates the likelihood.
Definition at line 19 of file Likelihood2.cc.
References MdLDFFinderAG::VMinMethodFunctor::fLDFunction, MdLDFFinderAG::VMinMethodFunctor::fSilentLimit, MdLDFFinderAG::VMinMethodFunctor::fUseSilent, and MdLDFFinderAG::VMinMethodFunctor::siteCS.
|
private |
Definition at line 44 of file Likelihood2.cc.
References MdLDFFinderAG::VMinMethodFunctor::cosTheta, MdLDFFinderAG::VMinMethodFunctor::DistanceInShowerPlane(), MdLDFFinderAG::VMinMethodFunctor::fCandidateCounters, mdet::MDetector::GetCounter(), mevt::Counter::GetId(), det::DetectorComponent< C, ManagerProvider >::GetId(), mdet::Counter::GetModule(), det::MPositionable< Config >::GetPosition(), mevt::Counter::ModulesBegin(), mevt::Counter::ModulesEnd(), MdLDFFinderAG::VMinMethodFunctor::siteCS, and MdLDFFinderAG::VMinMethodFunctor::zcore.
Referenced by operator()().
|
protectedinherited |
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 MdLDFFinderAG::VMinMethodFunctor::DistanceInShowerPlane(), MdLDFFinderAG::VMinMethodFunctor::fSilentCounters, MdLDFFinderAG::VMinMethodFunctor::fSilentLimit, mdet::MDetector::GetCounter(), mevt::Counter::GetId(), det::MPositionable< Config >::GetPosition(), MdLDFFinderAG::VMinMethodFunctor::siteCS, and MdLDFFinderAG::VMinMethodFunctor::zcore.
Referenced by operator()(), MdLDFFinderAG::Likelihood3::operator()(), and MdLDFFinderAG::Likelihood::operator()().
|
inlineinherited |
Definition at line 86 of file VMinMethodFunctor.h.
References utl::cross(), utl::AxialVector::GetMag(), and MdLDFFinderAG::VMinMethodFunctor::rAxis.
Referenced by CalculateCandidateLikelihood(), MdLDFFinderAG::Likelihood3::CalculateCandidateLikelihood(), MdLDFFinderAG::Likelihood::CalculateCandidateLikelihood(), and MdLDFFinderAG::VMinMethodFunctor::CalculateSilentLikelihood().
|
inlineinherited |
Definition at line 84 of file VMinMethodFunctor.h.
References MdLDFFinderAG::VMinMethodFunctor::rAxis.
|
inlineinherited |
Definition at line 81 of file VMinMethodFunctor.h.
References MdLDFFinderAG::VMinMethodFunctor::zcore.
|
inherited |
mnpars.SetLowerLimit("Nmu", fSilentLimit);
Definition at line 17 of file VMinMethodFunctor.cc.
References DEBUGLOG, MdLDFFinderAG::VMinMethodFunctor::eBeta, MdLDFFinderAG::VMinMethodFunctor::eCoreX, MdLDFFinderAG::VMinMethodFunctor::eCoreY, MdLDFFinderAG::VMinMethodFunctor::eShowerSize, MdLDFFinderAG::VMinMethodFunctor::fCandidateCounters, MdLDFFinderAG::VMinMethodFunctor::fSilentCounters, and INFO.
|
virtual |
Perform the actual count.
samples | The trace to examine in order to detect the muons. |
recData | The data where to put the detected muon information. |
Implements MdLDFFinderAG::VMinMethodFunctor.
Definition at line 28 of file Likelihood2.cc.
References CalculateCandidateLikelihood(), MdLDFFinderAG::VMinMethodFunctor::CalculateSilentLikelihood(), and MdLDFFinderAG::VMinMethodFunctor::fUseSilent.
|
inherited |
Definition at line 122 of file VMinMethodFunctor.cc.
References MdLDFFinderAG::VMinMethodFunctor::cosTheta, utl::BasicVector< HepVector >::GetCosTheta(), MdLDFFinderAG::VMinMethodFunctor::rAxis, and MdLDFFinderAG::VMinMethodFunctor::siteCS.
|
inlineinherited |
Definition at line 90 of file VMinMethodFunctor.h.
References MdLDFFinderAG::VMinMethodFunctor::fCandidateCounters.
|
inlineinherited |
Definition at line 91 of file VMinMethodFunctor.h.
References MdLDFFinderAG::VMinMethodFunctor::fSilentCounters.
|
inlineinherited |
Definition at line 80 of file VMinMethodFunctor.h.
References MdLDFFinderAG::VMinMethodFunctor::zcore.
|
inlinevirtual |
Implements MdLDFFinderAG::VMinMethodFunctor.
Definition at line 30 of file Likelihood2.h.
|
protectedinherited |
Definition at line 97 of file VMinMethodFunctor.h.
Referenced by CalculateCandidateLikelihood(), MdLDFFinderAG::Likelihood3::CalculateCandidateLikelihood(), MdLDFFinderAG::Likelihood::CalculateCandidateLikelihood(), and MdLDFFinderAG::VMinMethodFunctor::SetAxis().
|
protectedinherited |
Definition at line 104 of file VMinMethodFunctor.h.
Referenced by CalculateCandidateLikelihood(), MdLDFFinderAG::Likelihood3::CalculateCandidateLikelihood(), MdLDFFinderAG::Likelihood::CalculateCandidateLikelihood(), MdLDFFinderAG::VMinMethodFunctor::Minimize(), and MdLDFFinderAG::VMinMethodFunctor::SetCandidateCounterList().
|
protectedinherited |
Definition at line 99 of file VMinMethodFunctor.h.
Referenced by MdLDFFinderAG::Likelihood::Likelihood(), Likelihood2(), and MdLDFFinderAG::Likelihood3::Likelihood3().
|
protectedinherited |
Definition at line 105 of file VMinMethodFunctor.h.
Referenced by MdLDFFinderAG::VMinMethodFunctor::CalculateSilentLikelihood(), MdLDFFinderAG::VMinMethodFunctor::Minimize(), and MdLDFFinderAG::VMinMethodFunctor::SetSilentCounterList().
|
protectedinherited |
Definition at line 102 of file VMinMethodFunctor.h.
Referenced by MdLDFFinderAG::VMinMethodFunctor::CalculateSilentLikelihood(), MdLDFFinderAG::Likelihood::Likelihood(), Likelihood2(), and MdLDFFinderAG::Likelihood3::Likelihood3().
|
protectedinherited |
Definition at line 101 of file VMinMethodFunctor.h.
Referenced by MdLDFFinderAG::Likelihood::Likelihood(), Likelihood2(), MdLDFFinderAG::Likelihood3::Likelihood3(), operator()(), MdLDFFinderAG::Likelihood3::operator()(), and MdLDFFinderAG::Likelihood::operator()().
|
protectedinherited |
Definition at line 96 of file VMinMethodFunctor.h.
Referenced by MdLDFFinderAG::VMinMethodFunctor::DistanceInShowerPlane(), MdLDFFinderAG::VMinMethodFunctor::GetAxis(), and MdLDFFinderAG::VMinMethodFunctor::SetAxis().
|
protectedinherited |
Definition at line 107 of file VMinMethodFunctor.h.
Referenced by CalculateCandidateLikelihood(), MdLDFFinderAG::Likelihood3::CalculateCandidateLikelihood(), MdLDFFinderAG::Likelihood::CalculateCandidateLikelihood(), MdLDFFinderAG::VMinMethodFunctor::CalculateSilentLikelihood(), MdLDFFinderAG::Likelihood::Likelihood(), Likelihood2(), MdLDFFinderAG::Likelihood3::Likelihood3(), and MdLDFFinderAG::VMinMethodFunctor::SetAxis().
|
protectedinherited |
Definition at line 95 of file VMinMethodFunctor.h.
Referenced by CalculateCandidateLikelihood(), MdLDFFinderAG::Likelihood3::CalculateCandidateLikelihood(), MdLDFFinderAG::Likelihood::CalculateCandidateLikelihood(), MdLDFFinderAG::VMinMethodFunctor::CalculateSilentLikelihood(), MdLDFFinderAG::VMinMethodFunctor::GetZcore(), and MdLDFFinderAG::VMinMethodFunctor::SetZcore().