sipm-characterisation 0.1.0
SiPM characterisation for ePIC — IV/DCR/gain, laser, readout, irradiation
Loading...
Searching...
No Matches
database_laser.C File Reference
Include dependency graph for database_laser.C:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  database
 
namespace  database::laser
 

Functions

void database::laser::read_database (std::string database_input_file)
 
void database::laser::read_sub_run_database (std::string database_input_file, std::string type="target")
 
void database::laser::read_all_sub_runs (std::string target_run_tag)
 
void database::laser::read_all_sub_runs ()
 
void database::laser::download_run (std::string campaign, std::string target_run_tag=".")
 
void database::laser::unzip_sub_run (std::string target_file, std::string target_dir=".", std::string campaign="2024-laser-window")
 
void database::laser::unzip_all_sub_runs (std::string target_run_tag)
 
void database::laser::update_local_data_repository (std::string current_campaign="2024-laser-window")
 
std::unordered_map< std::string, std::vector< std::string > > database::laser::get_run_infos (std::string run)
 
std::unordered_map< std::string, std::vector< std::string > > database::laser::get_sub_run_infos (std::string sub_run)
 
std::unordered_map< std::string, std::vector< std::string > > database::laser::get_sub_run_infos (int sub_run_id)
 
std::unordered_map< std::string, std::vector< std::string > > database::laser::get_sub_run_infos (std::string board, std::string step, std::string channel, std::string vbias, std::string type, std::string position)
 
std::vector< std::pair< int, std::string > > database::laser::get_all_laser_runs ()
 
std::vector< std::pair< int, std::string > > database::laser::get_all_laser_runs (std::string quality)
 
std::vector< std::pair< int, std::string > > database::laser::get_all_laser_runs (std::string board, std::string step)
 
std::pair< int, std::string > database::laser::get_latest_laser_run (std::string board, std::string step)
 
std::unordered_map< std::string, std::unordered_map< std::string, std::vector< std::string > > > database::laser::get_sub_runs_infos (std::string run, std::string channel, std::string vbias, std::string type, std::string position)
 
std::unordered_map< std::string, std::unordered_map< std::string, std::vector< std::string > > > database::laser::get_sub_runs_infos (std::string board, std::string step, std::string channel, std::string vbias, std::string type, std::string position)
 
std::map< std::string, TGraphErrors * > database::laser::get_graph_sensor_from_channel (std::string run, std::string sensor, std::string type, std::string position, TGraphErrors *(*graph_getter)(std::string, std::string, std::string, std::string))
 
std::array< std::array< float, 2 >, 2 > database::laser::get_sub_run_value (std::string sub_run)
 
std::array< float, 2 > database::laser::get_sub_run_sig (std::string sub_run)
 
std::array< float, 2 > database::laser::get_sub_run_bkg (std::string sub_run)
 
TGraphErrorsdatabase::laser::get_pPDE_vs_vbias (std::string run, std::string channel, std::string type, std::string position)
 
TGraphErrorsdatabase::laser::get_bkg_vs_vbias (std::string run, std::string channel, std::string type, std::string position)
 
TGraphErrorsdatabase::laser::get_pPDE_vs_bkg (std::string run, std::string channel, std::string type, std::string position)
 
std::map< std::string, TGraphErrors * > database::laser::get_sensor_pPDE_vs_vbias (std::string run, std::string sensor, std::string type, std::string position)
 
std::map< std::string, TGraphErrors * > database::laser::get_sensor_bkg_vs_vbias (std::string run, std::string sensor, std::string type, std::string position)
 
std::map< std::string, TGraphErrors * > database::laser::get_sensor_pPDE_vs_bkg (std::string run, std::string sensor, std::string type, std::string position)
 
std::map< std::string, TGraphErrors * > database::laser::get_stability_check (std::vector< std::string > run_list)
 
std::map< std::string, TGraphErrors * > database::laser::get_stability_check (std::vector< std::pair< int, std::string > > run_list)
 
void database::laser::show_stability_check (std::vector< std::string > run_list)
 
void database::laser::show_stability_check (std::vector< std::pair< int, std::string > > run_list)
 

Variables

const double database::laser::coarse_to_ns = 3.125
 
std::vector< std::string > database::laser::fields = {"run", "status", "step", "board", "channels"}
 
std::vector< std::string > database::laser::sub_run_fields = {"channel", "bcrconfig", "opmode", "deltathreshold", "vbias", "directory", "notes"}
 
tree_database database::laser::database
 
std::unordered_map< int, std::vector< std::string > > database::laser::info_database
 
std::vector< std::string > database::laser::laser_positions = {"empty", "center", "top-left", "top-right", "bottom-left", "bottom-right"}
 
std::string database::laser::basedir = "./Data/"