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

Public Member Functions

def __init__ (self, name, contact=None, checkObj='RecoTracks', output_file_name='flip-refit-MVA2.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 18 of file savingFlippingVariablesFor2ndMVA.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 21 of file savingFlippingVariablesFor2ndMVA.py.

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

Member Function Documentation

◆ initialize()

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

Definition at line 37 of file savingFlippingVariablesFor2ndMVA.py.

◆ peel()

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

Definition at line 57 of file savingFlippingVariablesFor2ndMVA.py.

◆ pick()

def pick (   self,
  recoTrack 
)
pick every recoTrack

Definition at line 53 of file savingFlippingVariablesFor2ndMVA.py.

◆ prepare()

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

Definition at line 44 of file savingFlippingVariablesFor2ndMVA.py.


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