#include <DataConverterPlugin.hh>
Public Types | |
typedef std::pair< unsigned, std::string > | t_eventid |
Public Member Functions | |
virtual void | Initialize (eudaq::Event const &, eudaq::Configuration const &) |
virtual unsigned | GetTriggerID (eudaq::Event const &) const |
virtual int | IsSyncWithTLU (eudaq::Event const &ev, eudaq::TLUEvent const &tlu) const |
virtual void | setCurrentTLUEvent (eudaq::Event &ev, eudaq::TLUEvent const &tlu) |
virtual void | GetLCIORunHeader (lcio::LCRunHeader &, eudaq::Event const &, eudaq::Configuration const &) const |
virtual bool | GetLCIOSubEvent (lcio::LCEvent &, eudaq::Event const &) const |
virtual bool | GetStandardSubEvent (StandardEvent &, eudaq::Event const &) const |
virtual t_eventid const & | GetEventType () const |
virtual | ~DataConverterPlugin () |
Protected Member Functions | |
DataConverterPlugin (std::string subtype) | |
DataConverterPlugin (unsigned type, std::string subtype="") | |
Protected Attributes | |
t_eventid | m_eventtype |
The DataConverterPlugin is the abstract base for all plugins. The actual impementation provides the GetLCIOEvent() and GetStandardEvent() functions which get the eudaq::Event as input parameter.
The implementations should be singleton classes which only can be accessed via the plugin manager. (See TimepixConverterPlugin as example). The plugin implementations have to register with the plugin manager.
|
inlinevirtual |
The empty destructor. Need to add it to make it virtual.
|
protected |
The protected constructor which automatically registeres the plugin at the pluginManager.
|
inlinevirtual |
Returns the type of event this plugin can convert to lcio as a pair of Event type id and subtype string.
|
inlinevirtual |
Returns the LCIO version of the event.
Reimplemented in eudaq::AltroUSBConverterPlugin.
|
inlinevirtual |
Returns the StandardEvent version of the event.
Reimplemented in eudaq::PALPIDEFSConverterPlugin, eudaq::USBPixI4ConverterPlugin< dh_lv1id_msk, dh_bcid_msk >, eudaq::USBPixI4ConverterPlugin< 0x00007C00, 0x000003FF >, eudaq::USBPixI4ConverterPlugin< 0x00007F00, 0x000000FF >, eudaq::DEPFETConverterPlugin, eudaq::SCTConverterPlugin_ITS_TTC, eudaq::PyBARConverterPlugin, eudaq::USBPixConverterPlugin, eudaq::EUDRBConverterPlugin, eudaq::SCTupgradeConverterPlugin, eudaq::ExplorerConverterPlugin, eudaq::PALPIDESSConverterPlugin, eudaq::APIXCTConverterPlugin, eudaq::SCTConverterPlugin_ITS_ABC, eudaq::TimepixConverterPlugin, eudaq::AltroUSBConverterPlugin, eudaq::CcpdlfADCConverterPlugin, eudaq::NIConverterPlugin, eudaq::CcpdlfConverterPlugin, eudaq::Mupix2ConverterPlugin, eudaq::Mupix3ConverterPlugin, eudaq::ExampleConverterPlugin, eudaq::Mupix4ConverterPlugin, eudaq::FORTISConverterPlugin, eudaq::TAKIConverterPlugin, eudaq::CLICpixConverterPlugin, eudaq::GenericConverterPlugin, eudaq::CMSPixelConverterPlugin, eudaq::CMSPixelDUTConverterPlugin, eudaq::CMSPixelQUADConverterPlugin, eudaq::CMSPixelREFConverterPlugin, eudaq::CMSPixelTRPConverterPlugin, and eudaq::TLUConverterPlugin.
|
protected |
The string storing the event type this plugin can convert to lcio. This string has to be set in the constructor of the actual implementations of the plugin.