Belle II Software
release-08-01-10
|
Public Member Functions | |
def | __init__ (self, filename) |
def | initialize (self) |
def | event (self) |
def | terminate (self) |
Public Attributes | |
svdSPs | |
StoreArray of SVDSpacePoints. | |
svdclusters | |
StoreArray of SVDClusters. | |
svdstrips | |
StoreArray of SVDShaperDigits. | |
svdZS5strips | |
StoreArray of ZS5 SVDShaperDigits. | |
tracks | |
StoreArray of Tracks. | |
svd_sps | |
array storing the number of SVDSpacePoints | |
svd_clusters | |
array storing the number of SVDClusters | |
svd_strips | |
array storing the number of SVDShaperDigits | |
svd_ZS5strips | |
array storing the number of ZS5 SVDShaperDigits | |
svd_tracks | |
array storing the number of tracks | |
output_file_name | |
Name of the output file. | |
tfile | |
Will host the pointer to the opened TFile later. | |
statistics | |
Will host the TTree later. | |
event_number | |
The columns to store the event number. | |
ttree_inputs | |
The columns for the statistics TTree (they will be filled in the event function). | |
last_time_sum | |
Last recored sum of event calls for all modules. | |
branches_added | |
A flag to indicate that we have already added the Branches to the TTree (which we will do in the first event) | |
event_meta_data | |
The event meta data. | |
a basf2 python module to export all module time statistics (PerEventStatisticsGetterModule) + number of SVDSpacePoints, SVDClusters, SVDShaperDigits and SVDSHaperDigitsZS5 into a ROOT TTree written to a file.
Definition at line 30 of file executionTime_utils.py.
def __init__ | ( | self, | |
filename | |||
) |
creates the module @param filename: name of the rootfile where the TTree is written.
Reimplemented from PerEventStatisticsGetterModule.
Definition at line 37 of file executionTime_utils.py.
def event | ( | self | ) |
event
Reimplemented from PerEventStatisticsGetterModule.
Definition at line 89 of file executionTime_utils.py.
def initialize | ( | self | ) |
Create the needed store object pointer in the DataStore and the TFile with the TTree.
Reimplemented from PerEventStatisticsGetterModule.
Definition at line 54 of file executionTime_utils.py.
|
inherited |
Write out the merged statistics to the ROOT file. This should only be called once, as we would end up with different versions otherwise.
Definition at line 130 of file per_event_statistics.py.