5#ifndef TILECONDITIONS_TILEPULSEFORM_H
6#define TILECONDITIONS_TILEPULSEFORM_H
21 bool getPulseShapeYDY(
unsigned int drawerIdx,
unsigned int channel,
unsigned int adc,
22 float time,
float &
y,
float &dy)
const;
36 float time,
float &
y,
float &dy)
const {
37 return m_pulseShape->getCalibDrawer(drawerIdx)->getYDY(channel, adc, time,
y, dy);
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Condition object to keep and provide Tile pulse shape.
bool getPulseShapeYDY(unsigned int drawerIdx, unsigned int channel, unsigned int adc, float time, float &y, float &dy) const
TilePulse(std::unique_ptr< TileCalibDataFlt > pulseShape)
TilePulse(const TilePulse &)=delete
std::unique_ptr< TileCalibDataFlt > m_pulseShape
virtual ~TilePulse()=default
TilePulse & operator=(const TilePulse &)=delete