|
FairShip
|
Interface for detectors using STL containers (std::vector) for MC points. More...
#include <ISTLPointContainer.h>

Public Member Functions | |
| virtual void | UpdatePointTrackIndices (const std::map< Int_t, Int_t > &indexMap)=0 |
| Update track indices in point collection after track filtering. | |
| virtual | ~ISTLPointContainer ()=default |
Interface for detectors using STL containers (std::vector) for MC points.
Detectors migrated from TClonesArray to std::vector should implement this interface to enable proper track index updating in ShipStack after track filtering.
Definition at line 16 of file ISTLPointContainer.h.
|
virtualdefault |
|
pure virtual |
Update track indices in point collection after track filtering.
| indexMap | Map from old (particle) track index to new (stored) track index |
Implemented in SHiP::Detector< PointType >, SHiP::Detector< MTCDetPoint >, SHiP::Detector< SiliconTargetPoint >, SHiP::Detector< TargetPoint >, SHiP::Detector< TTPoint >, SHiP::Detector< TimeDetPoint >, SHiP::Detector< UpstreamTaggerPoint >, SHiP::Detector< vetoPoint >, SHiP::Detector< splitcalPoint >, and SHiP::Detector< strawtubesPoint >.