12#include <calibration/CalibrationCollectorModule.h>
15#include <framework/datastore/StoreArray.h>
Calibration collector module base class.
Accessor to arrays stored in the data store.
Collector module for the TOP channelT0 calibration and, more in general, for the time resolution stud...
TOPLaserCalibratorCollectorModule()
Constructor: Sets the description, the properties and the parameters of the module.
int m_refSlot
Reference slot (1-16).
short m_window
Window number (0-???)
unsigned m_refChannel
Reference channel.
StoreArray< TOPDigit > m_TOPDigitArray
Required input array of TOPDigits.
bool m_storeMCTruth
Store the TOPSimHits information instead of the TOPDigit one.
float m_hitTime
Hit time with respect to the reference pulse (ns)
short m_channel
Channel number (0-511)
float m_dVdt
Approximate dV/dt (ADC/ns)
int m_event
Consecutive event count.
float m_pulserDeltaTTolerance
Window around the nominal deltaT used to select a double pulse, in ns.
void collect() override
Main mathod, called for each event.
short m_slot
Slot number (1-16)
void prepare() override
Define histograms.
bool m_useReferencePulse
Use the electronic pulser as reference.
float m_refTime
Time of the reference pulse (ns)
bool m_refTimeValid
true when the time of the reference pulse is valid
float m_pulserDeltaT
Approximate time difference between the two calpulses, in ns.
float m_width
Hit pulse width (ns)
short m_sample
Sample number (0-???)
float m_amplitude
Hit pulse amplitude (ADC)
Abstract base class for different kinds of events.