TFCSPhiModulationCorrection class

Base classes

class TFCSLateralShapeParametrizationHitBase

Public static functions

static auto get_phi_cell_size(long unsigned int layer, float eta) -> float

Constructors, destructors, conversion operators

TFCSPhiModulationCorrection(const char* name = nullptr, const char* title = nullptr)
~TFCSPhiModulationCorrection() override

Public functions

void load_phi_modulation(const std::string& filename, long unsigned int layer_index, float eta_min, float eta_max, float energy_shift = 1.0)
void clear()
auto get_phi_modulation() const -> const std::vector< std::vector< std::vector< float >>> &
auto get_min_eta() const -> const std::vector< std::vector< float >> &
auto get_energy_shift() const -> const std::vector< std::vector< float >> &
auto get_min_phi() const -> const std::vector< std::vector< std::vector< float >>> &
void set_phi_modulation_scale(float phi_modulation_scale)
auto get_phi_modulation_scale() const -> float
auto add_phi_modulation(Hit& hit) const -> float
auto add_phi_modulation(Hit& hit, long unsigned int layer_index) const -> float
auto add_phi_modulation(float energy, float phi, float eta, long unsigned int layer_index) const -> float
auto remove_phi_modulation(Hit& hit) const -> float
auto remove_phi_modulation(Hit& hit, long unsigned int layer_index) const -> float
auto remove_phi_modulation(float energy, float phi, float eta, long unsigned int layer_index) const -> float
auto get_eta_and_phi_index(float phi, float eta, long unsigned int layer_index) const -> std::tuple< int, long unsigned int, long unsigned int >
void set_geometry(CaloGeo* geo) override
auto get_geometry() const -> CaloGeo *
auto simulate_hit(Hit& hit, TFCSSimulationState& simulstate, const TFCSTruthState* truth, const TFCSExtrapolationState* extrapol) -> FCSReturnCode override

Protected variables

CaloGeo* m_geo

Function documentation

void TFCSPhiModulationCorrection::set_geometry(CaloGeo* geo) override

Method to set the geometry access pointer. Loops over daughter objects if present

auto TFCSPhiModulationCorrection::simulate_hit(Hit& hit, TFCSSimulationState& simulstate, const TFCSTruthState* truth, const TFCSExtrapolationState* extrapol) -> FCSReturnCode override

simulated one hit position with some energy. As last step in TFCSLateralShapeParametrizationHitChain::simulate, the hit should be mapped into a cell and this cell recorded in simulstate. All hits/cells should be resacled such that their final sum is simulstate->E(sample)