Loading src/objects/MCParticle.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -64,6 +64,10 @@ unsigned int MCParticle::getTotalDepositedCharge() const { return deposited_char void MCParticle::setTotalDepositedCharge(unsigned int total_charge) { deposited_charge_ = total_charge; } double MCParticle::getTotalDepositedEnergy() const { return deposited_energy_; } void MCParticle::setTotalDepositedEnergy(double total_energy) { deposited_energy_ = total_energy; } int MCParticle::getParticleID() const { return particle_id_; } double MCParticle::getGlobalTime() const { return global_time_; } Loading src/objects/MCParticle.hpp +13 −0 Original line number Diff line number Diff line Loading @@ -131,6 +131,18 @@ namespace allpix { */ unsigned int getTotalDepositedCharge() const; /** * @brief Set the total energy deposited by this particle * @param total_energy Total energy deposited by this particle */ void setTotalDepositedEnergy(double total_energy); /** * @brief Return the total energy deposited by this particle * @return Total energy deposited by this particle */ double getTotalDepositedEnergy() const; /** * @brief Set the Monte-Carlo particle * @param mc_particle The Monte-Carlo particle Loading Loading @@ -194,6 +206,7 @@ namespace allpix { double local_time_{}; double global_time_{}; unsigned int deposited_charge_{}; double deposited_energy_{}; double total_energy_start_{}; double kinetic_energy_start_{}; Loading Loading
src/objects/MCParticle.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -64,6 +64,10 @@ unsigned int MCParticle::getTotalDepositedCharge() const { return deposited_char void MCParticle::setTotalDepositedCharge(unsigned int total_charge) { deposited_charge_ = total_charge; } double MCParticle::getTotalDepositedEnergy() const { return deposited_energy_; } void MCParticle::setTotalDepositedEnergy(double total_energy) { deposited_energy_ = total_energy; } int MCParticle::getParticleID() const { return particle_id_; } double MCParticle::getGlobalTime() const { return global_time_; } Loading
src/objects/MCParticle.hpp +13 −0 Original line number Diff line number Diff line Loading @@ -131,6 +131,18 @@ namespace allpix { */ unsigned int getTotalDepositedCharge() const; /** * @brief Set the total energy deposited by this particle * @param total_energy Total energy deposited by this particle */ void setTotalDepositedEnergy(double total_energy); /** * @brief Return the total energy deposited by this particle * @return Total energy deposited by this particle */ double getTotalDepositedEnergy() const; /** * @brief Set the Monte-Carlo particle * @param mc_particle The Monte-Carlo particle Loading Loading @@ -194,6 +206,7 @@ namespace allpix { double local_time_{}; double global_time_{}; unsigned int deposited_charge_{}; double deposited_energy_{}; double total_energy_start_{}; double kinetic_energy_start_{}; Loading