![]() |
FairShip
|
Interface for detectors using STL containers (std::vector) for MC points. More...
#include <ISTLPointContainer.h>
Public Member Functions | |
| virtual void | UpdatePointTrackIndices (const std::vector< 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 | Old (particle) track index to new (stored) track index, indexed by old track index; -2 marks tracks that were not stored |
Implemented in SHiP::Detector< PointType >, SHiP::Detector< CaloScoringPlanePoint >, SHiP::Detector< MTCDetPoint >, SHiP::Detector< SiliconTargetPoint >, SHiP::Detector< strawtubesPoint >, SHiP::Detector< TargetPoint >, SHiP::Detector< TimeDetPoint >, SHiP::Detector< TTPoint >, SHiP::Detector< UpstreamTaggerPoint >, SHiP::Detector< UpstreamTaggerScoringPoint >, and SHiP::Detector< vetoPoint >.