sipm-characterisation 0.1.0
SiPM characterisation for ePIC — IV/DCR/gain, laser, readout, irradiation
Loading...
Searching...
No Matches
alcor Namespace Reference

Classes

class  finecalibration
 
struct  t_hit
 

Typedefs

typedef std::array< float, 2 > calibration_unit
 

Functions

TTreeload_alcor_data_tree (const std::string infilename, t_hit &hit)
 

Variables

std::map< int, std::string > device_int2string
 
std::map< std::string, intdevice_string2int
 
std::vector< std::string > devices
 
std::vector< intdevices_indices
 
const int maximum_TDC = 768
 
const double coarse_to_s = 3.1250000e-09
 — Convertion — — Coarse
 
const double coarse_to_ms = 3.1250000e-06
 
const double coarse_to_us = 3.1250000e-03
 
const double coarse_to_ns = 3.1250000
 
const int rollover_to_coarse = 32768
 — — Rollover
 
const double rollover_to_s = 0.0001024
 
const double rollover_to_ms = 0.1024
 
const double rollover_to_us = 102.4
 
const double rollover_to_ns = 102400.
 

Typedef Documentation

◆ calibration_unit

Function Documentation

◆ load_alcor_data_tree()

TTree * alcor::load_alcor_data_tree ( const std::string  infilename,
t_hit hit 
)

open input file, get tree and connect variables to branches

Variable Documentation

◆ coarse_to_ms

const double alcor::coarse_to_ms = 3.1250000e-06

◆ coarse_to_ns

const double alcor::coarse_to_ns = 3.1250000

◆ coarse_to_s

const double alcor::coarse_to_s = 3.1250000e-09

— Convertion — — Coarse

◆ coarse_to_us

const double alcor::coarse_to_us = 3.1250000e-03

◆ device_int2string

std::map<int, std::string> alcor::device_int2string
Initial value:
= {
{192, "kc705-192"},
{193, "kc705-193"},
{194, "kc705-194"},
{195, "kc705-195"},
{196, "kc705-196"},
{197, "kc705-197"},
{198, "kc705-198"},
{207, "kc705-207"}}

◆ device_string2int

std::map<std::string, int> alcor::device_string2int
Initial value:
= {
{"kc705-192", 192},
{"kc705-193", 193},
{"kc705-194", 194},
{"kc705-195", 195},
{"kc705-196", 196},
{"kc705-197", 197},
{"kc705-198", 198},
{"kc705-207", 207}}

◆ devices

std::vector<std::string> alcor::devices
Initial value:
= {
"kc705-192",
"kc705-193",
"kc705-194",
"kc705-195",
"kc705-196",
"kc705-197",
"kc705-198",
"kc705-207"}

◆ devices_indices

std::vector<int> alcor::devices_indices
Initial value:
= {
192,
193,
194,
195,
196,
197,
198,
207}

◆ maximum_TDC

const int alcor::maximum_TDC = 768

◆ rollover_to_coarse

const int alcor::rollover_to_coarse = 32768

— — Rollover

◆ rollover_to_ms

const double alcor::rollover_to_ms = 0.1024

◆ rollover_to_ns

const double alcor::rollover_to_ns = 102400.

◆ rollover_to_s

const double alcor::rollover_to_s = 0.0001024

◆ rollover_to_us

const double alcor::rollover_to_us = 102.4