Skip to content
Snippets Groups Projects
Commit fc0be8c6 authored by Maria Zurek's avatar Maria Zurek
Browse files

Change cluster names in drawing scripts

parent d657fbfc
No related branches found
No related tags found
1 merge request!167Resolve "Clarify EcalBarrel clusters naming in full simulation outputs"
...@@ -499,7 +499,7 @@ truth_trk_init = TrackParamTruthInit("truth_trk_init", ...@@ -499,7 +499,7 @@ truth_trk_init = TrackParamTruthInit("truth_trk_init",
#vtxcluster_trk_init = TrackParamVertexClusterInit("vtxcluster_trk_init", #vtxcluster_trk_init = TrackParamVertexClusterInit("vtxcluster_trk_init",
# inputVertexHits="VertexBarrelRecHits", # inputVertexHits="VertexBarrelRecHits",
# inputClusters="EcalBarrelClusters", # inputClusters="EcalBarrelImagingClusters",
# outputInitialTrackParameters="InitTrackParamsFromVtxClusters", # outputInitialTrackParameters="InitTrackParamsFromVtxClusters",
# maxHitRadius=40.0*units.mm) # maxHitRadius=40.0*units.mm)
......
...@@ -35,7 +35,7 @@ if __name__ == '__main__': ...@@ -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('-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('-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('-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)') help='branch name in the root file (outputLayerCollection from ImagingClusterReco)')
parser.add_argument('-m', '--macros', type=str, default='rootlogon.C', dest='macros', parser.add_argument('-m', '--macros', type=str, default='rootlogon.C', dest='macros',
help='root macros to load (accept multiple paths separated by \",\")') help='root macros to load (accept multiple paths separated by \",\")')
......
...@@ -42,7 +42,7 @@ if __name__ == '__main__': ...@@ -42,7 +42,7 @@ if __name__ == '__main__':
parser.add_argument('pifile', type=str, help='path to root file (pions)') 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('--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('--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)') help='branch name in the root file (outputLayerCollection from ImagingClusterReco)')
parser.add_argument('-m', '--macros', type=str, default='rootlogon.C', dest='macros', parser.add_argument('-m', '--macros', type=str, default='rootlogon.C', dest='macros',
help='root macros to load (accept multiple paths separated by \",\")') help='root macros to load (accept multiple paths separated by \",\")')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment