FairShip
Loading...
Searching...
No Matches
ISTLPointContainer Class Referenceabstract

Interface for detectors using STL containers (std::vector) for MC points. More...

#include <ISTLPointContainer.h>

Inheritance diagram for ISTLPointContainer:
[legend]

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

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~ISTLPointContainer()

virtual ISTLPointContainer::~ISTLPointContainer ( )
virtualdefault

Member Function Documentation

◆ UpdatePointTrackIndices()

virtual void ISTLPointContainer::UpdatePointTrackIndices ( const std::vector< Int_t > & indexMap)
pure virtual

Update track indices in point collection after track filtering.

Parameters
indexMapOld (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 >.


The documentation for this class was generated from the following file: