 |
Belle II Software
release-05-02-19
|
12 #include <tracking/trackFindingVXD/variableExtractors/SimpleVariableRecorder.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>
19 #include <framework/datastore/StoreArray.h>
20 #include <framework/core/Module.h>
34 class TrackQETrainingDataCollectorModule :
public Module {
47 void event()
override;
87 std::unique_ptr<SimpleVariableRecorder>
m_recorder;
std::string m_cdcRecoTracksStoreArrayName
Name of the CDC StoreArray.
float m_truth
truth information collected with m_estimatorMC type is float to be consistend with m_variableSet (and...
std::string m_svdRecoTracksStoreArrayName
Name of the SVD StoreArray.
void beginRun() override
sets magnetic field strength
bool m_collectEventFeatures
Parameter to enable event-wise features.
std::string m_TrainingDataOutputName
name of the output rootfile
std::unique_ptr< SubRecoTrackExtractor > m_subRecoTrackExtractor
pointer to object that extracts info from the related sub RecoTracks
std::string m_svdCDCRecoTracksStoreArrayName
Name of the SVD-CDC StoreArray.
std::vector< Named< float * > > m_variableSet
set of named variables to be collected
std::unique_ptr< HitInfoExtractor > m_hitInfoExtractor
pointer to object that extracts info from the hits within the RecoTrack
Abstract base class for different kinds of events.
TrackQETrainingDataCollectorModule()
Constructor of the module.
void terminate() override
write out data from m_recorder
void event() override
applies the selected quality estimation method for a given set of TCs
std::string m_pxdRecoTracksStoreArrayName
Name of the PXD StoreArray.
std::string m_recoTracksStoreArrayName
Name of the recoTrack StoreArray.
Accessor to arrays stored in the data store.
StoreArray< RecoTrack > m_recoTracks
Store Array of the recoTracks.
std::string m_svdPlusCDCStandaloneRecoTracksStoreArrayName
Name of the StoreArray of SVD tracks combined with CDC-tracks from standalone CDC tracking.
std::unique_ptr< EventInfoExtractor > m_eventInfoExtractor
pointer to object that extracts info from the whole event
std::unique_ptr< SimpleVariableRecorder > m_recorder
pointer to the object that writes out the collected data into a root file
void initialize() override
Initializes the Module.
std::unique_ptr< RecoTrackExtractor > m_recoTrackExtractor
pointer to object that extracts info from the root RecoTrack