 |
Belle II Software
release-05-02-19
|
12 #include <framework/core/Module.h>
13 #include <framework/datastore/StoreArray.h>
44 void event()
override;
void outputPRAndMCTrackCands(const StoreArray< RecoTrack > &prRecoTracks, StoreArray< genfit::TrackCand > &prGenfitTrackCands, const StoreArray< MCParticle > &mcParticles, RelationArray &relationsFromPRTrackCandsToPRRecoTracks, RelationArray &relationsFromPRTrackCandsToMCParticle) const
Private helper to output both the MC and the PR reco tracks into TrackCands and make the relations co...
Low-level class to create/modify relations between StoreArrays.
std::string m_param_genfitTrackCandsStoreArrayName
StoreArray name of the output genfit trackcands.
std::string m_param_mcGenfitTrackCandsStoreArrayName
StoreArray name of the output MC genfit trackcands.
Defines for I/O streams used for error and debug printing.
void event() override
Loop over all reco tracks and create a genfit track candidates.
bool m_param_outputMCTrackCandidates
Flag to turn on combined conversion of PR and MCTrackCands.
Abstract base class for different kinds of events.
void initialize() override
Initialize the needed StoreArrays and ensure they are created properly.
std::string m_param_recoTracksStoreArrayName
StoreArray name of the input reco tracks.
GenfitTrackCandidatesCreatorModule()
Initialize the module parameters.
Accessor to arrays stored in the data store.
void outputPRTrackCands(const StoreArray< RecoTrack > &recoTracks, StoreArray< genfit::TrackCand > &genfitTrackCands, const StoreArray< MCParticle > &mcParticles, RelationArray &relationsFromTrackCandsToRecoTracks, RelationArray &relationsFromTrackCandsToMCParticle) const
Private helper to output the PR reco tracks into TrackCands and make the relations correctly.
Module turning reco tracks to genfit trackcands (will be unneeded once we use reco tracks everywhere)...
std::string m_param_mcRecoTracksStoreArrayName
StoreArray name of the input reco MC tracks.