#include <TrkHotListFull.h>
Definition at line 29 of file TrkHotListFull.h.
◆ TrkHotListFull() [1/3]
TrkHotListFull::TrkHotListFull |
( |
| ) |
|
◆ TrkHotListFull() [2/3]
Definition at line 34 of file TrkHotListFull.cxx.
35{
36
37 _hotlist.reserve(dfltCapac());
38
40
41 _hotlist.push_back(f(*i));
42 }
43}
hot_iterator begin() const
◆ TrkHotListFull() [3/3]
Definition at line 46 of file TrkHotListFull.cxx.
47{
48 _hotlist.reserve(dfltCapac());
49
51 _hotlist.push_back(f(*i));
52 }
53 inHots.hotlist().clear();
54}
◆ ~TrkHotListFull()
TrkHotListFull::~TrkHotListFull |
( |
| ) |
|
|
virtual |
◆ append()
◆ clone()
◆ endFoundRange()
double TrkHotListFull::endFoundRange |
( |
| ) |
const |
|
virtual |
Implements TrkHotList.
Definition at line 182 of file TrkHotListFull.cxx.
183{
184 double maxFlt = -9999;
188 while (i-- != b) {
189 if (predicate(*i)) {
190 maxFlt = i->fltLen();
191 break;
192 }
193 }
194 return maxFlt;
195}
◆ findHot()
◆ firstMdcLayer()
unsigned TrkHotListFull::firstMdcLayer |
( |
| ) |
const |
|
virtual |
Implements TrkHotList.
Definition at line 212 of file TrkHotListFull.cxx.
213{
214 unsigned firstlay(50);
215 bool activeOnly(true);
218 if (
mdc(*i)) firstlay = std::min(firstlay,i->layerNumber());
219 }
220 return firstlay<50?firstlay:0;
221}
◆ hitCapable()
bool TrkHotListFull::hitCapable |
( |
| ) |
const |
|
virtual |
◆ hotlist() [1/2]
std::vector< TrkHitOnTrk * > & TrkHotListFull::hotlist |
( |
| ) |
|
|
protectedvirtual |
◆ hotlist() [2/2]
const std::vector< TrkHitOnTrk * > & TrkHotListFull::hotlist |
( |
| ) |
const |
|
protectedvirtual |
◆ isActive()
bool TrkHotListFull::isActive |
( |
unsigned | ihot | ) |
const |
|
virtual |
Implements TrkHotList.
Definition at line 248 of file TrkHotListFull.cxx.
248 {
249 if(ihot<_hotlist.size())
250 return _hotlist[ihot]->isActive();
251 else
252 return false;
253}
◆ lastMdcLayer()
unsigned TrkHotListFull::lastMdcLayer |
( |
| ) |
const |
|
virtual |
Implements TrkHotList.
Definition at line 224 of file TrkHotListFull.cxx.
225{
226 unsigned lastlay(0);
227 bool activeOnly(true);
230 if (
mdc(*i)) lastlay = std::max(lastlay,i->layerNumber());
231 }
232 return lastlay;
233}
◆ nActive()
◆ nHit()
Implements TrkHotList.
Definition at line 124 of file TrkHotListFull.cxx.
125{
128 else {
129 int nAct = 0;
131 if(i->whatView() == view)++nAct;
132 }
133 return nAct;
134 }
135}
◆ nMdc()
Implements TrkHotList.
Definition at line 144 of file TrkHotListFull.cxx.
145{
146 bool activeOnly(true);
149
150
151
154 if(
mdc(*i)&&
v(*i)) ++
n;
156}
**********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
◆ nSvt()
◆ remove()
Implements TrkHotList.
Definition at line 93 of file TrkHotListFull.cxx.
94{
95 typedef std::vector<TrkHitOnTrk*>::iterator iter_t;
96 iter_t i = std::find(_hotlist.begin(),_hotlist.end(),deadHot);
97 if (i!=_hotlist.end()) {
98 delete *i;
99 _hotlist.erase(i);
100 } else
101 std::cout<<"ErrMsg(error) "<< " you asked to remove a hit which I don't have! " << std::endl;
102}
◆ startFoundRange()
double TrkHotListFull::startFoundRange |
( |
| ) |
const |
|
virtual |
◆ svtView()
TrkView TrkHotListFull::svtView |
( |
int | layer | ) |
const |
|
virtual |
Implements TrkHotList.
Definition at line 199 of file TrkHotListFull.cxx.
200{
202 bool activeOnly(true);
205
207 if (svt(*i)&&l(*i)) retval.
addView(i->whatView());
208 return retval;
209}
void addView(TrkEnums::TrkViewInfo view)
◆ updateHots()
void TrkHotListFull::updateHots |
( |
| ) |
|
|
virtual |
Implements TrkHotList.
Definition at line 80 of file TrkHotListFull.cxx.
81{
84}
TrkErrCode updateMeasurement(TrkHitOnTrk &hot, const TrkDifTraj *traj=0, bool maintainAmbiguity=false) const
The documentation for this class was generated from the following files: