From 29969e31de64379cb096456401815f724db6e507 Mon Sep 17 00:00:00 2001 From: jminock Date: Tue, 26 Nov 2024 13:46:41 -0500 Subject: [PATCH] Added config files for MuonFitter to CC_MC_RECO_ntuple Toolchain (#294) Co-authored-by: James Minock --- .../CC_MC_RECO_ntuple/MuonFitterConfig | 33 +++++++++++++++++++ .../CC_MC_RECO_ntuple/PhaseIITreeMakerConfig | 1 + configfiles/CC_MC_RECO_ntuple/ToolsConfig | 3 +- 3 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 configfiles/CC_MC_RECO_ntuple/MuonFitterConfig diff --git a/configfiles/CC_MC_RECO_ntuple/MuonFitterConfig b/configfiles/CC_MC_RECO_ntuple/MuonFitterConfig new file mode 100644 index 000000000..69465ed64 --- /dev/null +++ b/configfiles/CC_MC_RECO_ntuple/MuonFitterConfig @@ -0,0 +1,33 @@ +verbosity 0 + +OutputFile MC_MuonFitter_Reco_2998.root +IsData 0 # 1:is data, not MC; 0:not data, is MC +LuxArea 506.7 # 10-inch R7081 Hamamatsu +EtelArea 613.1 # 11-inch D784UKFLB ETEL +HamamatsuArea 324.3 # 8-inch R5912-100 Hamamatsu +WatchboyArea 506.7 # 10-inch R7081 Hamamatsu +WatchmanArea 506.7 # 10-inch R7081-100 Hamamatsu +PMTMRDOffset 0 # delay btwn tank and MRD PMTs +StepSizeAi 15 # some distance muon travels [cm] +InsideAngle 1. # degrees added to Cherenkov angle for hits to be considered inside cone +OutsideAngle 9. # degrees added to Cherenkov angle for hits to be considered outside cone +PMTChargeThreshold 2 # minimum amount of charge seen by PMT +EtaThreshold 500 # threshold to find best vertex +DisplayTruth 0 # display truth information in graphs (only in MC) +RecoMode 0 # run tool after fitting tank track +AiEtaFile ev_ai_eta_R0.0.txt +#TankTrackFitFile /exp/annie/app/users/jhe/MyToolAnalysis_MFer/fitbyeye_wcsim_2000-2999_RNN_240525v1.txt +#TankTrackFitFile fitbyeye_wcsim_2000-2999_RNN_240525v1.txt +TankTrackFitFile tanktrackfitfile_r0.0_RNN.txt + +UseNumLayers 1 # Updates reco track length in MRD using number of layers +UsePCA 0 # Updates reco track length in MRD using number of layers and PCA-reconstructed track angle (set UseNumLayers 1) +UseConnDots 0 # Updates reco track length in MRD by connecting the MRD hits +UseELoss 0 # Use official ANNIE MRD energyLoss as starting MRD energy +UseSimpleEReco 0 # Just add ANNIE MRD energyLoss (set UseELoss 1); no updating dEdx +RecoEnergyShift 0 # Shift reco muon energy + +Plot3D 0 # 0:no plot; 1:yes plot +Draw3DFMV 0 +Draw3DMRD 0 +SaveHistograms 0 # 0:no; 1:yes diff --git a/configfiles/CC_MC_RECO_ntuple/PhaseIITreeMakerConfig b/configfiles/CC_MC_RECO_ntuple/PhaseIITreeMakerConfig index 710811c4c..a6c6c09b1 100644 --- a/configfiles/CC_MC_RECO_ntuple/PhaseIITreeMakerConfig +++ b/configfiles/CC_MC_RECO_ntuple/PhaseIITreeMakerConfig @@ -14,6 +14,7 @@ TankReco_fill 1 SimpleReco_fill 1 RingCounting_fill 1 Reweight_fill 1 +MuonFitter_fill 1 OutputFile PhaseIITree_0.0.0.root #NumEventsWritten 2000 diff --git a/configfiles/CC_MC_RECO_ntuple/ToolsConfig b/configfiles/CC_MC_RECO_ntuple/ToolsConfig index b9c149c24..e0c6ea660 100644 --- a/configfiles/CC_MC_RECO_ntuple/ToolsConfig +++ b/configfiles/CC_MC_RECO_ntuple/ToolsConfig @@ -17,6 +17,7 @@ myRingCounting PythonScript configfiles/CC_MC_RECO_ntuple/RingCountingConfig #myVtxSeedGenerator VtxSeedGenerator #myVtxSeedFineGrid VtxSeedFineGrid #myVtxExtendedVertexFinder VtxExtendedVertexFinder -mySimpleReconstruction SimpleReconstruction configfiles/CC_MC_RECO_ntuple/SimpleReconstructionConfig +#mySimpleReconstruction SimpleReconstruction configfiles/CC_MC_RECO_ntuple/SimpleReconstructionConfig +myMuonFitter MuonFitter configfiles/CC_MC_RECO_ntuple/MuonFitterConfig myPhaseIITreeMaker PhaseIITreeMaker configfiles/CC_MC_RECO_ntuple/PhaseIITreeMakerConfig