#include <DigitizerUtility.h>
Definition at line 14 of file DigitizerUtility.h.
DigitizerUtility::Amplitude::Amplitude |
( |
| ) |
|
|
inline |
DigitizerUtility::Amplitude::Amplitude |
( |
float |
amp, |
|
|
const PSimHit * |
hitp, |
|
|
float |
frac = 0 , |
|
|
size_t |
hitIndex = 0 , |
|
|
unsigned int |
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 30 of file DigitizerUtility.h.
References _amp, _simInfoList, and simInfoList().
33 for (
auto const& ic :
other.simInfoList()) {
34 if (ic.first > -0.5)
_simInfoList.push_back({ic.first, std::make_unique<SimHitInfoForLinks>(*ic.second)});
std::vector< std::pair< float, std::unique_ptr< SimHitInfoForLinks > > > _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<SimHitInfoForLinks> > >& DigitizerUtility::Amplitude::simInfoList |
( |
| ) |
const |
|
inline |
float DigitizerUtility::Amplitude::_amp |
|
private |
std::vector<std::pair<float, std::unique_ptr<SimHitInfoForLinks> > > DigitizerUtility::Amplitude::_simInfoList |
|
private |