Skip to content

Commit

Permalink
EventBuilder toolchain to include Beam information (#303)
Browse files Browse the repository at this point in the history
* Delete configfiles/EventBuilder/BeamDecoderConfig

BeamFetcherV2 and BeamQuality tools replace BeamDecoder functionality

* Add files via upload

BeamFetcherV2 device list (currently set to read all of them)

* Update MRDDataDecoderConfig

drop verbose

* Update README.md

* Update ToolsConfig

* Add files via upload
  • Loading branch information
S81D authored Nov 11, 2024
1 parent c2be2f8 commit 2e1e018
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 19 deletions.
17 changes: 0 additions & 17 deletions configfiles/EventBuilder/BeamDecoderConfig

This file was deleted.

1 change: 1 addition & 0 deletions configfiles/EventBuilder/BeamDevices.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BoosterNeutrinoBeam_read
17 changes: 17 additions & 0 deletions configfiles/EventBuilder/BeamFetcherV2Config
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# BeamFetcher config file
verbose 0
#
# File containing one device per line or a bundle
DevicesFile ./configfiles/EventBuilder/BeamDevices.txt
#
# bool stating whether DevicesFile contains bundles or individual devices
IsBundle 1
#
# bool defining how to grab the data (from input times (1) or trigger(0))
FetchFromTimes 0
#
# How much data to pull in one query (set to 1 hr)
TimeChunkStepInMilliseconds 3600000
#
# bool, do you want to write a ROOT file with the timestamps and devices?
SaveROOT 0
13 changes: 13 additions & 0 deletions configfiles/EventBuilder/BeamQualityConfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# BeamQuality config file
verbose 0
#
# POT window for "good" beam
POTMin 5e11
POTMax 8e12
#
# Horn current window for "good" beam (in kA)
HornCurrentMin 172
HornCurrentMax 176
#
# Fractional difference between the upstream and downstream POT measurements
BeamLossTolerance 0.05
2 changes: 1 addition & 1 deletion configfiles/EventBuilder/MRDDataDecoderConfig
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
verbosity 2
verbosity 0
DaylightSavingsSpring 1
4 changes: 3 additions & 1 deletion configfiles/EventBuilder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Description
**********************

The `EventBuilder` toolchain is used to event build for ANNIE. The toolchain reads in RAWData files, time match, and creates processed ANNIEEvents with Tank, CTC, and MRD information (currently no LAPPD information is included). This toolchain consolidated efforts to create an official event building toolchain, and should replace the `DataDecoder` toolchain which is now considered depreciated.
The `EventBuilder` toolchain is used to create ANNIEEvents. The toolchain reads in RAWData files, time match, and creates processed ANNIEEvents with Tank, CTC, MRD, and Beam information (no LAPPD information is included in this toolchain). This toolchain replaces the `DataDecoder` toolchain which is now considered depreciated.

Please consult the following ANNIE wiki page on how to event build: https://cdcvs.fnal.gov/redmine/projects/annie_experiment/wiki/Event_Building_with_ToolAnalysis

Expand All @@ -20,6 +20,8 @@ LoadRawData
PMTDataDecoder
MRDDataDecoder
TriggerDataDecoder
BeamFetcherV2
BeamQuality
PhaseIIADCCalibrator
PhaseIIADCHitFinder
SaveConfigInfo
Expand Down
2 changes: 2 additions & 0 deletions configfiles/EventBuilder/ToolsConfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ LoadRawData LoadRawData ./configfiles/EventBuilder/LoadRawDataConfig
PMTDataDecoder PMTDataDecoder ./configfiles/EventBuilder/PMTDataDecoderConfig
MRDDataDecoder MRDDataDecoder ./configfiles/EventBuilder/MRDDataDecoderConfig
TriggerDataDecoder TriggerDataDecoder ./configfiles/EventBuilder/TriggerDataDecoderConfig
BeamFetcherV2 BeamFetcherV2 ./configfiles/EventBuilder/BeamFetcherV2Config
BeamQuality BeamQuality ./configfiles/EventBuilder/BeamQualityConfig
PhaseIIADCCalibrator PhaseIIADCCalibrator ./configfiles/EventBuilder/PhaseIIADCCalibratorConfig
PhaseIIADCHitFinder PhaseIIADCHitFinder ./configfiles/EventBuilder/PhaseIIADCHitFinderConfig
SaveConfigInfo SaveConfigInfo ./configfiles/EventBuilder/SaveConfigInfoConfig
Expand Down

0 comments on commit 2e1e018

Please sign in to comment.