 |
Belle II Software
release-05-02-19
|
1 #ifndef CDCTRIGGERNEUROMODULE_H
2 #define CDCTRIGGERNEUROMODULE_H
4 #include <framework/core/Module.h>
5 #include <trg/cdc/NeuroTrigger.h>
6 #include <framework/datastore/StoreArray.h>
7 #include <framework/database/DBObjPtr.h>
8 #include <trg/cdc/dbobjects/CDCTriggerNeuroConfig.h>
9 #include <trg/cdc/dataobjects/CDCTriggerTrack.h>
10 #include <trg/cdc/dataobjects/CDCTriggerSegmentHit.h>
11 #include <trg/cdc/dataobjects/CDCTriggerMLPInput.h>
41 virtual void event()
override;
virtual void event() override
Called once for each event.
StoreArray< CDCTriggerTrack > m_realtracks2D
list of input real 2D tracks
std::string m_outputCollectionName
Name of the StoreArray containing the resulting NN tracks.
virtual ~CDCTriggerNeuroModule()
Destructor.
StoreArray< CDCTriggerMLPInput > m_mlpInput
list of input vectors for each NN track
std::string m_EventTimeName
name of the event time StoreObjPtr
bool m_hardwareCompatibilityMode
Switch to mimic an apparent bug in the hardware preprocessing.
bool m_writeMLPinput
Switch for writing out the input vector for each track (off by default).
The neural network module of the CDC trigger.
float hwInputIdShuffle(float tsid, int sl)
shuffle the input ids in the input vector to match the hardware
std::vector< unsigned > m_precision
Fixed point precision in bit after radix point.
Class for accessing objects in the database.
std::string m_filename
Name of file where network weights etc.
StoreArray< CDCTriggerTrack > m_tracksNN
list of output NN tracks
StoreArray< CDCTriggerTrack > m_tracks2D
list of input 2D tracks or neurotracks
std::string m_realinputCollectionName
Name of the StoreArray containing the real input 2D tracks.
Class to represent the CDC Neurotrigger.
StoreArray< CDCTriggerSegmentHit > m_segmentHits
list of track segment hits
Abstract base class for different kinds of events.
virtual void initialize() override
Initialize the module.
bool m_fixedPoint
Switch to execute the network with fixed point calculation.
DBObjPtr< CDCTriggerNeuroConfig > m_cdctriggerneuroconfig
get NNT payload from database.
CDCTriggerNeuroModule()
Constructor, for setting module description and parameters.
NeuroTrigger m_NeuroTrigger
Instance of the NeuroTrigger.
bool m_neuroTrackInputMode
use Neurotracks as InputTracks
std::string m_inputCollectionName
Name of the StoreArray containing the input 2D tracks or neurotracks.
Accessor to arrays stored in the data store.
std::string m_et_option
way to obtain the event time, possible values are: "etf_only" : only ETF info is used,...
std::string m_arrayname
Name of the TObjArray holding the networks.
std::string m_hitCollectionName
Name of the StoreArray containing the input track segment hits.