#include <LCTypedVector.h>
Public Member Functions | |
| LCTypedVector (EVENT::LCCollection *col) | |
| EVENT::LCCollection * | col () |
Protected Attributes | |
| EVENT::LCCollection * | _col |
LCTypedVector<SimTrackerHits> sim( evt->getCollection("tpc") ) ;
LCCollectionVec* trackerHits = new LCCollectionVec( LCIO::TRACKERHIT ) ;
std::transform( sim.begin(), sim.end(), std::back_inserter( *trackerHits ) , digitizer ) ;
Note that instantiating an LCTypedVector involves copying and casting of the pointers in the collection. In a future release of LCIO this might not be neccessary any more.
Definition at line 29 of file LCTypedVector.h.
|
||||||||||
|
Definition at line 33 of file LCTypedVector.h. References EVENT::LCCollection::getElementAt(), and EVENT::LCCollection::getTypeName(). |
|
|||||||||
|
Definition at line 53 of file LCTypedVector.h. |
|
|||||
|
Definition at line 56 of file LCTypedVector.h. |
1.3.9.1