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

Public Member Functions

def __init__ (self, name, contact=None, checkObj='RecoTracks', output_file_name='flip-refit-MVA1.root')
 
def initialize (self)
 
def prepare (self)
 
def pick (self, recoTrack)
 
def peel (self, recoTrack)
 

Public Attributes

 checkObj
 Name of the Obj to be picked.
 
 mcRecoTracks
 Name of the StoreArray of the mc tracks.
 
 track_match_look_up
 Reference to the track match lookup object reading the relation information.
 
 outputname
 Name of the output file.
 

Static Public Attributes

 save_tree = refiners.save_tree(name="data")
 save a tree of all the collected variables
 

Detailed Description

 A dedicated module to save the variables using in flipping steps

Definition at line 19 of file savingFlippingVariables.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  name,
  contact = None,
  checkObj = 'RecoTracks',
  output_file_name = 'flip-refit-MVA1.root' 
)
Constructor

Definition at line 22 of file savingFlippingVariables.py.

22  def __init__(self, name, contact=None, checkObj='RecoTracks', output_file_name='flip-refit-MVA1.root'):
23  """Constructor"""
24  super().__init__(foreach=checkObj, name=name, contact=contact, output_file_name=output_file_name)
25 
26 
27  self.checkObj = checkObj
28 
29 
30  self.mcRecoTracks = "MCRecoTracks"
31 
32 
33  self.track_match_look_up = None
34 
35 
36  self.outputname = output_file_name
37 

Member Function Documentation

◆ initialize()

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

Definition at line 38 of file savingFlippingVariables.py.

◆ peel()

def peel (   self,
  recoTrack 
)
store the information for each recoTrack

Definition at line 58 of file savingFlippingVariables.py.

◆ pick()

def pick (   self,
  recoTrack 
)
pick every recoTrack

Definition at line 54 of file savingFlippingVariables.py.

◆ prepare()

def prepare (   self)
preparation at the start of each event.
   make sure the checkObj exist

Definition at line 45 of file savingFlippingVariables.py.


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