Skip to content

Commit

Permalink
fix: disable FTOF and CTOF *m2* and *noTriggers* timelines (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks authored Oct 2, 2024
1 parent 9dd4fbc commit f39c4b7
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 15 deletions.
8 changes: 4 additions & 4 deletions bin/run-detectors-timelines.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ detDirs=(
helicity
htcc
ltcc
m2_ctof_ftof
# m2_ctof_ftof
rf
rich
trigger
Expand Down Expand Up @@ -243,9 +243,9 @@ if ${modes['focus-all']} || ${modes['focus-timelines']}; then
fth) mv $timelineFile ft/ ;;
rat) mv $timelineFile trigger/ ;;
rftime) mv $timelineFile rf/ ;;
ctof|ftof)
[[ "$timelineFile" =~ _m2_ ]] && mv $timelineFile m2_ctof_ftof/ || mv $timelineFile $det/
;;
# ctof|ftof)
# [[ "$timelineFile" =~ _m2_ ]] && mv $timelineFile m2_ctof_ftof/ || mv $timelineFile $det/
# ;;
*)
if [ -d $det ]; then
mv $timelineFile $det/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ class FTOFFitter_mass {

}

}
}
21 changes: 11 additions & 10 deletions detectors/src/main/java/org/jlab/clas/timeline/run_detectors.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ def engines = [
out_CTOF: [new ctof.ctof_edep(),
new ctof.ctof_time(),
new ctof.ctof_tdcadc(),
new particle_mass_ctof_and_ftof.ctof_m2_pim(),
new particle_mass_ctof_and_ftof.ctof_m2_pip()],
// new particle_mass_ctof_and_ftof.ctof_m2_pim(), // not needed, according to D. Carman
// new particle_mass_ctof_and_ftof.ctof_m2_pip(),
],
out_FT: [new ft.ftc_pi0_mass(),
new ft.ftc_time_charged(),
new ft.ftc_time_neutral(),
Expand All @@ -101,8 +102,8 @@ def engines = [
new ftof.ftof_time_p1a(),
new ftof.ftof_time_p1b(),
new ftof.ftof_time_p2(),
new ftof.ftof_time_noTriggers_p1a(),
new ftof.ftof_time_noTriggers_p1b(),
// new ftof.ftof_time_noTriggers_p1a(), // not needed, according to D. Carman
// new ftof.ftof_time_noTriggers_p1b(),
new ftof.ftof_tdcadc_p1a(),
new ftof.ftof_tdcadc_p1b(),
new ftof.ftof_tdcadc_p2(),
Expand Down Expand Up @@ -131,12 +132,12 @@ def engines = [
new rich.rich_npbar_m()],
out_HELICITY: [new helicity.helicity()],
out_TRIGGER: [new trigger.trigger()],
dst_mon: [new particle_mass_ctof_and_ftof.ftof_m2_p1a_pim(),
new particle_mass_ctof_and_ftof.ftof_m2_p1a_pip(),
new particle_mass_ctof_and_ftof.ftof_m2_p1a_prot(),
new particle_mass_ctof_and_ftof.ftof_m2_p1b_pim(),
new particle_mass_ctof_and_ftof.ftof_m2_p1b_pip(),
new particle_mass_ctof_and_ftof.ftof_m2_p1b_prot()],
// dst_mon: [new particle_mass_ctof_and_ftof.ftof_m2_p1a_pim(), // not needed, according to D. Carman
// new particle_mass_ctof_and_ftof.ftof_m2_p1a_pip(),
// new particle_mass_ctof_and_ftof.ftof_m2_p1a_prot(),
// new particle_mass_ctof_and_ftof.ftof_m2_p1b_pim(),
// new particle_mass_ctof_and_ftof.ftof_m2_p1b_pip(),
// new particle_mass_ctof_and_ftof.ftof_m2_p1b_prot()],
]


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ class ftof_m2_p1b_pim {
def data = new ConcurrentHashMap()

def processDirectory(dir, run) {
if(run == 19692) {
throw new Exception("the fit for run ${run} may stall; this timeline is supposed to be disabled as of Oct. 2nd 2024, but if you see this message, contact the maintainers")
}
def funclist = []
def meanlist = []
def sigmalist = []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ class ftof_m2_p1b_pip {
def data = new ConcurrentHashMap()

def processDirectory(dir, run) {
if(run == 19692) {
throw new Exception("the fit for run ${run} may stall; this timeline is supposed to be disabled as of Oct. 2nd 2024, but if you see this message, contact the maintainers")
}
def funclist = []
def meanlist = []
def sigmalist = []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ class ftof_m2_p1b_prot {
def data = new ConcurrentHashMap()

def processDirectory(dir, run) {
if(run == 19692) {
throw new Exception("the fit for run ${run} may stall; this timeline is supposed to be disabled as of Oct. 2nd 2024, but if you see this message, contact the maintainers")
}
def funclist = []
def meanlist = []
def sigmalist = []
Expand Down

0 comments on commit f39c4b7

Please sign in to comment.