allpix::LineGraph

#include <line_graphs.h>

Public Types

Name
using std::vector< std::pair< std::tuple< double, unsigned int, CarrierType, CarrierState >, std::vector< ROOT::Math::XYZPoint > » OutputPlotPoints

Public Functions

Name
void Create(uint64_t event_num, Module * module, const Configuration & config, const OutputPlotPoints & output_plot_points, CarrierState plotting_state)
Generate line graphs of charge carrier drift paths.
void Animate(uint64_t event_num, Module * module, const Configuration & config, const OutputPlotPoints & output_plot_points)
Generate line graphs of charge carrier drift paths.

Public Types Documentation

using OutputPlotPoints

using allpix::LineGraph::OutputPlotPoints =  std::vector< std::pair<std::tuple<double, unsigned int, CarrierType, CarrierState>, std::vector<ROOT::Math::XYZPoint> >>;

Public Functions Documentation

function Create

static inline void Create(
    uint64_t event_num,
    Module * module,
    const Configuration & config,
    const OutputPlotPoints & output_plot_points,
    CarrierState plotting_state
)

Generate line graphs of charge carrier drift paths.

Parameters:

  • event_num Index for this event
  • module Module to generate plots for, used to create output files and to obtain ROOT directory
  • config Configuration object used for this module instance
  • output_plot_points List of points cached for plotting
  • plotting_state State of charge carriers to be plotted. If state is set to CarrierState::UNKNOWN, all charge carriers are plotted.

function Animate

static inline void Animate(
    uint64_t event_num,
    Module * module,
    const Configuration & config,
    const OutputPlotPoints & output_plot_points
)

Generate line graphs of charge carrier drift paths.

Parameters:

  • event_num Index for this event
  • module Module to generate plots for, used to create output files and to obtain ROOT directory
  • config Configuration object used for this module instance
  • output_plot_points List of points cached for plotting carriers are plotted.

Updated on 2025-02-27 at 14:14:46 +0000