Definition at line 29 of file PRDTrackSegmentHelper.cxx.
◆ addSegmentToPRDs()
Definition at line 254 of file PRDTrackSegmentHelper.cxx.
263 std::map< const Trk::PrepRawData *, QList<PRDHandleBase *> >::const_iterator itHandle, itHandleEnd(
prd2handles->end());
264 std::vector<const Trk::MeasurementBase*>::const_iterator
269 std::vector<const Trk::PrepRawData*>::const_iterator itPrd = prds.begin(), itEnd=prds.end();
270 for (;itPrd!=itEnd;++itPrd){
275 TracksAndSegments(std::vector<const Trk::Track*>(),
276 std::vector<const Trk::Track*>(),
277 std::vector< const Trk::Segment* >(1,seg))));
280 itInfo->second.segments.push_back(seg);
283 if (itHandle!=itHandleEnd) {
284 QList<PRDHandleBase*> handles = itHandle->second;
286 if (handle->collHandle()->colourBySegments())
287 handle->updateMaterial();
◆ addTrackToPRDs()
void PRDTrackSegmentHelper::Imp::addTrackToPRDs |
( |
const Trk::Track * |
trk, |
|
|
bool |
outliers |
|
) |
| |
Definition at line 365 of file PRDTrackSegmentHelper.cxx.
374 std::map< const Trk::PrepRawData *, QList<PRDHandleBase *> >::const_iterator itHandle, itHandleEnd(
prd2handles->end());
381 std::vector<const Trk::PrepRawData*>::const_iterator itPrd = prds.begin(), itEnd=prds.end();
382 for (;itPrd!=itEnd;++itPrd){
388 TracksAndSegments((outliers?std::vector<const Trk::Track*>():std::vector<const Trk::Track*>(1,trk)),
389 (outliers?std::vector<const Trk::Track*>(1,trk):std::vector<const Trk::Track*>()),
390 std::vector< const Trk::Segment* >())));
393 itInfo->second.tracks_outliers.push_back(trk);
395 itInfo->second.tracks.push_back(trk);
398 if (itHandle!=itHandleEnd) {
399 QList<PRDHandleBase*> handles = itHandle->second;
401 if (handle->collHandle()->colourByTracks())
402 handle->updateMaterial();
◆ measurementToPRDs()
◆ removeEntryFromVector()
template<class T >
void PRDTrackSegmentHelper::Imp::removeEntryFromVector |
( |
std::vector< T * > & |
v, |
|
|
T * |
t |
|
) |
| |
◆ removeSegmentFromPRDs()
Definition at line 296 of file PRDTrackSegmentHelper.cxx.
305 std::map< const Trk::PrepRawData *, QList<PRDHandleBase *> >::const_iterator itHandle, itHandleEnd(
prd2handles->end());
306 std::vector<const Trk::MeasurementBase*>::const_iterator
311 std::vector<const Trk::PrepRawData*>::const_iterator itPrd = prds.begin(), itEnd=prds.end();
312 for (;itPrd!=itEnd;++itPrd){
318 if (itHandle!=itHandleEnd) {
319 QList<PRDHandleBase*> handles = itHandle->second;
321 if (handle->collHandle()->colourBySegments())
322 handle->updateMaterial();
◆ removeTrackFromPRDs()
void PRDTrackSegmentHelper::Imp::removeTrackFromPRDs |
( |
const Trk::Track * |
trk, |
|
|
bool |
outliers |
|
) |
| |
Definition at line 412 of file PRDTrackSegmentHelper.cxx.
421 std::map< const Trk::PrepRawData *, QList<PRDHandleBase *> >::const_iterator itHandle, itHandleEnd(
prd2handles->end());
428 std::vector<const Trk::PrepRawData*>::const_iterator itPrd = prds.begin(), itEnd=prds.end();
429 for (;itPrd!=itEnd;++itPrd){
435 if (itHandle!=itHandleEnd) {
436 QList<PRDHandleBase*> handles = itHandle->second;
438 if (handle->collHandle()->colourByTracks())
439 handle->updateMaterial();
◆ updateMaterialOfPRDs() [1/2]
Definition at line 333 of file PRDTrackSegmentHelper.cxx.
341 std::map< const Trk::PrepRawData *, QList<PRDHandleBase *> >::const_iterator itHandle, itHandleEnd(
prd2handles->end());
342 std::vector<const Trk::MeasurementBase*>::const_iterator
347 std::vector<const Trk::PrepRawData*>::const_iterator itPrd = prds.begin(), itEnd=prds.end();
348 for (;itPrd!=itEnd;++itPrd){
351 if (itHandle!=itHandleEnd) {
352 QList<PRDHandleBase*> handles = itHandle->second;
354 if (handle->collHandle()->colourByTracks())
355 handle->updateMaterial();
◆ updateMaterialOfPRDs() [2/2]
void PRDTrackSegmentHelper::Imp::updateMaterialOfPRDs |
( |
const Trk::Track * |
trk, |
|
|
bool |
outliers |
|
) |
| |
Definition at line 450 of file PRDTrackSegmentHelper.cxx.
458 std::map< const Trk::PrepRawData *, QList<PRDHandleBase *> >::const_iterator itHandle, itHandleEnd(
prd2handles->end());
465 std::vector<const Trk::PrepRawData*>::const_iterator itPrd = prds.begin(), itEnd=prds.end();
466 for (;itPrd!=itEnd;++itPrd){
469 if (itHandle!=itHandleEnd) {
470 QList<PRDHandleBase*> handles = itHandle->second;
472 if (handle->collHandle()->colourByTracks())
473 handle->updateMaterial();
◆ prd2handles
◆ prdsOnTracksAndSegments
◆ segments2mat
◆ theclass
◆ tracks2mat
The documentation for this class was generated from the following file: