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
20analysis = options.analysis
23print(
'Input file: %s' % infile)
24print(
'Output file: %s' % outfile)
25print(
'Analysis : %s' % analysis)
30p.skip_events = options.skip_events
31p.max_events = options.nevents
36p.add_library(
"libprocessors")
48mcana.parameters[
"debug"] = 0
49mcana.parameters[
"anaName"] =
"mcAna"
50mcana.parameters[
"partColl"] =
"MCParticle"
51mcana.parameters[
"trkrHitColl"] =
"TrackerHits"
52mcana.parameters[
"ecalHitColl"] =
"EcalHits"
53mcana.parameters[
"analysis"] = analysis
54mcana.parameters[
"histCfg"] = os.environ[
'HPSTR_BASE']+
'/analysis/plotconfigs/mc/basicMC.json'
60p.output_files = [outfile]