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

Public Member Functions

def __init__ (self, threshold)
 
def set_threshold (self, component, value)
 
def initialize (self)
 
def beginRun (self)
 
def event (self)
 
def terminate (self)
 

Public Attributes

 threshold
 The threshold value to be set.
 
 old_pxd_threshold
 The current pxd threshold value.
 
 old_svd_threshold
 The current svd threshold value.
 
 path
 Filesystem path to the .xml file.
 
 xmlpath
 XML path to the threshold setting.
 

Detailed Description

A utility module to manipulate the threshold on deposited energy
 in PXD and SVD SensitiveDetector.

Definition at line 22 of file SetSensitiveThreshold.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  threshold 
)
Initialize the module

Definition at line 28 of file SetSensitiveThreshold.py.

28  def __init__(self, threshold):
29  """Initialize the module"""
30 
31  super(SetVXDSensitiveThreshold, self).__init__()
32 
33  self.threshold = threshold
34 
35  self.old_pxd_threshold = 0.0
36 
37  self.old_svd_threshold = 0.0
38 
39  self.path = 'data/{comp}/{COMP}.xml'
40 
41  self.xmlpath = 'Content/SensitiveThreshold'
42 

Member Function Documentation

◆ beginRun()

def beginRun (   self)
 Do nothing. 

Definition at line 66 of file SetSensitiveThreshold.py.

◆ event()

def event (   self)
Do nothing.

Definition at line 69 of file SetSensitiveThreshold.py.

◆ initialize()

def initialize (   self)
 Set the required threshold value 

Definition at line 60 of file SetSensitiveThreshold.py.

◆ set_threshold()

def set_threshold (   self,
  component,
  value 
)
 Set the threshold value in PXD or SVD file.

Definition at line 43 of file SetSensitiveThreshold.py.

◆ terminate()

def terminate (   self)
 Set the previuos threshold value 

Definition at line 72 of file SetSensitiveThreshold.py.


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