TFCSBinnedShowerONNX class
#include <TFCSBinnedShowerONNX.h>
Contents
Base classes
- class TFCSBinnedShowerBase
Public types
- struct layer_bins_t
-
using event_bins_t = std::vector<layer_
bins_ t>
Constructors, destructors, conversion operators
- TFCSBinnedShowerONNX(const char* name = nullptr, const char* title = nullptr)
- ~TFCSBinnedShowerONNX() override
Public functions
- auto is_match_Ekin_bin(int) const -> bool override
- void enable_upscaling()
- void disable_upscaling()
- auto load_simulator(const std::string& filename) -> bool
- void load_meta_data(const std::string& filename, std::vector<long unsigned int>& layers)
- void load_sub_bin_distribution(const std::string& filename)
- void set_bin_boundaries(long unsigned int layer_index, const std::vector<float>& R_lower, const std::vector<float>& R_size, const std::vector<float>& alpha_lower, const std::vector<float>& alpha_size)
- auto get_coordinates() const -> const event_bins_t &
-
void set_coordinates(const event_
bins_ t& coordinates) - auto get_sub_bin_distribution() const -> const std::vector< std::vector< std::vector< std::vector< float >>>> &
- auto get_upscaling_energies() const -> const std::vector< float > &
- void set_sub_bin_distribution_and_energies(const std::vector<std::vector<std::vector<std::vector<float>>>>& sub_bin_distribution, const std::vector<float>& upscaling_energies)
Protected functions
- void get_event(TFCSSimulationState& simulstate, float eta_center, float phi_center, float e_init, long unsigned int reference_layer_index) const override
- do not persistify
- auto get_n_hits(TFCSSimulationState& simulstate, long unsigned int layer_index) const -> long unsigned int override
- void compute_n_hits_and_elayer(TFCSSimulationState& simulstate) const virtual
- auto get_layer_energy(TFCSSimulationState& simulstate, long unsigned int layer_index) const -> float override
- auto get_hit_position_and_energy(TFCSSimulationState& simulstate, long unsigned int layer_index, long unsigned int hit_index) const -> std::tuple< float, float, float > override
- void delete_event(TFCSSimulationState& simulstate) const override
Function documentation
auto TFCSBinnedShowerONNX:: get_layer_energy(TFCSSimulationState& simulstate,
long unsigned int layer_index) const -> float override protected
Returns the total deposited energy in the given layer for the current event