#include <DigitizerUtility.h>
Definition at line 33 of file DigitizerUtility.h.
DigitizerUtility::Amplitude::Amplitude |
( |
| ) |
|
|
inline |
DigitizerUtility::Amplitude::Amplitude |
( |
float |
amp, |
|
|
const PSimHit * |
hitp, |
|
|
float |
frac = 0 , |
|
|
float |
tcor = 0 , |
|
|
size_t |
hitIndex = 0 , |
|
|
uint32_t |
tofBin = 0 |
|
) |
| |
|
inline |
float DigitizerUtility::Amplitude::ampl |
( |
| ) |
const |
|
inline |
DigitizerUtility::Amplitude::operator float |
( |
| ) |
const |
|
inline |
void DigitizerUtility::Amplitude::operator+= |
( |
const Amplitude & |
other | ) |
|
|
inline |
Definition at line 51 of file DigitizerUtility.h.
References _amp, _simInfoList, and simInfoList().
54 for (
auto const& ic : other.simInfoList()) {
56 _simInfoList.push_back({ic.first, std::make_unique<SimHitInfo>(*ic.second)});
std::vector< std::pair< float, std::unique_ptr< SimHitInfo > > > _simInfoList
void DigitizerUtility::Amplitude::operator+= |
( |
const float & |
amp | ) |
|
|
inline |
void DigitizerUtility::Amplitude::set |
( |
const float |
amplitude | ) |
|
|
inline |
const std::vector<std::pair<float, std::unique_ptr<SimHitInfo> > >& DigitizerUtility::Amplitude::simInfoList |
( |
| ) |
const |
|
inline |
float DigitizerUtility::Amplitude::_amp |
|
private |
std::vector<std::pair<float, std::unique_ptr<SimHitInfo> > > DigitizerUtility::Amplitude::_simInfoList |
|
private |