Skip to content

Commit 27d0e16

Browse files
committed
Changes to channel map evd producer
1 parent f97696f commit 27d0e16

2 files changed

Lines changed: 20 additions & 19 deletions

File tree

sbndcode/CRT/CRTEventDisplay/build_tex.sh

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ echo "\documentclass{article}
44
\usepackage{pgffor}
55
\usepackage[hidelinks]{hyperref}
66
7-
\title{SBND CRT Channel Mapping Displays \\\\ \vspace{1em} \small \textit{Produced using} \texttt{sbndcode v09\_90\_00} \textit{\&} \texttt{sbnd\_v02\_02.gdml}}
8-
\author{Henry Lay \\\\ \small h.lay@lancaster.ac.uk}" > crt_channel_mapping_evds.tex
7+
\title{SBND CRT Channel Mapping Displays \\\\ \vspace{1em} \small \textit{Produced using} \texttt{sbndcode v09\_91\_02\_02} \textit{\&} \texttt{sbnd\_v02\_03.gdml}}
8+
\author{Henry Lay \\\\ \small h.lay@sheffield.ac.uk}" > crt_channel_mapping_evds.tex
99

1010
walls=(bottom south north west east toplow tophigh)
1111
wallnames=(Bottom South North West East "Top Low" "Top High")
1212

