 |
Belle II Software
release-05-02-19
|
1 #ifndef CDCTRIGGER2DFITTERModule_H
2 #define CDCTRIGGER2DFITTERModule_H
4 #include "framework/core/Module.h"
8 #include <framework/datastore/StoreArray.h>
9 #include <framework/datastore/StoreObjPtr.h>
10 #include <trg/cdc/dataobjects/CDCTriggerSegmentHit.h>
11 #include <trg/cdc/dataobjects/CDCTriggerTrack.h>
12 #include <framework/dataobjects/BinnedEventT0.h>
35 virtual void event()
override;
57 std::vector<double>
rr = {};
59 std::vector<std::vector<double>>
xtTables = {};
72 #endif // CDCTrigger2DFitterModule_H
virtual void initialize() override
Initialize the module and register DataStore arrays.
CDCTrigger2DFitterModule()
Constructor, for setting module description and parameters.
bool m_useDriftTime
Switch between drift time and wire position for phi.
std::vector< double > rr
geometry constants: radius of priority layers
std::string m_inputCollectionName
Name of the StoreArray containing the input tracks from the finder.
virtual ~CDCTrigger2DFitterModule()
Destructor.
std::string m_EventTimeName
name of the event time StoreObjPtr
StoreObjPtr< BinnedEventT0 > m_eventTime
StoreObjPtr contraining the event time.
std::string m_outputCollectionName
Name of the StoreArray containing the resulting fitted tracks.
bool m_xtSimple
Switch between nominal drift velocity and xt table.
virtual void event() override
Run the 2D fitter for an event.
std::string m_hitCollectionName
Name of the StoreArray containing the input track segment hits.
std::vector< std::vector< double > > xtTables
geometry constants: drift length - drift time relation
Abstract base class for different kinds of events.
Type-safe access to single objects in the data store.
StoreArray< CDCTriggerTrack > m_finderTracks
list of input tracks from finder
StoreArray< CDCTriggerTrack > m_fitterTracks
list of output tracks from fitter
unsigned m_minHits
Minimal number of hits required for fitting.
std::vector< double > nWires
geometry constants: number of wires per super layer
Accessor to arrays stored in the data store.
Module for the 2D Fitter of the CDC trigger.