-
Notifications
You must be signed in to change notification settings - Fork 15
ADD: First set of nuclearizer unit tests #150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
da85ced
CHG: First set of nuclearzier unit tests
zoglauer 27040f5
CHG: Removed not used modules from cfg files
zoglauer c76d00f
CHG: Fixed detector names in geometry files
zoglauer 13ccdff
CHG: Unified files names
zoglauer 29c72af
CHG: revan.cfg file name cleanup
zoglauer 3c50fea
CHG: Make sure dat parser sets SetTimeUTC
zoglauer ea2dee8
CHG: Make sure new files are read in
zoglauer 45b24ed
CHG: Ensure UTC time is set in dat file
zoglauer acd50b5
CHG: Fixed suggested by Felix
zoglauer 8392ed2
CHG: Don't keep bad events in the tra file
zoglauer 5825e37
CHG: Cleanup
zoglauer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| <NuclearizerData> | ||
| <Version>1</Version> | ||
| <ModuleSequence> | ||
| <ModuleSequenceItem>XmlTagMeasurementLoaderHDF</ModuleSequenceItem> | ||
| <ModuleSequenceItem>EnergyCalibration</ModuleSequenceItem> | ||
| <ModuleSequenceItem>XmlTagTACcut</ModuleSequenceItem> | ||
| <ModuleSequenceItem>XmlTagStripPairingMultiRoundChiSquare</ModuleSequenceItem> | ||
| <ModuleSequenceItem>DepthCalibration</ModuleSequenceItem> | ||
| <ModuleSequenceItem>XmlTagRevan</ModuleSequenceItem> | ||
| <ModuleSequenceItem>XmlTagEventSaver</ModuleSequenceItem> | ||
| </ModuleSequence> | ||
| <GeometryFileName>$(NUCLEARIZER)/resource/unittestdata/406-1/hp52406-1.simplified.geo.setup</GeometryFileName> | ||
| <ModuleOptions> | ||
| <XmlTagMeasurementLoaderHDF> | ||
| <FileNameHDF5>$(NUCLEARIZER)/resource/unittestdata/406-1/hp52406-1.gse_20260217T124025.hdf5</FileNameHDF5> | ||
| <LoadContinuationFiles>true</LoadContinuationFiles> | ||
| <FileNameStripMap>$(NUCLEARIZER)/resource/unittestdata/406-1/hp52406-1.stripmap.map</FileNameStripMap> | ||
| <IncludeNearestNeighbor>false</IncludeNearestNeighbor> | ||
| </XmlTagMeasurementLoaderHDF> | ||
| <EnergyCalibration> | ||
| <FileName>$(NUCLEARIZER)/resource/unittestdata/406-1/hp52406-1.full.ecal</FileName> | ||
| <SlowThresholdCutMode>1</SlowThresholdCutMode> | ||
| <SlowThresholdCutFixedValue>20</SlowThresholdCutFixedValue> | ||
| <SlowThresholdCutThresholdFileName /> | ||
| <NearestNeighborCutMode>100</NearestNeighborCutMode> | ||
| <NearestNeighborThreshold>-1000</NearestNeighborThreshold> | ||
| </EnergyCalibration> | ||
| <XmlTagStripPairingMultiRoundChiSquare /> | ||
| <DepthCalibration> | ||
| <CoeffsFileName>$(NUCLEARIZER)/resource/unittestdata/406-1/hp52406-1.coeffs.csv</CoeffsFileName> | ||
| <SplinesFileName>$(NUCLEARIZER)/resource/unittestdata/406-1/hp52406-1.splines.csv</SplinesFileName> | ||
| <MaskMetrology>false</MaskMetrology> | ||
| <MaskMetrologyFileName /> | ||
| <UCSDOverride>false</UCSDOverride> | ||
| </DepthCalibration> | ||
| <XmlTagEventSaver> | ||
| <FileName>$(NUCLEARIZER)/resource/unittestdata/406-1/hdf5-to-tra.tra</FileName> | ||
| <Mode>3</Mode> | ||
| <SaveBadEvents>true</SaveBadEvents> | ||
| <SaveVetoEvents>true</SaveVetoEvents> | ||
| <AddTimeTag>false</AddTimeTag> | ||
| <SplitFile>false</SplitFile> | ||
| <SplitFileTime>600</SplitFileTime> | ||
| <RoaWithADCs>true</RoaWithADCs> | ||
| <RoaWithTACs>true</RoaWithTACs> | ||
| <RoaWithEnergies>false</RoaWithEnergies> | ||
| <RoaWithTimings>false</RoaWithTimings> | ||
| <RoaWithFlags>true</RoaWithFlags> | ||
| <RoaWithOrigins>false</RoaWithOrigins> | ||
| <RoaWithNearestNeighbors>true</RoaWithNearestNeighbors> | ||
| </XmlTagEventSaver> | ||
| <XmlTagRevan> | ||
| <RevanConfigurationFileName>$(NUCLEARIZER)/resource/unittestdata/406-1/hp52406-1.revan.cfg</RevanConfigurationFileName> | ||
| </XmlTagRevan> | ||
| <XmlTagTACcut> | ||
| <TACCalFileName>$(NUCLEARIZER)/resource/unittestdata/406-1/hp52406-1.taccal.csv</TACCalFileName> | ||
| <TACCutFileName>$(NUCLEARIZER)/resource/unittestdata/406-1/hp52406-1.taccut.csv</TACCutFileName> | ||
| </XmlTagTACcut> | ||
| </ModuleOptions> | ||
| </NuclearizerData> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.