9#ifndef SVD3SAMPLESEMULATORMODULE_H
10#define SVD3SAMPLESEMULATORMODULE_H
12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <framework/datastore/StoreObjPtr.h>
15#include <svd/dataobjects/SVDShaperDigit.h>
16#include <svd/dataobjects/SVDEventInfo.h>
44 virtual void event()
override;
47 virtual void endRun()
override;
This module takes the SVDShaperDigit as input and select three consecutive samples starting from the ...
virtual ~SVD3SamplesEmulatorModule()
if required
std::string m_shaperDigitInputName
name of the input ShaperDigits StoreArray
virtual void initialize() override
init the module
virtual void event() override
processes the event
StoreObjPtr< SVDEventInfo > m_storeSVDEvtInfo3samples
storage for SVDEventInfo object produced for 3 samples
virtual void endRun() override
end the run
virtual void terminate() override
terminates the module
bool m_chooseRelativeShift
Set it True if you want to choose the relative shift manually.
virtual void beginRun() override
initializes the module
std::string m_svdEventInfoName
Name of the input SVDEventInfo object.
std::string m_svdEventInfoOutName
Name of the output SVDEventInfo object.
int getFirstSample(const SVDModeByte modeByte)
return the starting sample
bool m_chooseStartingSample
Set it True if you want to choose the starting sample manually.
int m_relativeShift
Relative shift.
StoreArray< SVDShaperDigit > m_ShaperDigit
StoreArray with the 6-samples input shaperdigits with DAQMode = 2.
Int_t m_startingSample
Starting sample from which select the three samples of the initial six.
StoreObjPtr< SVDEventInfo > m_storeSVDEvtInfo
storage for SVDEventInfo object required for the module
SVD3SamplesEmulatorModule()
Constructor: Sets the description, the properties and the parameters of the module.
std::string m_outputArrayName
StoreArray with the 3-samples output shaperdigits, with DAQMode = 1.
Class to store SVD mode information.
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.