Skip to content
Snippets Groups Projects
Commit 74089aa7 authored by Eric Torrence's avatar Eric Torrence
Browse files

Adjust default angle for PG samples, new samples

parent 1f2afc6a
Branches
Tags
1 merge request!245MDC Generation update
{
"file_length": 1000,
"mass": 0.511,
"maxE": 100.0,
"minE": 100.0,
"pid": [-11, 11],
"radius": -20.0,
"angle": 0.001,
"run": 101104,
"sampler": "const",
"segment": 0,
"short": "MDC_PG_elec_100GeV",
"zpos": -1000.0
}
{
"file_length": 1000,
"mass": 0.511,
"maxE": 200.0,
"minE": 200.0,
"pid": [-11, 11],
"radius": -100.0,
"run": 101106,
"sampler": "const",
"segment": 0,
"short": "MDC_PG_elec_200GeV",
"zpos": -1000.0
}
{
"file_length": 1000,
"mass": 0.511,
"maxE": 50.0,
"minE": 50.0,
"pid": [-11, 11],
"radius": -100.0,
"run": 101105,
"sampler": "const",
"segment": 0,
"short": "MDC_PG_elec_50GeV",
"zpos": -1000.0
}
{
"file_length": 2000,
"mass": 105.66,
"maxE": 100.0,
"minE": 100.0,
"pid": [-13, 13],
"radius": -20.0,
"angle": 0.001,
"run": 101304,
"sampler": "const",
"segment": 0,
"short": "MDC_PG_muon_100GeV",
"zpos": -1000.0
}
...@@ -32,7 +32,7 @@ def faserMDC_pgparser(): ...@@ -32,7 +32,7 @@ def faserMDC_pgparser():
help="Specify particle mass (in MeV)") help="Specify particle mass (in MeV)")
parser.add_argument("--radius", default=100., type=float, parser.add_argument("--radius", default=100., type=float,
help="Specify radius (in mm)") help="Specify radius (in mm)")
parser.add_argument("--angle", default=0.015, type=float, parser.add_argument("--angle", default=0.005, type=float,
help="Specify angular width (in Rad)") help="Specify angular width (in Rad)")
parser.add_argument("--zpos", default=None, type=float, parser.add_argument("--zpos", default=None, type=float,
help="Specify z position of particles (in mm) (helpful to avoid FASERnu)") help="Specify z position of particles (in mm) (helpful to avoid FASERnu)")
......
...@@ -50,7 +50,7 @@ if __name__ == '__main__': ...@@ -50,7 +50,7 @@ if __name__ == '__main__':
# #
# All these must be specified to avoid auto-configuration # All these must be specified to avoid auto-configuration
# #
ConfigFlags.Input.RunNumber = [args.run] #Isn't updating - todo: investigate ConfigFlags.Input.RunNumber = [args.run]
ConfigFlags.Input.OverrideRunNumber = True ConfigFlags.Input.OverrideRunNumber = True
ConfigFlags.Input.LumiBlockNumber = [(args.segment+1)] ConfigFlags.Input.LumiBlockNumber = [(args.segment+1)]
ConfigFlags.Input.isMC = True ConfigFlags.Input.isMC = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment