Go to the documentation of this file. 1 #ifndef __SimTracker_SiPhase2Digitizer_DigitizerUtility_h
2 #define __SimTracker_SiPhase2Digitizer_DigitizerUtility_h
36 Amplitude(
float amp,
const PSimHit* hitp,
float frac = 0,
float tcor = 0,
size_t hitIndex = 0, uint32_t tofBin = 0)
40 _simInfoList.push_back({
frac, std::make_unique<SimHitInfo>(hitp, tcor, hitIndex, tofBin)});
54 for (
auto const& ic :
other.simInfoList()) {
56 _simInfoList.push_back({ic.first, std::make_unique<SimHitInfo>(*ic.second)});
66 std::vector<std::pair<float, std::unique_ptr<SimHitInfo> > >
_simInfoList;
const LocalPoint & position() const
std::vector< std::pair< float, std::unique_ptr< SimHitInfo > > > _simInfoList
EncodedEventId eventId() const
uint32_t hitIndex() const
const std::vector< std::pair< float, std::unique_ptr< SimHitInfo > > > & simInfoList() const
void set(const float amplitude)
std::vector< std::pair< float, SimHitInfo * > > simInfoList
SignalPoint & set_amplitude(float amp)
Amplitude(float amp, const PSimHit *hitp, float frac=0, float tcor=0, size_t hitIndex=0, uint32_t tofBin=0)
SimHitInfo(const PSimHit *hitp, float corrTime, size_t hitIndex, uint32_t tofBin)
EnergyDepositUnit(float energy, float x, float y, float z)
static int position[264][3]
SignalPoint(float x, float y, float sigma_x, float sigma_y, float t, float a=1.0)
EnergyDepositUnit(float energy, Local3DPoint position)
void migrate_position(const Local3DPoint &pos)
void operator+=(const Amplitude &other)
SignalPoint(float x, float y, float sigma_x, float sigma_y, float t, const PSimHit &hit, float a=1.0)
void operator+=(const float &)