Skip to content
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

Add workflow for PMT data reconstruction #559

Draft
wants to merge 24 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
7f9cf23
Use SER from data
asanchezcastillo Sep 13, 2024
913a8cd
Add SER normalization
asanchezcastillo Oct 1, 2024
1be7ff6
Add fcl to run with data
asanchezcastillo Oct 1, 2024
ca8a4d5
Add peak normalization from data
asanchezcastillo Oct 1, 2024
4d22f93
Separate Data and MC tools
asanchezcastillo Oct 11, 2024
803a3a0
Fix typo
asanchezcastillo Oct 11, 2024
3fe91ca
Fix diig file path
asanchezcastillo Oct 11, 2024
738bfae
Read noise filter parameters from file
asanchezcastillo Oct 30, 2024
c2fd2a5
Fix memory leak
asanchezcastillo Oct 30, 2024
ebb769e
Modify ophitfinder fcl to run on data
asanchezcastillo Oct 30, 2024
a7a51f2
Renaming
asanchezcastillo Oct 30, 2024
86e0bca
Fix fcl for running whole reco chain
asanchezcastillo Oct 30, 2024
c956851
Update root file with latest noise characterization
asanchezcastillo Oct 30, 2024
4b560a7
Remove cout
asanchezcastillo Oct 31, 2024
5cb6105
Add frequency cutoff option
asanchezcastillo Nov 14, 2024
e85d64d
Merge branch 'develop' into feature/acastill_opdeco_data
asanchezcastillo Nov 14, 2024
966fba3
Fix couts
asanchezcastillo Nov 14, 2024
ef884ad
Fix couts
asanchezcastillo Nov 14, 2024
5a69777
Undo unneccessary changes
asanchezcastillo Nov 14, 2024
b0619a4
Undo unneccessary changes
asanchezcastillo Nov 14, 2024
e37b776
Undo unneccessary changes
asanchezcastillo Nov 14, 2024
d9b7f91
Undo unneccessary changes
asanchezcastillo Nov 14, 2024
ea402c0
Undo unneccessary changes
asanchezcastillo Nov 14, 2024
5565768
Undo unneccessary changes
asanchezcastillo Nov 14, 2024
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
54 changes: 54 additions & 0 deletions sbndcode/OpDetAnalyzer/PDSAnalyzer/job/run_sbndpds_ana_data.fcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
#include "services_sbnd.fcl"
#include "simulationservices_sbnd.fcl"
#include "messages_sbnd.fcl"
#include "sam_sbnd.fcl"
#include "SBNDPDSAna_config.fcl"

process_name: SBNDPDSAnaData

services:
{
TFileService: { fileName: "opana_tree.root" }
@table::sbnd_basic_services
@table::sbnd_simulation_services
ParticleInventoryService: @local::sbnd_particleinventoryservice
BackTrackerService: @local::sbnd_backtrackerservice
ParticleInventoryService: @local::standard_particleinventoryservice
}

source:
{
module_type: RootInput
maxEvents: -1 # Number of events to create
}

physics:
{

analyzers:
{
opanatree: @local::sbndPDSAna
}

ana: [opanatree]
end_paths: [ana]
}

physics.analyzers.opanatree.SaveRawWaveforms: true
physics.analyzers.opanatree.SaveOnlyStampTime: true
physics.analyzers.opanatree.SaveDeconvolvedWaveforms: false
physics.analyzers.opanatree.SaveMCTruth: "false"
physics.analyzers.opanatree.SaveMCParticles: "false"
physics.analyzers.opanatree.SaveSimPhotons: "false"
physics.analyzers.opanatree.SaveSimPhotonsArrivalTimes: "false"
physics.analyzers.opanatree.SaveOpFlashes: "true"
physics.analyzers.opanatree.MCTruthModuleLabel: [""]
physics.analyzers.opanatree.MCModuleLabel: ""
physics.analyzers.opanatree.SimPhotonsModuleLabel: ["", ""]
physics.analyzers.opanatree.RawWaveformsModuleLabel: "pmtdecoder:PMTChannels"
physics.analyzers.opanatree.OpFlashesModuleLabel: ["opflashtpc0","opflashtpc1"]
physics.analyzers.opanatree.HitsLabel: ""
physics.analyzers.opanatree.Reco2Label: ""
physics.analyzers.opanatree.CosmicIdModuleLabel: ""
physics.analyzers.opanatree.OpT0FinderModuleLabel: ""
physics.analyzers.opanatree.SimpleFlashMatchModuleLabel: ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#include "run_sbndpds_ana_data.fcl"

physics.analyzers.opanatree.SaveRawWaveforms: "true"
physics.analyzers.opanatree.SaveOnlyStampTime: "false"
physics.analyzers.opanatree.SaveDeconvolvedWaveforms: "true"
2 changes: 2 additions & 0 deletions sbndcode/OpDetReco/OpDeconvolution/Alg/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ set(
)

cet_build_plugin(OpDeconvolutionAlgWiener art::tool SOURCE OpDeconvolutionAlgWiener_tool.cc LIBRARIES ${TOOL_LIBRARIES})
cet_build_plugin(OpDeconvolutionAlgWienerData art::tool SOURCE OpDeconvolutionAlgWienerData_tool.cc LIBRARIES ${TOOL_LIBRARIES})


install_headers()
install_fhicl()
Expand Down
Loading