1313
for wall in "${walls[@]}"
1414
do
15-
list=$(ls /exp/sbnd/data/users/hlay/crt_channel_mapping/august2024/${wall}_wall/*_front.pdf)
15+
list=$(ls /exp/sbnd/data/users/hlay/crt_channel_mapping/oct2024/${wall}_wall/*_front.pdf)
1616
echo -n "\newcommand*{\\"$wall"ids}{" >> crt_channel_mapping_evds.tex
1717

1818
for item in ${list}
@@ -33,11 +33,10 @@ echo "\begin{document}
3333
\centering
3434
\vspace{2em}
3535
36-
\includegraphics[width=.6\textwidth]{/exp/sbnd/data/users/hlay/crt_channel_mapping/august2024/luphysics_logo.png}
37-
36+
\includegraphics[width=.6\textwidth]{/exp/sbnd/data/users/hlay/crt_channel_mapping/oct2024/UOSLogo_Primary_Violet_RGB.png}
3837
\vspace{2em}
3938
40-
\includegraphics[width=.5\textwidth]{/exp/sbnd/data/users/hlay/crt_channel_mapping/august2024/sbnd_pride_transparent.png}
39+
\includegraphics[width=.5\textwidth]{/exp/sbnd/data/users/hlay/crt_channel_mapping/oct2024/sbnd_pride_transparent.png}
4140
\flushleft
4241
\newpage
4342
\tableofcontents
@@ -56,15 +55,15 @@ do
5655
\newpage
5756
\subsection{volCRTModule\x\_\x}
5857
\begin{center}
59-
\includegraphics[width=.85\textwidth]{/exp/sbnd/data/users/hlay/crt_channel_mapping/august2024/${walls[i]}_wall/volCRTModule\x_\x_front.pdf}\\\\
60-
\includegraphics[width=.85\textwidth]{/exp/sbnd/data/users/hlay/crt_channel_mapping/august2024/${walls[i]}_wall/volCRTModule\x_\x_top.pdf}\\\\
61-
\includegraphics[width=.85\textwidth]{/exp/sbnd/data/users/hlay/crt_channel_mapping/august2024/${walls[i]}_wall/volCRTModule\x_\x_side.pdf}
58+
\includegraphics[width=.85\textwidth]{/exp/sbnd/data/users/hlay/crt_channel_mapping/oct2024/${walls[i]}_wall/volCRTModule\x_\x_front.pdf}\\\\
59+
\includegraphics[width=.85\textwidth]{/exp/sbnd/data/users/hlay/crt_channel_mapping/oct2024/${walls[i]}_wall/volCRTModule\x_\x_top.pdf}\\\\
60+
\includegraphics[width=.85\textwidth]{/exp/sbnd/data/users/hlay/crt_channel_mapping/oct2024/${walls[i]}_wall/volCRTModule\x_\x_side.pdf}
6261
\end{center}
6362
}
6463
\endgroup" >> crt_channel_mapping_evds.tex
6564
done
6665

6766
echo "\end{document}" >> crt_channel_mapping_evds.tex
6867

69-
pdflatex --shell-escape -output-directory /exp/sbnd/data/users/hlay/crt_channel_mapping/august2024/tex_work crt_channel_mapping_evds.tex
70-
pdflatex --shell-escape -output-directory /exp/sbnd/data/users/hlay/crt_channel_mapping/august2024/tex_work crt_channel_mapping_evds.tex
68+
pdflatex --shell-escape -output-directory /exp/sbnd/data/users/hlay/crt_channel_mapping/oct2024/tex_work crt_channel_mapping_evds.tex
69+
pdflatex --shell-escape -output-directory /exp/sbnd/data/users/hlay/crt_channel_mapping/oct2024/tex_work crt_channel_mapping_evds.tex

sbndcode/CRT/CRTEventDisplay/run_crteventdisplay_channel_mapping_all.fcl

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
#include "services_sbnd.fcl"
2+
#include "particleinventoryservice.fcl"
3+
#include "crteventdisplay_sbnd.fcl"
14
#include "crt_channel_map_service.fcl"
25
#include "crt_calib_service.fcl"
3-
#include "run_crteventdisplay_channel_mapping.fcl"
46

57
process_name: CRTEventDisplay
68

@@ -37,17 +39,17 @@ physics:
3739
end_paths: [ ana ]
3840
}
3941

40-
physics.analyzers.crtevdbot.SaveDir: "/exp/sbnd/data/users/hlay/crt_channel_mapping/august2024/bottom_wall"
42+
physics.analyzers.crtevdbot.SaveDir: "/exp/sbnd/data/users/hlay/crt_channel_mapping/oct2024/bottom_wall"
4143
physics.analyzers.crtevdbot.EventDisplayConfig.ChosenTaggers: [ 0 ]
42-
physics.analyzers.crtevdsou.SaveDir: "/exp/sbnd/data/users/hlay/crt_channel_mapping/august2024/south_wall"
44+
physics.analyzers.crtevdsou.SaveDir: "/exp/sbnd/data/users/hlay/crt_channel_mapping/oct2024/south_wall"
4345
physics.analyzers.crtevdsou.EventDisplayConfig.ChosenTaggers: [ 1 ]
44-
physics.analyzers.crtevdnor.SaveDir: "/exp/sbnd/data/users/hlay/crt_channel_mapping/august2024/north_wall"
46+
physics.analyzers.crtevdnor.SaveDir: "/exp/sbnd/data/users/hlay/crt_channel_mapping/oct2024/north_wall"
4547
physics.analyzers.crtevdnor.EventDisplayConfig.ChosenTaggers: [ 2 ]
46-
physics.analyzers.crtevdwes.SaveDir: "/exp/sbnd/data/users/hlay/crt_channel_mapping/august2024/west_wall"
48+
physics.analyzers.crtevdwes.SaveDir: "/exp/sbnd/data/users/hlay/crt_channel_mapping/oct2024/west_wall"
4749
physics.analyzers.crtevdwes.EventDisplayConfig.ChosenTaggers: [ 3 ]
48-
physics.analyzers.crtevdeas.SaveDir: "/exp/sbnd/data/users/hlay/crt_channel_mapping/august2024/east_wall"
50+
physics.analyzers.crtevdeas.SaveDir: "/exp/sbnd/data/users/hlay/crt_channel_mapping/oct2024/east_wall"
4951
physics.analyzers.crtevdeas.EventDisplayConfig.ChosenTaggers: [ 4 ]
50-
physics.analyzers.crtevdtpl.SaveDir: "/exp/sbnd/data/users/hlay/crt_channel_mapping/august2024/toplow_wall"
52+
physics.analyzers.crtevdtpl.SaveDir: "/exp/sbnd/data/users/hlay/crt_channel_mapping/oct2024/toplow_wall"
5153
physics.analyzers.crtevdtpl.EventDisplayConfig.ChosenTaggers: [ 5 ]
52-
physics.analyzers.crtevdtph.SaveDir: "/exp/sbnd/data/users/hlay/crt_channel_mapping/august2024/tophigh_wall"
54+
physics.analyzers.crtevdtph.SaveDir: "/exp/sbnd/data/users/hlay/crt_channel_mapping/oct2024/tophigh_wall"
5355
physics.analyzers.crtevdtph.EventDisplayConfig.ChosenTaggers: [ 6 ]

0 commit comments

Comments
 (0)