ATLAS Offline Software
Loading...
Searching...
No Matches
python.JetAnalysisConfig._JvtWorkingPointBase Class Reference
Inheritance diagram for python.JetAnalysisConfig._JvtWorkingPointBase:
Collaboration diagram for python.JetAnalysisConfig._JvtWorkingPointBase:

Public Member Functions

 __init__ (self)
 instanceName (self)
 workingPoint (self)
 suffix (self)

Protected Attributes

 _wpOption

Detailed Description

common base for the Jvt and fJvt working point config blocks

The concrete blocks combine one of these bases with a parameter class
(`_NNJvtParameters` or `_FJvtParameters`).

Definition at line 935 of file JetAnalysisConfig.py.

Constructor & Destructor Documentation

◆ __init__()

python.JetAnalysisConfig._JvtWorkingPointBase.__init__ ( self)

Definition at line 941 of file JetAnalysisConfig.py.

941 def __init__ (self) :
942 super().__init__()
943 self.setBlockName(self.__class__.__name__)
944 self.addOption ('containerName', '', type=str,
945 noneAction='error',
946 info="the name of the input container.",
947 meta={'role':'containerRef'})
948 self.addOption ('selectionName', '', type=str,
949 noneAction='error',
950 info="the name of the jet selection to define (e.g. `tight` or `loose`).",
951 meta={'role':'selection'})
952 self.addOption (self._wpOption, '', type=str,
953 noneAction='error',
954 info=self._wpInfo,
955 meta={'choices':(self._wpChoices,1)})
956 self.addOption ('useSuffix', True, type=bool,
957 info="whether the working point name is to be used as suffix ."
958 "Not to be disabled if multiple working points are scheduled.")
959

Member Function Documentation

◆ instanceName()

python.JetAnalysisConfig._JvtWorkingPointBase.instanceName ( self)

Definition at line 960 of file JetAnalysisConfig.py.

960 def instanceName (self) :
961 return self.containerName + '_' + self.selectionName
962

◆ suffix()

python.JetAnalysisConfig._JvtWorkingPointBase.suffix ( self)

Definition at line 966 of file JetAnalysisConfig.py.

966 def suffix (self) :
967 return f"_{self.workingPoint()}" if self.useSuffix else ""
968
969

◆ workingPoint()

python.JetAnalysisConfig._JvtWorkingPointBase.workingPoint ( self)

Definition at line 963 of file JetAnalysisConfig.py.

963 def workingPoint (self) :
964 return getattr(self, self._wpOption)
965

Member Data Documentation

◆ _wpOption

python.JetAnalysisConfig._JvtWorkingPointBase._wpOption
protected

Definition at line 952 of file JetAnalysisConfig.py.


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