From fc0be8c65113a85672b6bf199697c1cda65757aa Mon Sep 17 00:00:00 2001 From: Maria <zurek@anl.gov> Date: Tue, 17 Aug 2021 15:17:49 -0500 Subject: [PATCH] Change cluster names in drawing scripts --- benchmarks/full/options/full_reconstruction.py | 2 +- benchmarks/imaging_ecal/scripts/energy_profile.py | 2 +- benchmarks/imaging_ecal/scripts/epi_separation.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmarks/full/options/full_reconstruction.py b/benchmarks/full/options/full_reconstruction.py index 7a71ad71..c3296890 100644 --- a/benchmarks/full/options/full_reconstruction.py +++ b/benchmarks/full/options/full_reconstruction.py @@ -499,7 +499,7 @@ truth_trk_init = TrackParamTruthInit("truth_trk_init", #vtxcluster_trk_init = TrackParamVertexClusterInit("vtxcluster_trk_init", # inputVertexHits="VertexBarrelRecHits", -# inputClusters="EcalBarrelClusters", +# inputClusters="EcalBarrelImagingClusters", # outputInitialTrackParameters="InitTrackParamsFromVtxClusters", # maxHitRadius=40.0*units.mm) diff --git a/benchmarks/imaging_ecal/scripts/energy_profile.py b/benchmarks/imaging_ecal/scripts/energy_profile.py index a8406f0c..081e79cc 100644 --- a/benchmarks/imaging_ecal/scripts/energy_profile.py +++ b/benchmarks/imaging_ecal/scripts/energy_profile.py @@ -35,7 +35,7 @@ if __name__ == '__main__': parser.add_argument('-e', '--energy', type=float, default=5., dest='energy', help='incident particle energy (GeV)') parser.add_argument('-s', '--save', type=str, default='', dest='save', help='path to save profile') parser.add_argument('-c', '--color', type=str, default='royalblue', dest='color', help='colors for bar plots') - parser.add_argument('-b', '--branch-name', type=str, default='EcalBarrelClustersLayers', dest='branch', + parser.add_argument('-b', '--branch-name', type=str, default='EcalBarrelImagingClustersLayers', dest='branch', help='branch name in the root file (outputLayerCollection from ImagingClusterReco)') parser.add_argument('-m', '--macros', type=str, default='rootlogon.C', dest='macros', help='root macros to load (accept multiple paths separated by \",\")') diff --git a/benchmarks/imaging_ecal/scripts/epi_separation.py b/benchmarks/imaging_ecal/scripts/epi_separation.py index e552f21a..22936ad5 100644 --- a/benchmarks/imaging_ecal/scripts/epi_separation.py +++ b/benchmarks/imaging_ecal/scripts/epi_separation.py @@ -42,7 +42,7 @@ if __name__ == '__main__': parser.add_argument('pifile', type=str, help='path to root file (pions)') parser.add_argument('--prof', type=str, default='profile.csv', help='path to electron profile') parser.add_argument('--plot-dir', type=str, default='./plots', dest='outdir', help='output directory') - parser.add_argument('-b', '--branch-name', type=str, default='EcalBarrelClustersLayers', dest='branch', + parser.add_argument('-b', '--branch-name', type=str, default='EcalBarrelImagingClustersLayers', dest='branch', help='branch name in the root file (outputLayerCollection from ImagingClusterReco)') parser.add_argument('-m', '--macros', type=str, default='rootlogon.C', dest='macros', help='root macros to load (accept multiple paths separated by \",\")') -- GitLab