8#ifndef CDCTRIGGERETFModule_H
9#define CDCTRIGGERETFModule_H
11#include "framework/core/Module.h"
14#include <framework/datastore/StoreArray.h>
15#include <framework/datastore/StoreObjPtr.h>
16#include <trg/cdc/dataobjects/CDCTriggerSegmentHit.h>
17#include <framework/dataobjects/BinnedEventT0.h>
40 virtual void event()
override;
Module for the Event Time Finder of the CDC trigger.
std::string m_EventTimeName
name of the output StoreObjPtr holding the event time
virtual ~CDCTriggerETFModule()
Destructor.
virtual void initialize() override
Initialize the module and register DataStore arrays.
virtual void event() override
Run the ETF for an event.
unsigned m_threshold
bin threshold for event time
CDCTriggerETFModule()
Constructor, for setting module description and parameters.
StoreArray< CDCTriggerSegmentHit > m_hits
list of input track segment hits
bool m_trueEventTime
if true, always output 0 (assuming this is the true event time for MC)
StoreObjPtr< BinnedEventT0 > m_eventTime
StoreObjPtr holding the event time.
std::string m_hitCollectionName
name of the input track segment hit StoreArray
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.