4import baseConfig
as base
9base.parser.add_argument(
"-w",
"--tracking", type=str, dest=
"tracking",
10 help=
"Which tracking to use to make plots", metavar=
"tracking", default=
"KF")
11options = base.parser.parse_args()
17infile = options.inFilename
18outfile = options.outFilename
24print(
'Input file: %s' % infile)
25print(
'Output file: %s' % outfile)
26print(
'Analysis : %s' % analysis)
31p.skip_events = options.skip_events
32p.max_events = options.nevents
37p.add_library(
"libprocessors")
49mcana.parameters[
"debug"] = 0
50mcana.parameters[
"anaName"] =
"mcAna"
51mcana.parameters[
"partColl"] =
"MCParticle"
52mcana.parameters[
"trkrHitColl"] =
"TrackerHits"
53mcana.parameters[
"ecalHitColl"] =
"EcalHits"
54mcana.parameters[
"analysis"] = analysis
55mcana.parameters[
"histCfg"] = os.environ[
'HPSTR_BASE']+
'/analysis/plotconfigs/mc/beamMC.json'
61p.output_files = [outfile]