31 class cloneHot :
public std::unary_function<TrkHitOnTrk,TrkHitOnTrk*> {
36 {
return h.
clone(_r,_t); }
42 template <
class T>
struct takeAddress : std::unary_function<T,T*> {
56 friend class ::TrkHitOnTrkUpdater;
62 class setActive :
public std::unary_function<TrkHitOnTrk,void> {
65 {
return h.setActive(_a); }
67 {
return h->setActive(_a); }
70 friend class ::TrkHitOnTrkUpdater;
75 class setParent :
public std::unary_function<TrkHitOnTrk,void> {
78 {
return h.setParent(_p); }
81 friend class ::TrkHitOnTrkUpdater;
cloneHot(TrkRep *parentRep, const TrkDifTraj *trkTraj=0)
TrkHitOnTrk * operator()(const TrkHitOnTrk &h) const
TrkHitOnTrk * operator()(TrkHitOnTrk &h) const
TrkHitOnTrk * operator()(TrkHitOnTrk *&h) const
TrkHitOnTrk * operator()(TrkHitOnTrk &h) const
TrkErrCode operator()(TrkHitOnTrk &h) const
virtual TrkErrCode updateMeasurement(const TrkDifTraj *traj, bool maintainAmbiguity)=0
virtual TrkHitOnTrk * clone(TrkRep *parentRep, const TrkDifTraj *trkTraj=0) const =0