|
MarlinTrkProcessors
2.4.1
|
Set the LCIO Extensions to relate SimTrackerHits to TrackerHits via a pointer. More...
#include <SetTrackerHitExtensions.h>
Public Member Functions | |
| virtual marlin::Processor * | newProcessor () |
| virtual void | init () |
| Called at the begin of the job before anything is read. More... | |
| virtual void | processRunHeader (LCRunHeader *run) |
| Called for every run. | |
| virtual void | processEvent (LCEvent *evt) |
| Called for every event - the working horse. | |
| virtual void | check (LCEvent *evt) |
| virtual void | end () |
| Called after data processing for clean up. | |
Protected Member Functions | |
| const LCObjectVec * | getSimHits (TrackerHit *trkhit, const FloatVec *weights=NULL) |
| int | getDetectorID (TrackerHit *hit) |
| int | getSideID (TrackerHit *hit) |
| int | getLayerID (TrackerHit *hit) |
| int | getModuleID (TrackerHit *hit) |
| int | getSensorID (TrackerHit *hit) |
| LCCollection * | GetCollection (LCEvent *evt, std::string colName) |
| helper function to get collection using try catch block | |
| LCRelationNavigator * | GetRelations (LCEvent *evt, std::string RelName) |
| helper function to get relations using try catch block | |
| void | SetupInputCollections (LCEvent *evt) |
| sets up the different collections | |
Protected Attributes | |
| UTIL::BitField64 * | _encoder |
| std::vector< std::string > | _colNamesTrackerHits |
| input TrackerHit collections | |
| std::vector< std::string > | _colNamesTrackerHitRelations |
| input relation collections | |
| int | _n_run |
| int | _n_evt |
| int | _current_evt_number |
| std::vector< LCCollection * > | _colTrackerHits |
|
std::vector < LCRelationNavigator * > | _navTrackerHitRel |
Set the LCIO Extensions to relate SimTrackerHits to TrackerHits via a pointer.
Needs a collections of LCIO TrackerHits.
| TrackerHitsInputCollections | Name of the tracker hit input collections (default value: FTDTrackerHits SITTrackerHits TPCTrackerHits VXDTrackerHits ) |
| TrackerHitsRelInputCollections | Name of the lcrelation collections, that link the TrackerHits to their SimTrackerHits. Have to be in same order as TrackerHitsInputCollections!!! (default value: FTDTrackerHitRelations SITTrackerHitRelations TPCTrackerHitRelations VXDTrackerHitRelations ) |
|
virtual |
Called at the begin of the job before anything is read.
Use to initialize the processor, e.g. book histograms.
1.8.6