10#include <tracking/trackFindingVXD/variableExtractors/SimpleVariableRecorder.h>
11#include <tracking/spacePointCreation/SpacePointTrackCand.h>
12#include <tracking/trackFindingVXD/trackQualityEstimators/QualityEstimatorBase.h>
14#include <tracking/trackFitting/trackQualityEstimator/variableExtractors/EventInfoExtractor.h>
15#include <tracking/trackFitting/trackQualityEstimator/variableExtractors/RecoTrackExtractor.h>
16#include <tracking/trackFitting/trackQualityEstimator/variableExtractors/SubRecoTrackExtractor.h>
17#include <tracking/trackFitting/trackQualityEstimator/variableExtractors/HitInfoExtractor.h>
18#include <tracking/trackFindingVXD/variableExtractors/ClusterInfoExtractor.h>
19#include <tracking/trackFindingVXD/variableExtractors/QEResultsExtractor.h>
21#include <framework/datastore/StoreArray.h>
22#include <framework/core/Module.h>
52 void event()
override;
Accessor to arrays stored in the data store.
std::unique_ptr< SimpleVariableRecorder > m_recorder
pointer to the object that writes out the collected data into a root file
std::unique_ptr< HitInfoExtractor > m_hitInfoExtractor
pointer to object that extracts info from the hits within the RecoTrack
float m_ghost
1 if track is ghost track, 0 else
std::unique_ptr< EventInfoExtractor > m_eventInfoExtractor
pointer to object that extracts info from the whole event
void initialize() override
Initializes the Module.
void event() override
applies the selected quality estimation method for a given set of TCs
std::vector< TrackingUtilities::Named< float * > > m_variableSet
set of named variables to be collected
std::string m_svdRecoTracksStoreArrayName
Name of the SVD StoreArray.
float m_nSpacePoints
number of SpacePoints in SPTC as additional info for MVA, type is float to be consistent with m_varia...
bool m_collectEventFeatures
Parameter to enable event-wise features.
std::string m_pxdRecoTracksStoreArrayName
Name of the PXD StoreArray.
void terminate() override
write out data from m_recorder
std::unique_ptr< QEResultsExtractor > m_qeResultsExtractor
pointer to object that extracts the results from the estimation method (including QI,...
std::unique_ptr< ClusterInfoExtractor > m_clusterInfoExtractorBefore
pointer to object that extracts info from the clusters of a SPTC For the SVD track before CDC.
void beginRun() override
sets magnetic field strength
std::unique_ptr< ClusterInfoExtractor > m_clusterInfoExtractor
pointer to object that extracts info from the clusters of a SPTC
TrackQETrainingDataCollectorModule()
Constructor of the module.
float m_clone
1 if track is clone track, 0 else
std::string m_cdcRecoTracksStoreArrayName
Name of the CDC StoreArray.
float m_matched
truth information collected with m_estimatorMC type is float to be consistent with m_variableSet (and...
std::unique_ptr< QualityEstimatorBase > m_estimator
pointer to the selected QualityEstimator
float m_background
1 if track is background track, 0 else
StoreArray< RecoTrack > m_recoTracks
Store Array of the recoTracks.
std::unique_ptr< RecoTrackExtractor > m_recoTrackExtractor
pointer to object that extracts info from the root RecoTrack
std::string m_SVDEstimationMethod
Identifier which estimation method to use for SVD.
float m_fake
1 if track is fake track, 0 else
std::string m_recoTracksStoreArrayName
Name of the recoTrack StoreArray.
std::unique_ptr< SubRecoTrackExtractor > m_subRecoTrackExtractor
pointer to object that extracts info from the related sub RecoTracks
std::string m_TrainingDataOutputName
name of the output rootfile
float m_nSpacePointsBefore
number of SpacePoints in SPTC.
std::unique_ptr< QEResultsExtractor > m_qeResultsExtractorBefore
pointer to object that extracts the results from the estimation method (including QI,...
Abstract base class for different kinds of events.