hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
rootNtuple_example.py
Go to the documentation of this file.
1import HpstrConf
2import sys
4
5# Library containing processors
6p.add_library("libprocessors")
7
8#Processors
9
10#event = HpstrConf.Processor('event' ,'HPSEventProcessor')
11clusters = HpstrConf.Processor('clusters', 'ClusterOnTrackProcessor')
12
13p.sequence = [clusters]
14#p.input_files = ["testRun.root"]
15#p.input_files = ["/Users/Pierfrancesco/HPS/dataFiles/MC19/tritrig/total_tritrig_hipsterNtuples_2019.root"]
16p.input_files = ["/Users/Pierfrancesco/HPS/sw/hipster/run/hps_10494.root"]
17p.output_files = ["testHistograms.root"]
18#p.max_events = 10
19p.printProcess()
Process python class.
Definition HpstrConf.py:20
Processor python class.
Definition HpstrConf.py:4