37 _hotlist.reserve(dfltCapac());
41 _hotlist.push_back(f(*i));
48 _hotlist.reserve(dfltCapac());
51 _hotlist.push_back(f(*i));
53 inHots.hotlist().clear();
73TrkHotListFull::dfltCapac()
75 static size_t _dfltCapac = 75;
89 _hotlist.push_back(newHot);
95 typedef std::vector<TrkHitOnTrk*>::iterator iter_t;
96 iter_t i = std::find(_hotlist.begin(),_hotlist.end(),deadHot);
97 if (i!=_hotlist.end()) {
101 std::cout<<
"ErrMsg(error) "<<
" you asked to remove a hit which I don't have! " << std::endl;
131 if(i->whatView() == view)++nAct;
146 bool activeOnly(
true);
154 if(
mdc(*i)&&
v(*i)) ++
n;
161 bool activeOnly(
true);
169 if (svt(*i)&&
v(*i)) ++
n;
178 return i ==
end() ? 9999 : i->fltLen();
184 double maxFlt = -9999;
190 maxFlt = i->fltLen();
202 bool activeOnly(
true);
207 if (svt(*i)&&l(*i)) retval.
addView(i->whatView());
214 unsigned firstlay(50);
215 bool activeOnly(
true);
218 if (
mdc(*i)) firstlay = std::min(firstlay,i->layerNumber());
220 return firstlay<50?firstlay:0;
227 bool activeOnly(
true);
230 if (
mdc(*i)) lastlay = std::max(lastlay,i->layerNumber());
235const std::vector<TrkHitOnTrk*>&
241std::vector<TrkHitOnTrk*>&
249 if(ihot<_hotlist.size())
250 return _hotlist[ihot]->isActive();
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
TrkErrCode updateMeasurement(TrkHitOnTrk &hot, const TrkDifTraj *traj=0, bool maintainAmbiguity=false) const
virtual unsigned firstMdcLayer() const
virtual int nActive(TrkEnums::TrkViewInfo view=TrkEnums::bothView) const
virtual unsigned lastMdcLayer() const
virtual bool isActive(unsigned ihot) const
TrkHotList * clone(TrkBase::Functors::cloneHot func) const
virtual int nSvt(TrkEnums::TrkViewInfo view=TrkEnums::bothView) const
virtual TrkView svtView(int layer) const
virtual double startFoundRange() const
virtual int nHit(TrkEnums::TrkViewInfo view=TrkEnums::bothView) const
virtual const std::vector< TrkHitOnTrk * > & hotlist() const
TrkHitOnTrk * findHot(const TrkFundHit *) const
virtual int nMdc(TrkEnums::TrkViewInfo view=TrkEnums::bothView) const
virtual double endFoundRange() const
virtual ~TrkHotListFull()
virtual bool hitCapable() const
void append(TrkHitOnTrk *)
void remove(TrkHitOnTrk *)
hot_iterator begin() const
void addView(TrkEnums::TrkViewInfo view)