9#ifndef CONVERT2RAWDET_H
10#define CONVERT2RAWDET_H
12#include <framework/core/Module.h>
14#include <framework/datastore/StoreArray.h>
16#include <rawdata/dataobjects/RawFTSW.h>
17#include <rawdata/dataobjects/RawCDC.h>
18#include <rawdata/dataobjects/RawSVD.h>
19#include <rawdata/dataobjects/RawECL.h>
20#include <rawdata/dataobjects/RawARICH.h>
21#include <rawdata/dataobjects/RawTOP.h>
22#include <rawdata/dataobjects/RawKLM.h>
23#include <rawdata/dataobjects/RawTRG.h>
24#include <rawdata/dataobjects/RawCOPPER.h>
49 virtual void event()
override;
51 virtual void endRun()
override;
A class definition of a module to convert from RawCOPPER or RawDataBlock to RawDetector objects.
int m_nevt
No. of sent events.
StoreArray< RawSVD > m_rawSVD
Array for RawCOPPER
virtual void initialize() override
Called at the beginning of data processing.
virtual void event() override
Called for each event.
virtual void endRun() override
Called if the current run ends.
StoreArray< RawFTSW > m_rawFTSW
Array for RawTRG
virtual void terminate() override
Called at the end of data processing.
virtual void convertDataObject(RawDataBlock *raw_dblk, std::vector< unsigned int > &cpr_id)
function to register data buffer in DataStore as RawDetector
StoreArray< RawCOPPER > m_rawCOPPER
Array for RawDataBlock.
StoreArray< RawARICH > m_rawARICH
Array for RawTOP
virtual ~Convert2RawDetModule()
Destructor.
StoreArray< RawTRG > m_rawTRG
Array for RawKLM
virtual void beginRun() override
Called when entering a new run.
StoreArray< RawKLM > m_rawKLM
Array for RawECL
Convert2RawDetModule()
Constructor.
StoreArray< RawTOP > m_rawTOP
Array for RawCDC
StoreArray< RawDataBlock > m_rawDataBlock
Data members.
StoreArray< RawECL > m_rawECL
Array for RawARICH
StoreArray< RawCDC > m_rawCDC
Array for RawSVD
The RawDataBlock class Base class for rawdata handling.
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.