Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,068 changes: 1,068 additions & 0 deletions analysis/testbench/SiPM_paper_appendices_plot.ipynb

Large diffs are not rendered by default.

2,460 changes: 2,460 additions & 0 deletions analysis/testbench/SiPM_paper_plot.ipynb

Large diffs are not rendered by default.

936 changes: 936 additions & 0 deletions analysis/testbench/biasSettingsGeneration_crvaging019.ipynb

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions analysis/testbench/filepath.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,11 @@ def findlinked(fullfilename, label, passVer = 1):
"type":"led",
"config":"crvaging-016",
"run#":[2052, 2053, 2054, 2055, 2056],
"bulk":[-25, 0, +25, +50, +75]},
"bulk_scan_crvaging019": {
"type":"led",
"config":"crvaging-019",
"run#":[2093, 2094, 2095, 2096, 2097],
"bulk":[-25, 0, +25, +50, +75]}
}

Expand Down
16 changes: 16 additions & 0 deletions analysis/testbench/geometry_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,21 @@
'canvasSize' : (16,5)
}

geom_dict_crvaging019 = { # not real config, placeholder
'tag' : 'config_019_CRV_T_A',
'module' : ['CRV_L_A_HORSTD', 'CRV_T_A_HORSTD', 'CRV_T_B_HORSTD', 'CRV_L_B_HORSTD'],
'moduleOffsetX' : [0., 0., 0.+moduleWidth*1.2, 0.+moduleWidth*1.2],
'moduleOffsetY' : [-(i%2)*(moduleThickness+4*25.4) for i in range(4)],
'FEB' : [[0,1], [2,3], [4,5], [6,7]],
'nFEB' : 8,
'badChannels' : [],
'triggerOnlyChs': [(0, i) for i in range(nChannelPerFEB)] + [(1, i) for i in range(nChannelPerFEB)] +
[(4, i) for i in range(nChannelPerFEB)] + [(5, i) for i in range(nChannelPerFEB)] +
[(6, i) for i in range(nChannelPerFEB)] + [(7, i) for i in range(nChannelPerFEB)],
# 2-tuple list if channels are designated in the triggering layers
'canvasSize' : (16,5)
}

geom_dict_crvled001 = {
'tag' : 'config_LED001_CRV_L_A',
'module' : ['CRV_L_A_HORSTD'],
Expand Down Expand Up @@ -299,6 +314,7 @@
'crvaging-010': [geom_dict_crvaging010],
'crvaging-011': [geom_dict_crvaging011],
'crvaging-016': [geom_dict_crvaging016],
'crvaging-019': [geom_dict_crvaging019],
'crvled-001' : [geom_dict_crvled001],
'crvled-002' : [geom_dict_crvled002],
'crvled-003' : [geom_dict_crvled003],
Expand Down
4 changes: 3 additions & 1 deletion analysis/testbench/portROOT2pd.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@

import pandas as pd

def PortToDF(fileList, additional_dict = None):
def PortToDF(fileList, additional_dict = None, verbose = False):
df = pd.DataFrame()

for index, filename in enumerate(fileList):
if verbose:
print("Opening "+filename)
runNum = filepath.filenameparser(filename, 'run')
subrunNum = filepath.filenameparser(filename, 'subrun')

Expand Down
6 changes: 3 additions & 3 deletions analysis/testbench/tempScanSiDetRun2PE.ipynb

Large diffs are not rendered by default.

Loading