12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
16#include <cdc/geometry/CDCGeometryPar.h>
17#include <cdc/dataobjects/CDCHit.h>
18#include <cdc/dataobjects/WireID.h>
19#include <cdc/dbobjects/CDCCrossTalkLibrary.h>
20#include <cdc/dbobjects/CDCFEElectronics.h>
45 void event()
override;
81 XTalkInfo(
unsigned short tdc,
unsigned short adc,
unsigned short tot,
unsigned short status) :
The Class for overlaying signal-induced asic cross-talk.
int m_debugLevel
Debug level.
bool m_includeEarlyXTalks
Flag to switch on/off xtalks earlier than the hit.
unsigned short m_widthOfTimeWindow[c_nBoards]
Width of time window.
std::string m_inputCDCHitsName
Input array name.
DBObjPtr< CDCCrossTalkLibrary > * m_xTalkFromDB
Pointer to cross-talk from DB.
float m_uprEdgeOfTimeWindow[c_nBoards]
Upper edge of time-window.
void initialize() override
Initialize variables.
void event() override
Event func.
StoreArray< CDCHit > m_hits
CDCHit array.
void terminate() override
Terminate func.
CDCCrossTalkAdderModule()
Constructor.
bool m_issue2ndHitWarning
Flag to switch on/off a warning on the 2nd TDC hit.
float m_lowEdgeOfTimeWindow[c_nBoards]
Lower edge of time-window.
DBArray< CDCFEElectronics > * m_fEElectronicsFromDB
Pointer to FE electronics params.
CDC::CDCGeometryPar * m_cdcgp
Cached Pointer to CDCGeometryPar.
void setFEElectronics()
Set FEE parameters (from DB)
double m_invOfTDCBinWidth
Inv.
The Class for CDC Geometry Parameters.
Class for accessing arrays of objects in the database.
Class for accessing objects in the database.
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.
Structure for saving the x-talk information.
XTalkInfo(unsigned short tdc, unsigned short adc, unsigned short tot, unsigned short status)
Constructor that initializes all members.
unsigned short m_status
status
unsigned short m_tdc
TDC count.
unsigned short m_adc
ADC count.