00001 00002 // $Id: AltCandStpProb.h,v 1.2 2006/06/21 00:55:02 rhatcher Exp $ 00003 // 00004 // AltCandStpProb 00005 // 00006 // -- A candidate object for keeping "CandStripHandle" --> "Neural Net 00007 // Likelihood" associations 00008 // -- It keeps this association for a collection of CandStripHandles 00009 // belonging to a given "super"-set (eg. a slice, an event etc...) 00010 // 00011 // Costas Andreopoulos <C.V.Andreopoulos@rl.ac.uk> 00012 // CCLRC, Rutherford Appleton Laboratory 00013 // November 17, 2003 00015 00016 #ifndef _ALT_CAND_STP_PROB_H_ 00017 #define _ALT_CAND_STP_PROB_H_ 00018 00019 #include <map> 00020 00021 #include "Candidate/CandBase.h" 00022 #include "Candidate/CandHandle.h" 00023 #include "RecoBase/CandStripHandle.h" 00024 #include "RecoBase/CandSliceHandle.h" 00025 00026 class AlgHandle; 00027 class CandContext; 00028 class AltCandStpProbHandle; 00029 00030 using namespace std; 00031 00032 class AltCandStpProb : public CandBase 00033 { 00034 friend class AltCandStpProbHandle; 00035 00036 public: 00037 static AltCandStpProbHandle MakeCandidate(AlgHandle &ah, CandContext &cx); 00038 AltCandStpProb(); 00039 00040 protected: 00041 00042 AltCandStpProb(AlgHandle &ah); 00043 AltCandStpProb(AlgHandle &ah, CandHandle &ch, CandContext &cx); 00044 AltCandStpProb(const AltCandStpProb &rhs); 00045 virtual ~AltCandStpProb(); 00046 virtual void CreateLocalHandle(); 00047 virtual AltCandStpProb *Dup() const; 00048 00049 private: 00050 00051 map<CandStripHandle *, double> fLikelihoods; 00052 00053 ClassDef(AltCandStpProb, 1) 00054 00055 }; 00056 00057 #endif // _ALT_CAND_STP_PROB_H_
1.3.9.1