Belle II Software  release-08-01-10
EventwiseTrackingValidationModule Class Reference
Inheritance diagram for EventwiseTrackingValidationModule:
Collaboration diagram for EventwiseTrackingValidationModule:

Public Member Functions

def __init__ (self, name, contact, output_file_name=None, reco_tracks_name='RecoTracks', mc_reco_tracks_name='MCRecoTracks', expert_level=None)
 
def initialize (self)
 
def pick (self, event_meta_data=None)
 
def peel (self, event_meta_data=None)
 

Public Attributes

 reco_tracks_name
 cached value of the RecoTracks collection name
 
 mc_reco_tracks_name
 cached value of the MCRecoTracks collection name
 
 cdc_hits_name
 cached value of the CDCHits collection name
 
 track_match_look_up
 Reference to the track-match object that examines relation information from MCMatcherTracksModule.
 

Static Public Attributes

int default_expert_level = 10
 the threshold value for the expert level
 
 save_tree
 Save a tree of all collected variables in a sub folder. More...
 
 save_clone_rate
 Save selected hit counters. More...
 

Detailed Description

Module to perform event-by-event tracking validation.
 Expert level behavior:
    expert_level <= default_expert_level: all figures and plots from this module except tree entries
    expert_level > default_expert_level: everything including tree entries

Definition at line 21 of file eventwise_module.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  name,
  contact,
  output_file_name = None,
  reco_tracks_name = 'RecoTracks',
  mc_reco_tracks_name = 'MCRecoTracks',
  expert_level = None 
)
Constructor

Definition at line 32 of file eventwise_module.py.

38  expert_level=None):
39  """Constructor"""
40 
41  output_file_name = output_file_name or name + 'TrackingValidation.root'
42 
43  super().__init__(foreach="EventMetaData", # Dummy for on element per event
44  name=name,
45  output_file_name=output_file_name,
46  contact=contact,
47  expert_level=expert_level)
48 
49 
50  self.reco_tracks_name = reco_tracks_name
51 
52  self.mc_reco_tracks_name = mc_reco_tracks_name
53 
54  self.cdc_hits_name = "CDCHits"
55 

Member Function Documentation

◆ initialize()

def initialize (   self)
Initialization signal at the start of the event processing

Definition at line 56 of file eventwise_module.py.

◆ peel()

def peel (   self,
  event_meta_data = None 
)
Peel information from the event

Definition at line 67 of file eventwise_module.py.

◆ pick()

def pick (   self,
  event_meta_data = None 
)
Always pick

Definition at line 63 of file eventwise_module.py.

Member Data Documentation

◆ save_clone_rate

save_clone_rate
static
Initial value:
= refiners.save_fom(
# using cond to suppress false doxygen warnings
)

Save selected hit counters.

Definition at line 220 of file eventwise_module.py.

◆ save_tree

save_tree
static
Initial value:
= refiners.save_tree(
# using cond to suppress false doxygen warnings
)

Save a tree of all collected variables in a sub folder.

Definition at line 211 of file eventwise_module.py.


The documentation for this class was generated from the following file: