#include <AltCandStpProbHandle.h>
Inheritance diagram for AltCandStpProbHandle:

Public Member Functions | |
| AltCandStpProbHandle () | |
| AltCandStpProbHandle (const AltCandStpProbHandle &handle) | |
| AltCandStpProbHandle (AltCandStpProb *cand) | |
| virtual | ~AltCandStpProbHandle () |
| virtual AltCandStpProbHandle * | DupHandle () const |
| virtual void | Trace (const char *c="") const |
| const std::map< CandStripHandle *, double > & | GetLikelihoods () const |
| double | GetStripLikelihood (CandStripHandle *stp) const |
| void | SetStripLikelihood (CandStripHandle *striph, double likelihood) |
|
|
Definition at line 29 of file AltCandStpProbHandle.cxx. References CandHandle::GetUidInt(), and MSG. Referenced by DupHandle(). 00030 {
00031 MSG("AltCand",Msg::kVerbose)
00032 << "AltCandStpProbHandle::AltCandStpProbHandle"
00033 << " ctor: UidInt = "<< GetUidInt() << endl;
00034
00035 LEA_CTOR;
00036 }
|
|
|
Definition at line 38 of file AltCandStpProbHandle.cxx. References CandHandle::GetUidInt(), and MSG. 00039 : 00040 CandHandle(handle) 00041 { 00042 MSG("AltCand",Msg::kVerbose) 00043 << "AltCandStpProbHandle::AltCandStpProbHandle(" 00044 << "const AltCandStpProbHandle & handle) ctor: UidInt = " 00045 << GetUidInt() << endl; 00046 LEA_CTOR; 00047 } //__________________________________________________________________________
|
|
|
Definition at line 49 of file AltCandStpProbHandle.cxx. References CandHandle::GetUidInt(), and MSG. 00049 : 00050 CandHandle(cand) 00051 { 00052 MSG("AltCand",Msg::kVerbose) 00053 << "AltCandStpProbHandle::AltCandStpProbHandle(" 00054 << "const AltCandStpProb * cand) ctor: UidInt = " 00055 << GetUidInt() << endl; 00056 LEA_CTOR; 00057 } //__________________________________________________________________________
|
|
|
Definition at line 59 of file AltCandStpProbHandle.cxx. References CandHandle::GetUidInt(), and MSG. 00060 {
00061 MSG("AltCand",Msg::kVerbose)
00062 << "AltCandStpProbHandle::~AltCandStpProbHandle"
00063 << " dtor: UidInt = " << GetUidInt() << endl;
00064 LEA_DTOR;
00065 }
|
|
|
Reimplemented from CandHandle. Definition at line 67 of file AltCandStpProbHandle.cxx. References AltCandStpProbHandle(). 00068 {
00069 return (new AltCandStpProbHandle(*this));
00070 }
|
|
|
Definition at line 84 of file AltCandStpProbHandle.cxx. References AltCandStpProb::fLikelihoods, and CandHandle::GetCandBase(). Referenced by GetStripLikelihood(). 00085 {
00086 const AltCandStpProb * candidate =
00087 static_cast<const AltCandStpProb *> (GetCandBase());
00088
00089 return candidate->fLikelihoods;
00090 }
|
|
|
Definition at line 92 of file AltCandStpProbHandle.cxx. References GetLikelihoods(). 00093 {
00094 const map<CandStripHandle *, double> & slc_strips = GetLikelihoods();
00095
00096 map<CandStripHandle *, double>::const_iterator it = slc_strips.find(stp);
00097
00098 return it->second;
00099 }
|
|
||||||||||||
|
Definition at line 101 of file AltCandStpProbHandle.cxx. References AltCandStpProb::fLikelihoods, and CandHandle::GetCandBase(). Referenced by AltAlgStpPatternRec::RunAlg(). 00103 {
00104 AltCandStpProb * candidate =
00105 static_cast<AltCandStpProb *> (GetCandBase());
00106
00107 (candidate->fLikelihoods).insert(
00108 map<CandStripHandle *, double>::value_type(stph, likelihood));
00109 }
|
|
|
Reimplemented from CandHandle. Definition at line 72 of file AltCandStpProbHandle.cxx. References MSG, and CandHandle::Trace(). 00073 {
00074 MSG("AltCand", Msg::kVerbose)
00075 << "** Begin AltCandStpProbHandle::Trace(\"" << c << "\")" << endl
00076 << "Information from AltCandStpProbHandle's CandHandle: " << endl;
00077
00078 CandHandle::Trace(c);
00079 MSG("AltCand", Msg::kVerbose)
00080 << "** End AltCandStpProbHandle::Trace(\"" << c << "\")" << endl;
00081 }
|
1.3.9.1