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